davidkrogstrup
Forum Replies Created
-
@franz92 Hmm, this issue only seems to get weirder and weirder…
I′ve talked with my clients webdeveloper and currently the cache plugin of the site (which is Litespeed) is not even activated on the site.
So something else must trigger this problem… ??
I agree that my problem points in the direction of some sort of cache issue.
But still, my problem is not isolated to pages like cart and checkout – but seems to be present on ALL ecom pages on the site, including category and product pages.
How would you recommend me going forward here… should I ask my clients webdeveloper to try and change to another cache plugin?
You are right… it wasn′t that I had selected all options under “Basic Data > Posts” that suddenly made the ecom data work correctly.
I′ve just discovered that whenever I′m logged into WordPress backed while testing, then all ecom events works just fine. But as soon as I logout of WordPress no ecom data is received in the GA3 ecom events.
Could this be caused by some page cache plugin, that is automatically disabled while someone is logged into WordPress?
@duracelltomi I think I have found the source of the bug…
On this page – https://www.screencast.com/t/wQP3AjjhFys – I had previously unchecked all options, because I didn′t need any of them.
But I have earlier on another instance had a problem, when unchecking all these options… so I had the idea to try and select them all.
And after changing this, now I seem to get ecom data with all my ecom events for GA3.
Does this make any sense to you?
PS: I have not updated to the new version!
Yes, I should be able to install a dev version of GTM4WP on the https://bof.octotest.dk site.
@duracelltomi Are you still planning to look further into this issue and try to solve it… or should I try to find another solution? ??
Hi @rseegelken
Thanks for your comment. I am using the “Google Tag Manager for WordPress” plugin, which I believe is generating both the gtm4wp.orderCompletedEEC (for GA3) and purchase (for GA4) events.
It actually seems that not only the GA3 transaction event is missing the ecommerce data, but that all the GA3 ecom events are missing the ecom data.
Fortunately, the author of the plugin (@duracelltomi) has kindly offered to look into this issue… ??
@ludyamano Thanks a lot for sharing this information!
I′m not quite sure how you created the new variable for the ecommerce object from datalayer. Could you share some more information on this… or maybe a screenshot?
Thanks again ??
Thanks for the update and for the time you are investing into this. I really appreciate it a lot ??
Hi Thomas,
Have you had a chance to look further into my issue?
Hi Thomas,
Sure, you can easily place a test-order on https://bof.octotest.dk without using a real credit card.
When you reach the payment page, just click this link:
Then you′ll be able to select a test credit card and complete the order.
Hi Thomas,
Sounds great – thanks a lot.
Let me know if you need any other information in order to debug this issue.