Everything but transaction is working
-
Hi!
Have problems that transaction not showing since 2 weeks ago. Don’t know if it has something todo with Klarna Checkout plugin or not. Everything except fΓΆr transaction is working. Wh at could be the issue here?Any help appreciated!
//Tobias
The page I need help with: [log in to see the link]
-
Hi Tobias,
GTM4WP was not updated in the past 2 weeks so I would say it might be something related to another plugin, perhaps Klarna.
I have a dedicated test site for Klarna: https://klarna.gtm4wp.dev/
Here I am using the latest version of WordPress, WooCommerce and Klarna. Only Woo 4.1 is not yet installed but it was released just 2 days ago and I do not see anything in the changelog that could have any impact on GTM4WP.You can use the my dev site to test Klarna+WooCommerce using the test card(s) of Klarna. I just re-tested this and for me, the data layer included the proper data on the order received page.
Hi again!
Does it matter if my “message” are on the 4:th place? See attached?
Can’t make it to work. π
https://drive.google.com/file/d/1jU7-t6bKe8tc7kf1Bdm1WHfq2j4WGRQF/view?usp=sharing
This is strange: using GTM4WP you should see a gtm4wp.orderCompletedEEC event in the 1st place.
But anyway: if you see this, you need to make sure that your page view tag is firing on a “DOM ready” trigger instead of the “All pages” or any “Page View” type trigger.
That’s the most strange part that I don’t have any events called gtm4wp.orderCompletedEEC.
How come?
I attached the DOM trigger at least.
And this is not the only strange thing on your site: the GTM container code is inserted twice. I assume that one of that is injected by GTM4WP but I do not see how is the second container code added.
You think thats the case here? If I could find the other GTM container it should work?
Or is there any other reason that I dont have gtm4wp.orderCompletedEEC?
I think there will be another reason but eliminating all issues one by one could move us to the right direction
I think it is solved!
Just had to clean very much! π
But still there is no gtm4wp.orderCompletedEEC. This seems relevant but how come I don’t have this one?
Hi again!
It looks like its working now. But still haven’t seen gtm4wp.orderCompletedEEC fired even once. Even though it tracks transactions in Analytics.
But now for some reason one transaction have been tracked 4 times. Its on desktop and first it was 2 the same day. After that it was one the day after and the fourth was 3 days after.
Any clues why this could happen?
Normally, GTM4WP flags every order as being tracked so that when the same user revisits the order received page for a specific order, it does not get tracked multiple times.
This has a prevention system in the backend so that protection is active regardless of the used device and browser but there is also a frontend protection especially for mobile devices.
I am not sure why this is not working in your case.
Are you sure there is no other GTM/GA related plugin active on your site that could send the transaction data instead of GTM4WP?
This is really strange! I can’t find any other tracking. These are my tags and that seems ok.
I have some more questions.
In this guide you never mention gtm4wp.orderCompletedEEC.
Is that correct?Should I check this box? Because at the moment I get same transaction everyday now. One transaction is stuck and firing everyday at a specific time. 8pm. This is so strange. I had a long talk with Google today and they had no clue.
As said before I really appreciate all help!
The guide is not including gtm4wp.orderCompletedEEC because it is essentially not needed. It was introducted in the early versions of GTM4WP for cases that does not happen anymore however many professionals rely on that event for their custom implementations. Due to that, I did not remove this event.
Google Analytics has a user explorer report:
https://support.google.com/analytics/answer/6339208?hl=enYou could set a segment for the problematic transaction ID and look at the sessions: perhaps in the User explorer you will see how those multiple traced transactions are coming in.
The topic ‘Everything but transaction is working’ is closed to new replies.