• Resolved limarob

    (@limarob)


    Hi, this is a contunation of this thread: https://www.ads-software.com/support/topic/gtm-link-click-tracking-no-longer-working-after-update-to-7-7-0/

    I have been using the old version that continued to work, but feel like it is probably time to upgrade now and I am still having the same issue with the latest versions.

    The site is included in the link atttched to this message.

    On 7.6.6, tracking a link click in the pop-up works correctly because when someone clicks on the CTA in the pop-up, it fires this “Link Click” event:

    https://ibb.co/ssBQ7ry

    Using Tag Manager, i then trigger this Tag:

    https://ibb.co/CKGVf5M

    When an event is fired that matches this:

    https://ibb.co/JBND9SQ

    In the later versions, that original event (shown in the first screenshot) is not happening, so my Trigger in Tag Manager does not fire, as it doesn’t know the Link has been clicked. Hope that makes sense?

    It is 100% down to a change in the plugin as if i upgrade to the a version later that 7.6.6 it stops working, if I roll back, without changing anything else, it starts working again.

    The site is currently using 7.6.6.

    • This topic was modified 8 months, 1 week ago by limarob.

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @limarob,

    Thank you for reaching out to us.

    I was unable to notice any similar issues reported so far.

    To assist you more effectively, could you please provide a brief explanation of how you set up Google Tag Manager (GTM) for the links? Are you using a third-party plugin, or is it manually integrated by adding code to the theme? Additionally, how is GTM configured to track those particular clicks? This information will help us understand your setup better and provide appropriate guidance.

    We look forward to hearing back from you.

    Kind Regards,
    Nebu John

    Thread Starter limarob

    (@limarob)

    Hi Nebu John

    Thanks for the reply.

    This is how it is setup in Tag Manager and how it captures clicks:

    I trigger this Tag:

    https://ibb.co/CKGVf5M

    When an event is fired that matches this:

    https://ibb.co/JBND9SQ

    By triggering that tag, i then have an event i can use as a conversion in Analytics.

    Tag Manager has been manually added to the theme, and I have set up the tags, triggers and conversion events myself.

    Basically, what seems to be happening is because the plugin is no longer firing an event when a click takes place, like this:

    https://ibb.co/ssBQ7ry

    Then the Click URL is empty, so the tag is not capturing anything.

    Thanks

    Rob

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @limarob

    Thank you for response but I think that’s not quite enough, I’m afraid.

    As I mentioned in that other ticket of yours, back then nothing was changed on our end on purpose that would specifically affect this, unless it affected it “as a side-effect” – unexpected and unplanned.

    It’s been a while since then, but above statement still stands.

    Now the question is how you are actually “catching” or “intercepting” that “click” event. Hustle does not and did not have any specific to GTM but it surely does trigger some events – e.g. on form submission (if it’s e-mail collecting module) and other actions. I don’t see any such event (as on your screenshots) fired even in older versions.

    So you need to be “intercepting” event that happens on link click somehow and since you mentioned “Tag Manager has been manually added to the theme, and I have set up the tags, triggers and conversion events myself.” – those triggers – how exactly that’s set, code-wise?

    I mean, can you share the code (of course remove all your GTM ids from it) that you are using? Is there any additional JS related to this added to site?

    Kind regards,
    Adam

    Thread Starter limarob

    (@limarob)

    Hi Adam

    Thanks for getting back to me.

    It is just the standard GTM code added to the site.

    What happens with the older version of the plugin is that when the CTA in the pop-up is clicked, it takes you to page with the URL ending “/octopuscredit”.

    1. When that link is clicked, it fires this in the browser Datalayer:

    https://imgbb.com/ssBQ7ry

    2. That gtm.LinkClick is then picked up by this Tag Manager trigger:

    https://imgbb.com/JBND9SQ

    Because the elementURL in the gtm.LinkClick contains “octopuscredit”

    3. Because that is Triggered, it then fires this Tag:

    https://imgbb.com/CKGVf5M

    This sends the click URL as an event to Tag Manager, which means i can then track it as a conversion.

    The only difference when I update to the later version of the plugin (without changing anything else on the site) is that number 1 no longer happens when the link in the CTA is clicked. I.e. for some reason, when the CTA link is clicked, no ‘Link Click’ is registered in the datalayer. This is what is should look like in Tag Assitant when debugging:

    https://ibb.co/QJkb88Z

    “Hustle does not and did not have any specific to GTM but it surely does trigger some events – e.g. on form submission (if it’s e-mail collecting module) and other actions. I don’t see any such event (as on your screenshots) fired even in older versions.”

    Just to be clear, the below is fired in older versions but not the more recent versions:

    https://imgbb.com/ssBQ7ry

    This is how the variable look in the older version of the plugin when the CTA link in the pop-up is clicked:

    https://ibb.co/kDb7rKm

    Rob

    • This reply was modified 8 months, 1 week ago by limarob.
    Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @limarob,

    I hope you are doing well today!

    If I understand correctly, it is working well with v7.6.6 but not with the latest version of the plugin.

    Please share an export of the popup which will help us to check the issue further. You can export it from Edit section of the Popup https://prnt.sc/6xxFxafXQ_PZ

    After exporting, please share the contents of the json file using a service such as https://pastebin.com or https://justpaste.it which is free to use. You can also share the json file itself by services like Google drive.

    Please always make sure to use such service to share the code and don’t post the code here directly as it will most likely be unusable.`

    Kind regards,
    Zafer

    Thread Starter limarob

    (@limarob)

    Hi Zafer

    Yes, that is correct.

    Please see the export here: https://pastebin.com/NxAKTZ06

    Password is: zmYz1TejCd

    Thanks

    Rob

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @limarob,

    Thanks for sharing the export and for explaining further. I could notice anomalies regarding this when tested, I’m escalating this further to our developer’s attention to check what might be causing these differences.

    Will keep you posted once we get further feedback asap.

    Best Regards,

    Nithin

    Thread Starter limarob

    (@limarob)

    Hi Nithin

    Thanks for your reply. I look forward to hearing more.

    Thanks

    Rob

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @limarob,

    Please do note that developers work on complex queries and have a slow response time. We’ll soon keep you posted once we get feedback.

    In the meantime, reverting the Hustle plugin version to 7.6.6 would be the temporary fix until this is looked at asap.

    Kind Regards,

    Nithin

    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @limarob

    As said above, this was already forwarded to our developers and I am marking this thread as resolved, but if you have any additional questions feel free to let us know. Please note this is reported as a bug which will be fixed in future versions.

    Kind Regards,
    Kris

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘GTM Link tracking no longer work’ is closed to new replies.