WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Google Analytics for WordPress] New AdSense Tracking Parameter (4 posts)

  1. Marios Alexandrou
    Member
    Posted 5 years ago #

    Any plans to update the GA plugin to also insert the new parameter needed to track AdSense when you have multiple sites in your account? The instructions say to insert this code at the top of the page.

    <script type="text/javascript">
    window.google_analytics_uacct = "UA-xxxxxx-xx";
    </script>

    Thanks!

  2. Marios Alexandrou
    Member
    Posted 5 years ago #

    For those who are impatient like me, there's an unofficial, unsanctioned hack to insert this tracking code on my blog.

  3. Joost de Valk
    Member
    Posted 5 years ago #

    As said on your blog:

    Thanks for your code!

    The new options for AdSense / Analytics integration actually make the adsense tracking that was included in the plugin obsolete, so i'll be removing that. You'll have to check "Track AdSense" in the backend and the code will be added to the header.

  4. Joost de Valk
    Member
    Posted 5 years ago #

    I've just committed version 2.7 with the option built in! Enjoy!

Topic Closed

This topic has been closed to new replies.

About this Topic