• Resolved kabummmm

    (@kabummmm)


    Hi Alekv,

    I’m trying to make dynamic ads with google, but google ads shows me this error message for my ads: ecomm_prodid never received

    I have variations on my product pages but they have unique url based on the attributes. And on google merchant center i see that the feed get the correct product ID of the variations.

    For prodcut feed I use WooCommerce Product Feed (Woo Feed) and as i see its ok because in the merchant center the prodcuts have the correct variations IDs

    Can you please suggest a solution for this issue?

    Thanks for your help in advance!
    Have great day!
    Balint

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author alekv

    (@alekv)

    Looks like you got WP Rocket enabled which does change the the JavaScript output: https://take.ms/T6GF4
    There must be some JavaScript minification or optimisation setting.
    Could you disable it?
    Once done I’ll check again.

    Plugin Author alekv

    (@alekv)

    I found this guide at WP Rocket: https://docs.wp-rocket.me/article/1104-excluding-inline-js-from-combine

    It shows a way to load the page with caching turned off (add ?nocache to the URL). It revealed that it is definitively WP Rocket that mangles the inline JavaScript up.

    In the article they describe that it is possible to exclude inline JavaScript from minification by adding a unique string from the JavaScript into the ‘Excluded Inline JavaScript’ setting.

    Try the string ‘gtag’.

    Let me know once done.

    Thread Starter kabummmm

    (@kabummmm)

    Thanks for the super fast and detailed answer! Tommorow i’ll check it and try to implement. Once i’ll ready with it i’ll share the result

    Thread Starter kabummmm

    (@kabummmm)

    So I added the ‘gtag’ to the exclusions and it changed the code

    I went through the descreption what you linked and i have filtered the strings “script” in it, but it is beyond my knowladge to judge what to exclude, so I rather turned off the WP Rocket and was monitoring the google ads events for a while.

    Now google ads is receving the ecomm_prodid, so its better now. Unfortunately it is the same amount as the ecomm_category so it is still not receving the data when i choose a variation

    I left the WP rocket turned off. Can you please take a look at it, what could be the problem?

    Plugin Author alekv

    (@alekv)

    @kabummmm

    I checked on the website and the code is not inserted fine, also the product category: https://take.ms/q4unx

    You need to wait at least a day or two until the stats start to reflect this properly.

    Variations will be tracked under the group id of the parent id: https://www.ads-software.com/plugins/woocommerce-google-dynamic-retargeting-tag/#does%20the%20plugin%20support%20variations%3F

    Let me know if and when the stats start to reflect the ecomm_category collection.

    Plugin Author alekv

    (@alekv)

    Closing this thread due to inactivity.

    Feel free to continue the thread by simply posting another reply.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Issue: ecomm_prodid never received’ is closed to new replies.