Support » Plugin: Google Tag Manager for WordPress » No data arrives GA anymore

  • Hi Thomas,

    i have the same issue as in this post: https://wordpress.org/support/topic/no-revenue-in-google-analytics/ I used your plugin several months and it worked fine. But for now data does not arrive in GA << Conversion << Ecommerce << Übersicht. I saw in debug mode of GTM, that all tags were fired on the right page. I also studied your post here: https://gtm4wp.com/how-to-articles/how-to-setup-enhanced-ecommerce-tracking

    The strange thing is, that Data in GA for “multi Channel Trichter” is transmitted correctly. Only the data for Conversion << Ecommerce << Übersicht is completly missing.

    I hope you can help me.
    I could provide a code for test orders, access to the GTM account would also be possible. If you need this, let me know how I can get this to you. I look forward to your feedback. thanks

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter tom84

    (@tom84-1)

    Hi Thomas, can you help us with this?

    Best regards

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    I am sorry to read this, hopefully we can find a way to make this work for you as well.
    Currently, you can post a coupon code here. I know this is not the best way but if you limit usage to 2-3 times, that should be enough to test it and not let others ot misuse it for their own purposes.

    Because we are talking about the revenue metric, the coupon should give a discount so that I can place an order of about €1.

    Or if you have a test version of the site or if you can create a test version, there you could enable cash on delivery or bank transfer which would make testing even easier.

    Thread Starter tom84

    (@tom84-1)

    Hi Thomas,

    I can give you a coupon code. Maybe there is also a possibility to send it to you directly? otherwise i can post it here …

    Best regards

    Chris

    Thread Starter tom84

    (@tom84-1)

    Hi Thomas,

    here is the coupon: 6FRVSGPX

    This Coupon is for our JAVA Course: https://edley.de/produkt/programmiersprache-java-fuer-anfaenger/

    I hope you can help us with the problem.

    look forward to hear from you.

    Thanks

    Thread Starter tom84

    (@tom84-1)

    Hi Thomas,
    did you see the coupon codes? Could you test

    Best regards

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    I placed a test order and in the data layer the ecommerce data is present correctly:

    event: "gtm4wp.orderCompletedEEC",
    	ecommerce: {
    		currencyCode: "EUR",
    		purchase: {
    			actionField: {
    				id: "28385",
    				affiliation: "",
    				revenue: 1,
    				tax: 0.21,
    				shipping: 0,
    				coupon: "6frvsgpx"
    			},
    			products: [
    				{
    					id: 16131,
    					name: "Java Kurs - Programmieren lernen in 30 Tagen",
    					sku: 16131,
    					category: "IT und Programmieren/Programmieren",
    					price: 1,
    					stocklevel: null,
    					variant: "standard",
    					quantity: 1
    				}
    			]
    		}
    	}

    I can also see that you are using some sort of trigger groups in your GTM container and the Borlabs GDPR solution.

    For some reason, the ecommerce helper tag is firing on this gtm.triggerGroup event instead of gtm4wp.orderCompletedEEC and it is not picking up ecommerce data from the data layer.

    Since I do not see your exact GTM setup, I can not tell you what could be the exact reason but I think it is related to your trigger group(s).

    Thread Starter tom84

    (@tom84-1)

    Hi Thomas,

    thanks for your tests. i checked all my Trigger Groups and i cant find the issue. Alos it was working before some updates. Is there the possibility that you take a look into the GTM Setup?

    Best regards

    Plugin Author Thomas Geiger

    (@duracelltomi)

    If you can share a GTM debug link here, I can go through the process again and check what could be the issue.

    When you open Tag Assistant for debugging, open your website’s item in the list and click on the “…” menu in the top right corner. Select Share and post the link here.

    This will not grant any access to you GTM account directly but I can turn on debugging in my browser and see what happens.

    Thread Starter tom84

    (@tom84-1)

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Could you send me a screenshot of the settings of the single trigger entities in “Trigger-Gruppe E-Commerce with Borlabs”?

    Thread Starter tom84

    (@tom84-1)

    Hi Thomas,

    thanks for the good support. Here are the images:

    https://ibb.co/NYC3m2y
    https://ibb.co/WsCz5Mx
    https://ibb.co/FXD4WXQ

    Best regards

    Plugin Author Thomas Geiger

    (@duracelltomi)

    I guess this will be a race condition issue.

    When the original GA3 event triggers (like gtm4wp.orderCompletedEEC) the ecommerce data is present in the data layer. Since v1.12 GA4 version of the same event is fired just after the original event.

    Since both GA3 and GA4 tagging uses the same “ecommerce” variable in the data layer, the GA4 event hides GA3 data from the tag when the trigger group fires.

    I would suggest a different approach to control GDPR related consents: there is a borlabs-cookie cookie that also holds consent status. This is what it holds for me currently:

    {
        "consents": {
            "essential": ["borlabs-cookie", "google-tag-manager"],
            "statistics": ["google-analytics"],
            "external-media": ["facebook", "instagram", "vimeo", "youtube"]
        },
        "domainPath": "edley.de/",
        "expires": "Sun, 12 Jun 2022 12:27:09 GMT",
        "uid": "bz3f7pzh-6iij9jy0-6djze5ig-igp5phd4",
        "version": "3"
    }

    With some custom JS variable code you could read the consent from here and you could use this variable in your “E-commerce-Tracking” trigger limiting tag firing to only cases when this cookie includes proper consent.

    This way, you will fire your GA tracking just in time and your GA tag can read both GA3 and GA4 data at the right time.

    Thread Starter tom84

    (@tom84-1)

    Hi Thomas,

    thanks for your answer. Unfortunately, I haven’t managed it yet. Perhaps there is a post somewhere that explains how your plugin can be used in a way that is compatible with Borlabs cookies?

    Best ragrds

    Chris

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.