• Resolved myatix

    (@myatix)


    Hi,

    I have recently implemented GTM4WP and can see that the plugin works great for remarketing on single items but if you use variations the plugin does note return the datalayer variables ecomm_Prodid, ecomm_PageType and ecomm_totalvalue.

    Has anyone else got this issue?

    I have also noticed that the plugin doesn’t seem to work if you use sku as the product ID. So we have reverted back to productid.

    I hope someone can help!

    https://ecoheatcool.co.uk/shop/

Viewing 15 replies - 1 through 15 (of 37 total)
  • Yes, same issue here for variable items! Just had someone from the Facebook IT team take a look at it and they weren’t sure why it is occurring.

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi myatix,

    You are using Cloudfare, it seems to me that for some reason my JavaScript codes are not firing on your site. This also prevents product variation tracking to work.
    I understand that this is an issue and it has to be somehow resolved, I will work on it of course.

    @bryantraf: could you post the URL of your website?

    Have a great day,
    Thomas Geiger

    The issue arises on products that have variations:
    Here are some examples:

    Variable Product (has data issue):
    https://gardeninminutes.com/shop/raised-garden-kits/4×4-raised-garden-kit

    Regular Product (no data issue):
    https://gardeninminutes.com/shop/tiered-raised-garden-kits/tiered-cedar-raised-garden-kit-4×5

    Thread Starter myatix

    (@myatix)

    Even if I put turn on Developer Mode on Cloudflare I get the same issue.

    I also tested deactivating the WP-Rocket plugin on the site but this didn’t resolve the issue either.

    I hope this helps with your debugging!

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi Everyone,

    The next plugin version includes some fixes for product variations.
    It is planned to be released next week.

    Could you maybe download the RC version and test it on your sites (most probably on a staging/test site)?
    https://github.com/duracelltomi/gtm4wp/releases/tag/1.7rc1

    Thanks,
    Thomas

    Thanks Thomas! Much appreciated help.
    I’ll give it a try.

    Hi Thomas,

    I installed 1.7 on our dev site, unfortunately the result is still the same for variable products.

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    Could you share the URL of the dev site? If not here, then via email using the contact form at duracelltomi.com?

    Thanks,
    Thomas

    Thomas

    I got it working it was an issue with the timing of the page views firing had to change them all to dom ready and make ua a higher priority.

    Plugin Author Thomas Geiger

    (@duracelltomi)

    \o/

    Very good news!

    Thanks Robert,

    I changed the firing of all view based tags (non-click) to fire on DOM ready and made google UA the highest priority. Unfortunately the problem is still there.

    I think this has to do more with where the plugin is pulling the data from on variable product pages than the tag firing sequence in GTM, since the data available for the tag to pull is unchanged by GTM tag firing sequences.

    Thomas, the dev site is password protected, I’ll send you and email to it with a new user login. Thanks!

    Hey guys,

    I have exactly the same problem as myatix and bryantraf and just wanted to ask how the update is coming and around when it will be released @thomas?

    Thanks in advance for the hard work and this awesome plugin!

    Best

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi @whistlerp,

    Thanks to Bryan, another bug has been identified with product variations that needs to be corrected before I can release the new plugin version. I will do my best to include this fix asap so that the new version can be released soon.

    I would say that with some more testing next Monday or Tuesday will be the day of the new release.

    Thanks,
    Thomas

    Hi @duracelltomi

    We are having problems with variable products too.
    ecomm_prodid is always an empty array and ecomm_totalvalue equals to 0

    printscreen here dataLayer shot

    Any news on product variations fix?

    Best regards

    • This reply was modified 7 years, 4 months ago by dsilvawk.
Viewing 15 replies - 1 through 15 (of 37 total)
  • The topic ‘GTM4WP Not working with Woocommerce Variations for Remarketing’ is closed to new replies.