So you need help setting up and installing Google Analytics on your blog? I’ve got you covered. Let’s jump right in.
How to Set Up Your Blog for Tracking on Google Analytics
- First, sign up for a free account at google.com/analytics
- You’ll need to login with your Gmail account. If you don’t have one, just create one real fast at https://mail.google.com/mail/signup.
- Click “admin” in the top-bar menu (it’s on the right side).
- Fill in the info about your blog.
- Account Name – make it whatever you want; you’re the only who will see this.
- Website Name – your blog’s main title (whole site, not single post)
- Website Address – your blog’s URL
- Industry/category – just pick one that is relevant to your niche topic .
- Don’t forget to check the recommended options and get your Tracking ID.
- Data sharing settings -use all of the recommended settings.
- Your tracking ID looks like UA-XXXXXXXX
How to Add Google Analytics to Your Blog for Tracking
Method One (WordPress Only): Use a Plugin
Tip: Before you do this, visit your “theme options” (under appearance in the left sidebar in your dashboard) and make sure there’s not already a place to enter your tracking ID – why have extra plugins if you don’t need them?).
- Go to your WordPress Dashboard and visit the Plugins dashboard.
- Get the Google Analytics Plugin and install.
- OR download the plugin here: https://wordpress.org/plugins/googleanalytics/
- Activate the plugin, enter your tracking ID and you’re in business.
Method Two: Add to Your Blog Template (No Plugin Needed, Works for Any Website Platform)
- Copy the longer code Google displays for you. This is not limited to but it does include your UA code.
- Paste the entire code, without any added characters or spaces, just before the ending head tag in your HTML code.
Pro-Hack: Search within the code to find this tag – “Ctrl+F” on a PC or “Command+F” on a Mac. In the “Find” box, type “</head>” (without the quotation marks).
- Be sure to hit “Save.” This is it – note that Google says you won’t have to place the code snippet on every single page of your website.
That’s all there is to it!
Then, you just wait for Google to recognize the installed code (can take up to 24 hours).
- When everything is installed correctly, you’ll see the following: “Status: Receiving Data.”
- This will appear next to “Tracking ID.”
- Next, you get to start the fun part: tracking your numbers and learning ways to make your site better.