I have set up AWIN Server Tag (Stape).
In AWIN I get a “critical issue”, but I don’t understand the problem.
How can I set the Server-to-Server cookie, AWIN wants?
It says: Issues with the Server-to-Server Cookie The first-party cookie for Server-to-Server tracking could not be found. If this transaction came via an affiliate link, please make sure that the Server-to-Server cookie is set. (Ignore this if the transaction didn’t come via an affiliate link.)
I can see there is a outgoing request to set a cookie with {server_container_url} instead of a value.
Could that be connected to this topic and could that be a problem?
When you check this do you have the ‘awc’ parameter in the url? In other words do you have an awin click id that should be set in the cookie?
Have you checked if you have an awin_awc cookie?
The server tag sets the ‘awin_awc’ cookie when triggered in page view mode and there is an ‘awc’ query in the page_location or page_referrer parameter.
So there may be a problem in your case:
a) no hit is coming to the server or the tag is not triggered in page view format when the url has awc parameter.
b) you are not using a first party subdomain and the cookie cannot be set because of this.
Somehow I could fix it by updating the old cHTML tags of the web container (now using the EdinCuturic tag templates as explained here: https://www.youtube.com/watch?v=YBVx8CX_fmQ)
So it seems like the problem was coming from the server tag, but the server tag was not getting the awin_awc value. Although I don’t know what the problem was.
You probably only have a cookie being sent with the web event, so you definitely need to sort this out and make sure the ‘awin_awc’ cookie is set (the web tag sets a different cookie).
Are you using a first party subdomain for sGTM?
Everything looks normal from your screenshots. There should be no outgoing requests in the page_view work format, it just sets the cookie if there is awc in the url.
Can you check the outgoing hit on the conversion event?