How to Add Google Analytics to  WordPress

So you’ve signed up for Google Analytics and you want to set it up on your WordPress blog.

Get the Ultimate Google Analytics Plugin

Download and install the plugin, log in to your WordPress control panel, and then enter your Google Analytics account ID under Settings \ Ultimate GA.

What is a Google Analytics Account ID?


In this case var pageTracker = _gat._getTracker(“UA-XXXXXXX-X”); shows your Google Account ID to be UA-XXXXXXX-X.

Advanced Features

Ultimate Google Analytics has a number of advanced features you can integrate with your Google Analytics account to track the number of clicks to download links, mailto links and outgoing links.

Meet the Author

Kevin Leary, WordPress Consultant

I'm a freelance web developer and WordPress consultant in Boston, MA with 17 years of experience building websites and applications. View a portfolio of my work or request an estimate for your next project.