Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: exclude bot traffic from page views and opportunities ctr calculations #446

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rpapani
Copy link
Contributor

@rpapani rpapani commented Nov 17, 2024

@rpapani rpapani changed the title fix: Exclude bot traffic from page views and opportunities ctr calculations fix: exclude bot traffic from page views and opportunities ctr calculations Nov 17, 2024
Copy link

This PR will trigger a patch release when merged.

@@ -102,6 +162,7 @@ describe('Rum bundler client', () => {
const containsCorrectData = result.every((item) => item.events.length === 1 && item.events[0].checkpoint === 'good');

expect(result.length).to.equal(dates.length);
// eslint-disable-next-line no-unused-expressions
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

somehow eslint is blocking me from committing, so I've to add these, even though this is not related to my change.

@ekremney
Copy link
Member

ekremney commented Nov 21, 2024

@rpapani @ramboz if you directly use the new rum-distiller lib we have; the bot traffic is automatically excluded :D

as example, high-inorganic-high-bouncerate is ported to rum-distiller and excluding the bot traffic by default: https://github.com/adobe/spacecat-shared/blob/main/packages/spacecat-shared-rum-api-client/src/functions/opportunities/high-inorganic-high-bounce-rate.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants