• Resolved khodertomas

    (@khodertomas)


    Hi,
    I have your plugin installed and the tag is showing up on a product page like this

    <!-- Global site tag (gtag.js) - Google AdWords: 784215690 -->
            <script async
                    src="https://www.googletagmanager.com/gtag/js?id=AW-784215690"></script>
            <script>
                window.dataLayer = window.dataLayer || [];
    
                function gtag() {
                    dataLayer.push(arguments);
                }
    
                gtag('js', new Date());
    
                gtag('config', 'AW-784215690');
            </script>
            <!--/noptimize-->

    There is no product ID showing up in the code, neither is product type. Tag asistant is also throwing an error. Do you have some idea where the problem might be? Thanks for your work, I really apreciate it

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

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

    (@alekv)

    The product data is showing further down in the code.

    Eg. this page: view-source:https://www.forgirlsbygirls.cz/damsky-stylovy-kabat-kari-traa-tesdal/

    You’ll find this:

    `<!– START Google Code for Dynamic Retargeting –>
    <script type=”text/javascript”>
    gtag(‘event’, ‘page_view’, {
    ecomm_pagetype: ‘product’,
    ecomm_category: [“Bundy, vesty, kab\u00e1ty”],
    ecomm_prodid: “374757”,
    ecomm_totalvalue: 4544.6280991736
    });
    </script>
    <!– END Google Code for Dynamic Retargeting –>`

    Everything is ok.

    Thread Starter khodertomas

    (@khodertomas)

    Hey, thanks for the response. The problem is, AdWords is saying that the remarketing tag isn’t adding visitors to my remarketing list. Isn’t it possible that the fragment is missing line “send_to” and that’s the issue? Because when I look into code fragment in AdWords, Google is saying it should look like this

    <script>
      gtag('event', 'page_view', {
        'send_to': 'AW-784215690',
        'ecomm_pagetype': 'replace with value',
        'ecomm_prodid': 'replace with value',
        'ecomm_totalvalue': 'replace with value',
        'user_id': 'replace with value'
      });
    </script>

    but the plugin is omitting the first line.

    Plugin Author alekv

    (@alekv)

    According to the developer documentation it should work like before: https://developers.google.com/adwords-remarketing-tag/parameters

    But I added the line for now. You can update the plugin and give it a try.

    Please report back if this fixes your issue.

    Thread Starter khodertomas

    (@khodertomas)

    Yes it works now, thank you very much!

    Plugin Author alekv

    (@alekv)

    There is another update that fixes a syntax error you should install.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘prod_ID not showing up in code at all’ is closed to new replies.