How to Add Support for Display Advertising Code in Google Analytics for WordPress

It’s really simple to use Google’s Display Advertising code, so I thought I’d share how.

To enable the new GA features:

  1. Check the “Show Advanced Settings”
  2. Under “Advanced Settings,” check the checkbox for “Host ga.js locally:”
  3. In the text field that appears, enter: //stats.g.doubleclick.net/dc.js
    • Note: The missing http and https is intentional – if your site’s in secure mode, it will use https, otherwise http)
  4. Save your settings!

Author: Zack Katz

Zack Katz is the President of Katz Web Services and the developer of WordPress plugins with over 700,000 downloads. He lives in Southwest Colorado with his wife and two cats.

1 thought on “How to Add Support for Display Advertising Code in Google Analytics for WordPress”

  1. This is a pretty terrible tip… “show advanced settings” where? What window are you in? Is this a settings menu? It’s like telling someone to “open up the book to page xxx” without telling then which book to open =/

Leave a Reply

Your email address will not be published. Required fields are marked *