• 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.


      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

      Ready to hire an agency? Get in touch with the team today!

      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

      close sales rates with video proposals
      Topic: Video Marketing, Sales Tips (3 Minute Read)

      How To Increase Sales Close Rates With Video: Proposals

      Data migration vs Data integration
      Topic: HubSpot (7 Minute Read)

      Data Migration vs Data Integration

      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.