• magnifying glass icon
    • left wave svg right wave svg
      1 Mins

      Got A HubSpot Website? Your Google Analytics Tracking Is Broken.

      Got A HubSpot Website? Your Google Analytics Tracking Is Broken. Featured Image
      Published on May 23, 2018 by Steven Mitchell

      If you are using HubSpot COS as your web platform, then you almost certainly have some erroneous sessions being tracked in Google Analytics.

      If you are following standard practice for GA hygiene, you'll have already filtered your business' IP addresses (and any other static IP addresses used by employees or suppliers) from diluting your data. However, this may not be enough. When you use HubSpot to edit or preview website pages, landing pages or blog posts, your visits are (currently) still being counted in GA (probably).

      Why are my visits not being filtered  from GA?

      When you use the edit or preview modes in the HubSpot COS, HubSpot sends a bot on your behalf to fetch the page. Effectively, this means you are visiting the site via a proxy. This means the IP of the visit is from HubSpot's servers - NOT your IP address, which is the one you have filtered.

      Capture-4

      How can I stop this from happening?

      Easy peasy.  Create a new filter in Google Analytics. 

      • Name: Anti HubSpot Preview Filter
      • Filter Type: Custom
      • Exclude >
      • Filter Field: ISP Organisation
      • Filter Pattern: HubSpot

      This should prevent visits from HubSpot being included in your data.

      Still need some help?

      If you're having trouble taming the magnificent beast which is HubSpot, you can reach out to us. We're a Gold HubSpot Partner and would be delighted to help you conquer your inbound marketing strategy. 

      Let's Talk!

      Steven Mitchell

      Ste likes to mess about with the techie side of SEO. As such his blogs are mainly about SEO or rants about bad web development practice.

      Related Articles

      Topic: UX, Video Marketing (6 Minute Read)

      How To Burn Subtitles Into A Video For Free

      How to handle inbound sales calls - The S.A.L.E.S. Framework
      Topic: HubSpot, Sales Tips (7 Minute Read)

      How To Handle Inbound Sales Calls

      Subscribe to our blog

      Get monthly digital marketing tips sent straight to your inbox want to know what you expect before you subscribe? You can preview the monthly newsletter right here.