Google Analytics by MonsterInsights
[Plugin: Google Analytics for WordPress] Google Analytics Tracking Code with DoubleClick Option (2 posts)

  1. optimized-marketing
    Posted 3 years 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?



  2. optimized-marketing
    Posted 3 years 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics by MonsterInsights
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic