Google Analytics Remarketing support in WP SEO?
-
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 | https://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’ : ‘https://www’) + ‘.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’ : ‘https://www’) + ‘.google-analytics.com/ga.js’;must be replaced with the modified line:
ga.src = (‘https:’ == document.location.protocol ? ‘https://’ : ‘https://’) + ‘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
- The topic ‘Google Analytics Remarketing support in WP SEO?’ is closed to new replies.