• Hello,

    I’ve uploaded a product feed to Google Adwords for a remarketing campaign. For it to be accepted faster, it is recommended to add a code to each product: Ex.

    <script type=”text/javascript”>
    var google_tag_params = {
    dynx_itemid: ‘REPLACE_WITH_VALUE’,
    dynx_itemid2: ‘REPLACE_WITH_VALUE’,
    dynx_pagetype: ‘REPLACE_WITH_VALUE’,
    dynx_totalvalue: ‘REPLACE_WITH_VALUE’,
    };
    </script>

    THere is a module for WordPress to do this job? Or what solutions are there?

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,
    You can add this code in the footer or header template which loads in the product page.
    Then this code will automatically loads in your each product page.
    Thanks.

    Thread Starter smartwebsro

    (@smartwebsro)

    Hello,

    I’m not sure if it works. As far as I know, I need a different code for each product..

    Thanks

    Moderator bcworkz

    (@bcworkz)

    Correct, you need to replace instances of REPLACE_WITH_VALUE with the correct values for the current product. Which I know you realize because that is the basis of your question. Stating for the benefit of others ?? If you are using WooCommerce, I believe in the case of single product pages, the product object is available as global $product. From that you should be able to determine the necessary values for each remarketing parameter.

    If you need help with the specifics of WC_Product objects, your best bet may be the dedicated WC support forum.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dynamic Remarketing Tag on Product Page’ is closed to new replies.