From my understanding, I set up GTM tags (stape alters them a bit) and install on my site. The tags collect the data and send it to stape, which then does some magic and forwards it on to GA4.
Assuming I’m correct, as I use the google tag assistant, it sees my tags, my tags fire, but the hits are never sent to GA (which is confirmed with GA debug view). I know I have the correct GA measurement ID. Whether it’s in the correct place, I believe so.
In my web GTM I have two tags:
Google tag with an All Page Views trigger
This as my custom domain that stape knows about as server_container_url and event_id, and the tag id is the GA4 streamId
GA: GA4 Event tag with All Page Views trigger
and for good measure as I try to debug, the container has an All Page Views trigge (DOM Ready).
This has as the Measurement id the GA4 stream_id as well.
Oh, sorry, didn’t see that.
Do you see in the browser network that requests are being sent to the url you are using for the gateway?
Have you added a JS snippet to the site? Can you provide the url of the site where you set it up so I can see it?
Request URL:
https://5stars.rateyoursupplements.com/ecwlomybo.js?6x1kkkcm=Jmw9c3RhcnJhdGluZ3M%3D&page=3
GET
Status Code: 200 OK
Remote Address: [2600:1900:4000:beb4:8000::]:443
Referrer Policy: strict-origin-when-cross-origin
Thank you, everything looks correct. You definitely need to remove the ‘server_container_url’ parameter from the gtag configuration. In the case of using gtag GW this may conflict. This is most likely the reason for your problem.
But can you also please show screenshots of your google tag and GA4 tag settings in the container?
We just now debugged it. We had configured the “Datalayer Variable Name” in the Stape dashboard, so in the generated code it was outputing
n="customName"
We cleared that value in the dashboard, regenerated the code and the n var became “dataLayer” so we updated our code with that default value for ‘n’ and it’s working.
It only makes sense to use this if you are pushing data/events into a different object than the standard dataLayer. In that case, the stanadart automatic events will be sent there as well.