• Hi everyone.
    I was working on dynamic remarketing, and eventually i found the following solution for the tag variables:

    <script type="text/javascript">
    var google_tag_params = {
    ecomm_prodid: '{{ product.id }}',
    ecomm_pagetype: 'product',
    ecomm_totalvalue: '{{ product.price }}',
    dynx_itemid: '{{ product.id }}',
    dynx_itemid2: 'REPLACE_WITH_VALUE',
    dynx_pagetype: 'product',
    dynx_totalvalue: '{{ product.price }}',

    Everything seemed to be working, but then i updated my WordPress to 4.2.3 and on the next day there was a different product id number.
    Check it out here – https://nonstopshop.com.ua/shop/501/dark-stonewash/ The sku on the page is 005010194 but the tag assistant is showing ecomm_prodid”: “1033”

    Is it a bug of the latest WordPress version or I am doing something wrong?
    Thanks in advance.

  • The topic ‘Dynamic remarketing aint working’ is closed to new replies.