WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics for WordPress
Google Analytics Tracking Code with DoubleClick Option (2 posts)

  1. optimized-marketing
    Member
    Posted 1 year ago #

    I am trying to setup a google analytics remarketing campaign and it requires the DoubleClick option in the Tracking Code. I was unable to find an option in Google Analytics for WordPress plugin to enable DoubleClick. Is there an option I am missing, or hasn't this feature been included yet?

    Thanks

    http://wordpress.org/extend/plugins/google-analytics-for-wordpress/

  2. optimized-marketing
    Member
    Posted 1 year ago #

    I have created my own solution to allow for DoubleClick Data. I added a check box to the setting page and check the variable, if that option is checked I use the DoubleClick code and js instead of the default Google Analytics code.

    Here is the DoubleClick Code I used.

    $script = 'dc.js';
    echo "('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/" . $script . "';";

    I tried to contact the Developer of this plug in to get the changes added into the plugin but have not heard back from them.

    here is a helpful for how to hardcode the change with out the setting check box option.
    http://adam-ware.com/2012/09/07/remarketing-for-google-analytics-for-wordpress/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic