Home Forums WoodMart support forum Issue with Data Layer in Checkout – WoodMart Theme

Issue with Data Layer in Checkout – WoodMart Theme

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #643176

    lucabaldobaldaccini
    Participant

    Hello,

    I’ve been experiencing some issues with Google Tag Manager and the data layer provided by the theme during the checkout process.

    When running Google Tag Manager in debug mode and placing an order, no “purchase” event is detected on the thank you page. However, when I switch to a default WordPress theme and perform the same operations, Google Tag Manager correctly tracks all the necessary data.

    https://www.spaziouomotaglieforti.it/
    https://www.heyrun.it/
    https://www.victoriastore.it/

    This issue occurs on three different WooCommerce websites using the WoodMart theme. Is this a known issue? Is there a way to resolve it?

    Thank you for your support.

    #643288

    Artem Temos
    Keymaster
    Xtemos team

    Hello,

    Could you please record a video of how it works with the default theme? We will do the same with WoodMart and check what is different.

    Kind Regards

    #643527

    lucabaldobaldaccini
    Participant

    Hello,

    I am sharing the link to the recorded session below as primary content.
    From there, you can see how Google Tag Manager (on a staging site, but the same happens on the live site) does not detect the “purchase” event.

    In the video, I switch the theme to a default WordPress one, and you can see that the “purchase” event correctly appears on the Thank You page after order completion.

    Thank you for your support.

    #643541

    Artem Temos
    Keymaster
    Xtemos team

    Hello,

    Please disable any plugins not directly related to our theme and provide us with your admin access details. We will log in to your dashboard and investigate the issue. Please ensure that you only keep the following plugins that are necessary for our theme to work correctly:
    – WoodMart core
    – WooCommerce
    – Elementor/WPBakery Page Builder

    Thank you in advance.

    #643553

    lucabaldobaldaccini
    Participant

    Thank you for your support. I have shared the access details in the private field.

    I have disabled all non-essential plugins, keeping only those necessary for testing and managing the connected GTM.

    This is a staging site, so feel free to enable/disable anything you need. The system only sends order confirmation emails to the customer placing the order; no other emails are sent, so you can run as many tests as needed.

    After disabling all plugins, I tested again, but the issue persists.

    Please let me know how to proceed.

    Thank you.

    #643560

    Artem Temos
    Keymaster
    Xtemos team

    Can we troubleshoot this issue in real time as you did in your video?

    #643561

    lucabaldobaldaccini
    Participant

    This is a staging site, so you are free to test and make any changes as needed (except for sending emails to customers ahaha ).

    Would you need me to be available in real-time for any testing or troubleshooting? Let me know if my presence is required, or if you can proceed independently.

    #643562

    lucabaldobaldaccini
    Participant

    Obviously, use the test gateway I have set up. If you know other test gateways, feel free to use them as well.

    #643748

    Artem Temos
    Keymaster
    Xtemos team

    I mean that I need to be able to see these events in tag assistant in Google. Otherwise, I can’t know if it works or not.

    #643751

    lucabaldobaldaccini
    Participant

    For me, there are no issues. How can we proceed? Can you provide me with an email so I can add you to the Google Tag Manager workspace?

    #643753

    Artem Temos
    Keymaster
    Xtemos team

    Yes, here is xtemos.studio@gmail.com

    #643768

    lucabaldobaldaccini
    Participant

    Okay, invitation sent! Let me know if you need anything else.

    #643854

    Artem Temos
    Keymaster
    Xtemos team

    We just tested this with our theme and got the “purchase” event correctly. Here is a screenshot https://gyazo.com/03a25b8020e48fbb5b75bdaf8a780234

    #643884

    lucabaldobaldaccini
    Participant

    Thank you for your feedback. However, what you showed me are the Analytics events, not the Google Tag Manager container (GTM-ecc…)

    The issue is that the GTM container is not detecting the purchase event, which is the core of the problem.

    #643912

    Artem Temos
    Keymaster
    Xtemos team

    Just tested with the default theme and get the same https://gyazo.com/34f81fbc4409dc4c2ae252d32629d9a6

    #644122

    lucabaldobaldaccini
    Participant

    When you say “default theme,” do you mean the WordPress default theme?

    If so, the issue is not with the default WordPress theme but with your theme.

    With your theme, the “purchase” event does not appear in GTM events or trigger correctly.

    Could you please investigate this further? Let me know how we can proceed.

    #644124

    lucabaldobaldaccini
    Participant

    With the default theme, I also did not experience the issue. This is clearly visible in the video I shared.

    #644374

    Artem Temos
    Keymaster
    Xtemos team

    Yes, we mean default WordPress theme. Can you please check the screenshot and let me know if we tested it right? https://gyazo.com/34f81fbc4409dc4c2ae252d32629d9a6

    #644378

    lucabaldobaldaccini
    Participant

    Thank you again for your support.

    I found the issue, and it was not related to your theme. The problem was caused by Iubenda and its script, which, for some strange reason, was interfering with Google Tag Manager.

    Sorry for the inconvenience, and thanks again!

    #644379

    Artem Temos
    Keymaster
    Xtemos team

    Great, we are glad that you sorted it out. Feel free to contact us if you have any further questions.

Tagged: 

Viewing 20 posts - 1 through 20 (of 20 total)

The topic ‘Issue with Data Layer in Checkout – WoodMart Theme’ is closed to new replies.