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

Add deep link tracking to the React Native tracker #1398

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

matus-tomlein
Copy link
Contributor

Adds the trackDeepLinkReceivedEvent function to the RN tracker.

Along with that, there are a couple of autotracked things:

  1. The tracker assigns the url and refr atomic parameters on the deep link and first screen view events according to the info in the deep link event (this is for the referrer parser enrichment).
  2. A deep link context entity is assigned on the first screen view event following the deep link event (there is an option to disable this).

Copy link

bundlemon bot commented Dec 9, 2024

BundleMon

Files added (6)
Status Path Size Limits
trackers/javascript-tracker/dist/sp.js
+24.54KB 30KB / +10%
libraries/browser-tracker-core/dist/index.mod
ule.js
+23.59KB 25KB / +10%
libraries/tracker-core/dist/index.module.js
+19.5KB 20KB / +10%
trackers/browser-tracker/dist/index.umd.min.j
s
+17.44KB 20KB / +10%
trackers/javascript-tracker/dist/sp.lite.js
+17.39KB 20KB / +10%
trackers/browser-tracker/dist/index.module.js
+3.49KB 5KB / +10%

Total files change +105.95KB 0%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history

Copy link

@mscwilson mscwilson left a comment

Choose a reason for hiding this comment

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

LGTM

@matus-tomlein matus-tomlein force-pushed the issue/rn-deep-link-tracking branch from dcf5fd6 to 74d0eac Compare December 10, 2024 08:47
@matus-tomlein matus-tomlein merged commit d6a87a0 into wip/react-native Dec 10, 2024
3 checks passed
@matus-tomlein matus-tomlein deleted the issue/rn-deep-link-tracking branch December 10, 2024 08:52
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