• Resolved coccoinomane

    (@coccoinomane)


    Hello!

    Thank you for this great free plugin!

    I was wondering: do you plan to update the tracking code to the new gtag.js library?

    Nowadays, Google suggests to implement remarketing tags in this format:

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

    Cheers,
    Guido

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

    (@alekv)

    Hi Guido

    The current version of the plugin is already using the new remarketing tag.

    Regards
    Aleks

    Thread Starter coccoinomane

    (@coccoinomane)

    Hi alekv, thank you for your answer!

    I have dowloaded what I think is the latest version (1.4.5) but I could not find any reference to gtag.js. It seems the tracking code is still implemented in the classic way:

    
            </script>
            <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
            </script>
            <noscript>
                <div style="display:inline;">
                    <img height="1" width="1" style="border-style:none;" alt=""
                         src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/<?php echo $this->conversion_id; ?>/?value=0&guid=ON&script=0"/>
                </div>
            </noscript>
    

    To make it clear, I am referring to this tag => https://developers.google.com/adwords-remarketing-tag/

    Thanks,
    Guido

    Plugin Author alekv

    (@alekv)

    Oh, I looked into the code of the other plugin.

    You are right actually. This plugin has not the new tag implemented.

    I’ll get on it in the next days.

    Regards
    Aleks

    Thread Starter coccoinomane

    (@coccoinomane)

    Thanks alekv!

    I am happy to help if you need to test the new feature ??

    Cheers,
    Guido

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘GTAG Support?’ is closed to new replies.