With HubSpot, it's fairly easy to implement Google Analytics for your website, blog, and landing pages. However, it's also fairly easy to find issues with the implementaton, resulting in poor data, or worse, no data at all. Here are four of the most common issues I have found with Google Analytics implementations.
When adding Google Analytics to a COS site, you go into the instance's Content Settings, and paste the Analytics tracking code in the subdomain of your choosing (typically www., blog., or info.), or you can add it to all of the subdomains at once. We recommend adding Analytics to all subdomains at once.
With Google's Universal Analytics, you can simply add the same tracking code to each subdomain, and then add each individual subdomain to the referral exclusion list. What this does is tells Analytics that we don't want to count traffic that starts in blog.site.com going over to info.site.com as a referral visit.
If you implement Cross-Domain Tracking on your HubSpot instance, be sure to also do Step 3: Hostname insertion.
With HubSpot, we desire to track the entire inbound journey. Tracking with 3+ different entities will make it challenging to track the entire journey through Google Analytics, which can provide valuable traffic and behavior insights.
After Cross-Domain tracking, the most common issue I see with installs of Google Analytics is no IP Address Filtering. With IP Address Filtering, you can completely remove website visits from your office, or a client's location, so as to only get traffic from those that would result in a sale or conversion for the business.
Hostname insertion can be a very valuable tool if you are tracking multiple subdomains with one Google Analytics tracking code.
For example, let's say on the Denamico website, I have a page with a URL of denamico.com/diane-kulseth. On the Denamico blog, I also have an author page that has a URL of blog.denamico.com/dianekulseth. When tracking these under the same Analytics tracking code, they'll be tracked together, as Analytics will list them as /dianekulseth.
With hostname insertion, you can display the full URL so that it's very clear what content you're viewing in your reports.
Event tracking provides reporting on any important action on your site, such as a video play, a PDF download, or a purchase. Goal tracking helps to measure critical business KPIs to provide conversion data across traffic sources, demographics, devices and more. By default, Google Analytics will track your traffic, but it won't track your results without some customization.
How to do Goal Tracking:
While HubSpot reporting can tell you a lot about a visitor's journey with your site, Google Analytics can fill in more of the details. For example, you can see in HubSpot that 10 people submitted the form for your latest offer, 5 from advertising, 5 from organic search. Google Analytics can tell you what ads those 5 saw, what device(s) they were on, and their navigation to that page. Google Analytics is an excellent complement to your reporting with HubSpot.
Curious about if these issues exist within your HubSpot site? Sign up for our complimentary website analysis & review!
Image by Copper Kettle via flickr, licensed under CC by-SA 2.0