WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Google Analytics For WordPress & Demographics and Interest Reports

[Resolved] Google Analytics For WordPress & Demographics and Interest Reports

Viewing 4 replies - 1 through 4 (of 4 total)
  • I will second this. I am actually going to go in and modify the plugin myself for now. But as this is a simple universal swap, it would be nice to see in a future release.

    You just have to be able to swap this line:
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';

    With this line:
    ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';

    A work around has been found, read it here

    I have the same question. The line that should change is the ga.src=:

    ga.src = (‘https:’ == document.location.protocol ? ‘https://’ : ‘http://’) + ‘stats.g.doubleclick.net/dc.js’;

    Source:
    https://support.google.com/analytics/answer/2444872?hl=nl&utm_id=ad

    Credit: Mackaaij

    Does anyone have a Google Analytics plugin that is up-to-date? This seems to be a matter of finding a plugin that is being actively maintained.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Google Analytics For WordPress & Demographics and Interest Reports’ is closed to new replies.