How can I exclude bot stats from email performance reports in HubSpot?

Hi,

We are using API to build report similar to the perfromance tab. While pulling the data we noticed the stats are inclusive of bot numbers.

How can we exclude the bot stats in the overall email perforamce stats.
Thanks,

Rajaguru

Hey @RSivaraman and welcome, we are delighted to have you here!
Great question, thanks for asking the HubSpot Community!
Here is an article for information: “Understand bot filtering in marketing email analytics”.
Also, these similar threads might help you:
- The solution from my colleague Mia on this post “Filtered Email Events retrieved via API”
- The solution from @Jigar_Thakker on this post “Unusual Traffic Spike – Looking for Better Bot Filtering / Blocking Options”
Now, let’s consult our Top Experts: Hi @Anton, @MichaelMa and @sylvain_tirreau can you think of ways to exclude bot statistics from email performance data via API to help @RSivaraman, please?
Thanks so much and have a lovely day!
Bérangère

Thanks Bérangère. I am looking for this the filteredEvent property.

But the link is taking me to 404 error page. we am using V3 version, but after reading few documents the Filtered field is available in V1 email end point. kindly share your suggession on using the two different end points.

Hi @RSivaraman and thanks for getting back to us!
The filteredEvent property is part of the legacy v1 Email Events API (/email/public/v1/events), which you can find documented under the legacy email analytics API.

Just to clarify how the endpoints work together:

The v1 Marketing Email API (/marketing-emails/v1/) was sunset on November 1, 2025, so it’s no longer available.
However, the v1 Email Events/Analytics API is separate and continues to function, even after the marketing email v1 sunset.
The v3 Marketing Emails API (/marketing/v3/emails) is now used for creating, retrieving, and viewing statistics for emails, though it may not include the filteredEvent property from the v1 Email Events API.
Here’s my suggestion: Since the v1 Email Events API is still active, you can continue to use it to access filteredEvent data.
For all other email operations, the v3 API is the way to go.

If you have any other questions or need more details, feel free to ask!
Bérangère
This post was created with the assistance of AI tools