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: add url_ignorelist for autocapture config #1302

Merged
merged 6 commits into from
Jul 12, 2024
Merged

Conversation

pauldambra
Copy link
Member

@pauldambra pauldambra commented Jul 12, 2024

see https://posthog.slack.com/archives/C075D3C5HST/p1720808391615839

and https://posthog.com/questions/url-allowlist-for-exclude

@corywatilo made a totally reasonable assumption about how this works... and it's easy to make it work that way

This PR extends autocapture config so you can pass a url_ignorelist instead of (or as well as) a url_allowlist

Copy link

vercel bot commented Jul 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
posthog-js ✅ Ready (Inspect) Visit Preview Jul 12, 2024 6:55pm

Copy link

github-actions bot commented Jul 12, 2024

Size Change: +845 B (+0.07%)

Total Size: 1.18 MB

Filename Size Change
dist/array.full.js 329 kB +212 B (+0.06%)
dist/array.js 162 kB +211 B (+0.13%)
dist/main.js 162 kB +211 B (+0.13%)
dist/module.js 162 kB +211 B (+0.13%)
ℹ️ View Unchanged
Filename Size
dist/exception-autocapture.js 10.4 kB
dist/recorder-v2.js 110 kB
dist/recorder.js 110 kB
dist/surveys-preview.js 59.6 kB
dist/surveys.js 64.7 kB
dist/tracing-headers.js 8.26 kB
dist/web-vitals.js 5.79 kB

compressed-size-action

Copy link
Contributor

@Phanatic Phanatic left a comment

Choose a reason for hiding this comment

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

Looks great, ship it!

@pauldambra pauldambra added the bump minor Bump minor version when this PR gets merged label Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump minor Bump minor version when this PR gets merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants