# Add User-Agent filtering from analytics

**URL:** <https://community.hubspot.com/t/add-user-agent-filtering-from-analytics/23254>\
**Category:** HubSpot Ideas\
**Tags:** analytics-tools\
**Created:** [July 22, 2020, 3:02pm UTC](https://community.hubspot.com/t/add-user-agent-filtering-from-analytics/23254 "2020-07-22T15:02:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ErikB](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/erikb/32/7115_2.png) [@ErikB](https://community.hubspot.com/u/ErikB)\
**Post date:** [July 22, 2020, 3:02pm UTC](https://community.hubspot.com/t/add-user-agent-filtering-from-analytics/23254/1 "2020-07-22T15:02:23Z")

</div>

HubSpot’s “Bot Filtering” does not seem to be as robust as Google Analytics’s. We use a cookie management provider that crawls our website for cookies. It does not filter out this bot.

Since the bot uses dynamic IPs, we can’t put in a static list to filter out either. A possible solution would be the ability to filter out User-Agent strings, since the crawler bot is identifiable by a User-Agent string.

---

<div class="post-metadata">

**Author:** ![Danylo](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/danylo/32/43872_2.png) [@Danylo](https://community.hubspot.com/u/Danylo)\
**Post date:** [September 30, 2021, 4:43pm UTC](https://community.hubspot.com/t/add-user-agent-filtering-from-analytics/23254/2 "2021-09-30T16:43:00Z")

</div>

Hey @ErikB ! We use our own Google Tag Manager tag to track all the needed GA data (ga\_client\_id, ga\_user\_ip, ga\_user\_agent) and inject it into the non Hubspot form hidden fields (to be still tracked by HubSpot). Thus, you only need to setup a connector to send online/offline events to GA. Btw, Zapier does it wrong and doesn’t let to send the IP at all, to send to GA a correct geo of not a server, but a user.
