How to Read Your Website Source Code and Why It's Important for SEO

Verifying That Your Analytics is Installed Properly.
One last reason for checking your source code is to make sure you have Google Analytics or another tool installed on every webpage of your website.

Checking is very simple. For Google Analytics, just view the source code of your webpages and search for the letters "UA."

How to Read Your Website Source Code and Why It's Important for SEO

If you find an instance where the "UA" is followed by a 7-digit number, then you have confirmed that Google Analytics is installed on that one page. Also, keep track of how many times "UA" shows up on your webpage. Sometimes, your analytics tracking code will be inserted more than once accidentally, which is unnecessary. If that's the case, you should have your developer remove the extra instances.

If you use KISSmetrics, look for "_km" to confirm that KISSmetrics is installed on your webpage. It's also a good idea to check to see if the entire code snippet is present. It's possible that somewhere along the way the snippet was truncated (either by not copying the entire snippet or by devious gremlins living in your developer's computer).

Next, you will have to check the remaining webpages on your site to see if your analytics code has been inserted on every page. If you don't have your analytics tracking code on every page of your website, you're not getting a complete picture of what's happening on your site, which kind of makes analytics useless.

This can be a daunting task if you have an enormous website. It even can be impossible to check manually.

I like to use xml-sitemaps.com to get a text file of all the URLs my website has within it. This provides me with an inventory checklist which helps to keep track of which URLs might need some extra attention (like having analytics installed on them). It's also a great tool for being alerted to duplicate content issues and other strange things that might be lurking on a web server.

Even xml-sitemaps.com will give you only 500 results for free. You may need to ask your developer to give you a URL inventory so that you have a complete map of your massive website. Additionally, you may want them to create a script or program to perform these checks for you so you don't have to do them manually.

Related Articles:

Beyond Web Analytics: 5 Types of Online Data You Should Be Tracking

How to Create a 'Perfectly Optimized' Webpage for Search (Infographic)

How to Use Google's New Top Charts Feature to Improve Your Web Content
 

« Previous 1 2 3 4 5 6 7 Page 8
Loading the player ...

5 Secrets for Making Your Logo Stand Out

Ads by Google

Share Your Thoughts

Most Shared Stories

1