yireo/Yireo_GoogleTagManager2

Event Parameters: Undefined

carmecirera opened this issue · 4 comments

Hello,

A few days ago I installed the extension and I can't receive the purchases.

With the preview option I can see that the code/container is executed, but the event variables appear as "undefined".

I have checked everything and it seems that the configuration in Tag Manager, GA4 and Magento is correct.

Clicking here you can see an screenshot.

Can you help me with this problem? Thank you!

Carme.

Did you configure everything as outlined here: https://github.com/yireo/Yireo_GoogleTagManager2/blob/master/TUTORIAL.md ? It seems the variables are missing.

Yes, I have used the tutorial for the configuration.

Clicking here you can see a screenshot of the configuration.

Thanks for the help.

What you could do to further troubleshoot this is to install a browser extension like the Datalayer Checker and inspect what kind of data are sent in the data layer to your Google Tag Manager console. With that, you can see if the data in the actual JS event sent by this extension contains data or not. If not, this makes it an issue of this extension, which is not reported yet by anyone else though. If it is, then it proofs that something goes wrong in your GTM configuration that forwards data again to GA. With that last part, you probably need to ask a GTM configuration expert, not a Magento programmer :)

I'm closing this due to lack of activity.