Skip to content

Add deep link tracking to the React Native tracker - #1398

Merged
Matus Tomlein (matus-tomlein) merged 2 commits into
wip/react-nativefrom
issue/rn-deep-link-tracking
Dec 10, 2024
Merged

Add deep link tracking to the React Native tracker#1398
Matus Tomlein (matus-tomlein) merged 2 commits into
wip/react-nativefrom
issue/rn-deep-link-tracking

Conversation

@matus-tomlein

Copy link
Copy Markdown
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).

@bundlemon

bundlemon Bot commented Dec 9, 2024

Copy link
Copy Markdown

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
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

Comment thread trackers/react-native-tracker/test/plugins/deep_links.test.ts Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants