WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Google Analytics for WordPress] Google Analytics Tracking Code with DoubleClick Option

[Plugin: Google Analytics for WordPress] Google Analytics Tracking Code with DoubleClick Option

Viewing 1 replies (of 1 total)
  • optimized-marketing

    @optimized-marketingcom

    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/

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Google Analytics for WordPress] Google Analytics Tracking Code with DoubleClick Option’ is closed to new replies.