• Hello,

    I haven’t been able to find any reference or post regarding Google Analytic’s support option for the Remarketing. The plugin displays

    <script type=”text/javascript”>//<![CDATA[
    // Google Analytics for WordPress by Yoast v4.3.3 | http://yoast.com/wordpress/google-analytics/
    var _gaq = _gaq || [];
    _gaq.push([‘_setAccount’, ‘UA-xxxxxxxx-2’]);
    _gaq.push([‘_trackPageview’]);
    (function () {
    var ga = document.createElement(‘script’);
    ga.type = ‘text/javascript’;
    ga.async = true;
    ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl&#8217; : ‘http://www&#8217;) + ‘.google-analytics.com/ga.js’;

    var s = document.getElementsByTagName(‘script’)[0];
    s.parentNode.insertBefore(ga, s);
    })();
    //]]></script>

    Google analytics explains that the standard line:
    ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl&#8217; : ‘http://www&#8217;) + ‘.google-analytics.com/ga.js’;

    must be replaced with the modified line:
    ga.src = (‘https:’ == document.location.protocol ? ‘https://&#8217; : ‘http://&#8217;) + ‘stats.g.doubleclick.net/dc.js’;

    in order to support remarketing. See https://support.google.com/analytics/answer/2444872?hl=en for the documentation on this.

    It doesn’t matter what site this is on as I’ll need to use it on almost every site going forward.

    Can someone tell me how to get this to populate correctly in WP SEO? I’m going to have to disable WP SEO and add the tracking code manually, temporarily (I hope), to accommodate this for now.

    Thank you,
    Shawn Blair

    http://wordpress.org/extend/plugins/wordpress-seo/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter graisee

    (@graisee)

    A little synapse failure here. Meant to post this in Google Analytics for WordPress.

    Add plugin “NK Google analytics”.
    In the settings page, set:

    Enable Display Advertising (Remarketing) : Yes

    Then the new Google Analytics code will be added to your pages.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Google Analytics Remarketing support in WP SEO?’ is closed to new replies.