Open vasfvitor opened 3 years ago
Web: Tag Status
Hi, I'm trying to setup as suggested but I'm getting this situation:
This tag on the 1st image is on the WEB and is set to fire when DOM Ready, but it shows "Firing status: Failed". I have tried disabling all other tags and testing another triggers. The browser console shows "Cross-Origin Read Blocking (CORB)" to my gtm.mydomain.com/fb
In the SERVER, I downloaded and installed the Adsmurai Client and Tag and it shows succeeded.
The data from the WEB seems to be reaching the server, the Adsmurai Client status shows "claimed" (I'm using /fb in the cliente too)
I'm not sure if this (Status: Failed) is a problem or not.
Server: Tag Status
Server: Cliente Status
Thanks.
Hi @vasfvitor! :)
Yes, this is a known issue. Everything is correctly set up and even Facebook's Events Manager shows that it's receiving the events, but still, the GTM debugger shows that the web tag "Failed" when firing.
The problem is in this line of code. Here is where I send the event to the server, and if the call to the server succeeds, it will call to gtmOnSuccess()
. If it fails, it will call gtmOnFailure()
. The first call will make the debugger show "Succeeded", and the other one "Failed". But, somehow, gtmOnFailure()
gets always called, even though the events are working correctly. I'm not sure if it's a bug on GTM's end or on my code. I've already investigated it but without luck.
If you have any suggestion or idea on how to keep investigating this issue, just let me know and I'll have a look :) Either way, you can just ignore this "Failed" label. If Facebook's Events Manager says it's receiving data, or if the debugger in the GTM server says Facebook is replying with a code 200, you are safe.
Thanks!
Oh my, thanks, then it's working fine, the debugger is showing code 200 and FB Event Manager is ok. I have no suggestion or idea yet.
Hi @Slaventuss and all!
I'm sorry for my late reply, I didn't receive any notification that you opened this issue and I just stumbled into it by sheer luck.
@vasfvitor nailed it, though I have some things to add. Let's see the process step by step:
I hope this clears the path a little bit. Anything else, let me know :)
Originally posted by @angelbt91 in https://github.com/Adsmurai-Google-Tag-Manager-Templates/adsmurai-facebook-conversions-api-tag/issues/1#issuecomment-863964295