WP Live Crew

How to Install Google Analytics in WordPress

Posted
on April 14, 2017

Good news: this is a super quick and fairly simple task. For the quick and dirty step-by-step jump ahead, or for some background info read on…

First, a quick overview to remind you what Google Analytics is and why you need it. Google Analytics is a free tool made by Google that will analyze your personal website traffic. Choose a time frame and quickly see at-a-glance how much and what type of audience traffic is visiting your site. Google Analytics arms you with data to help inform better decision-making for your sales and marketing strategies. At the most basic level, Google Analytics provides…

Visitor demographics,

Bounce rates,

New vs. returning visitors,

Real-time site data,

Visitor device type,

Pages visited and time spent on site

Source: Google Analytics

As you grow more familiar with the platform, use Google Analytics to set up and track digital advertising campaigns, view social media and content analytics, and even create unique marketing goals.

Step 3: You’ll need to make your WordPress URL play nice with Google Analytics. Google calls your site URL a “property.” Setting up a property is a painless process with an easy walk-through, but navigation support is available.

Step 7: When the header code pops up, search for <head> and then </head>. Just before </head> paste your Google Analytics code (CTRL + V). Be careful not to disturb any of the other header code that’s part of your theme. Update file and voila!

Another (way easier) option?

Save time and instantly install Google Analytics with this plugin from MOJO Marketplace. You’ll need your Tracking ID, but otherwise, you’re all set! Bonus: this ensures that Google Analytics will automatically populate on every new web page you create for your WordPress site, this is essential when tracking your site visitor’s journey.