I’m back today with what will probably be another newbie question.
For info; Piwik is implemented via Google TagManager, according to this tutorial.
I have setup an E-Commerce Tracking Tag via the Piwik TagManager which is triggered by the ‘purchase’ event I also use to log conversions in GA3 via GTM (without any problems). Here’s the Tag & Trigger setup:
Now, I already know that I need to work on my variables as nested dataLayer (as explained here) is not supported by Piwik. But this isn’t the problem for now.
The main issue is that the E-Commerce Tag doesn’t even fire in the first place, despite using the same trigger event as the Tags I deploy via GTM, which all work without issues.
I have no idea what causes this. When I do a test purchase everything tracks fine via GA3 / GTM Debug view, but Piwik does not even register the event.
Any input would be greatly appreciated! Thanks in advance
I just dug a little deeper and noticed that Piwik does track the event, but doesn’t identify it as a ‘purchase’ event. Event number 14 with no name contains the purchase dataLayer:
I will have to ask one of our engineers, unfortunately they are all deadly busy. If it is indeed implemented via gtag, would switching to dataLayer.push solve the issue?
Yes, since we fully support dataLayer push. On our end we’ll research if we could support also the structure created after pushing via gtag, but it’s not something that can be done quickly.