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

feat(web-sdk): add webVitalsInstrumentation.trackAttribution, enable by default #991

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

Conversation

eskirk
Copy link
Collaborator

@eskirk eskirk commented Feb 20, 2025

Why

the trackWebVitalsAttribution feature was underutilized and provides more value for users than most know. in this PR we enable it by default to provide more web vital data out of the box.

What

  • added webVitalsInstrumentation.trackAttribution
  • enable trackWebVitalsAttribution and trackAttribution by default

@eskirk eskirk requested a review from codecapitano February 20, 2025 22:23
Comment on lines +18 to +19
this.config?.trackWebVitalsAttribution === false ||
this.config?.webVitalsInstrumentation?.trackAttribution === false
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's initialize default settings in makeCoreConfig().
It's the central hub for everything config related and we already add all the default values there.

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.

2 participants