Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Feature request: Provide referrer url #240

Open
webberig opened this issue Jan 14, 2021 · 0 comments
Open

Feature request: Provide referrer url #240

webberig opened this issue Jan 14, 2021 · 0 comments

Comments

@webberig
Copy link

Whenever a user clicks a link in the browser and chooses to open our app, I need to know the url on which the link was found. The referrer is often used for marketing purposes to find out where users come from (ie. organic searches, referrals, ...). This article explains how this can be done in native code.

Unfortunately, this plugin does not implement this and therefor does not provide the referrer url to the Javascript. The information I get looks like this:

{"$link":{"url":"https://www.mywebsite.be/path/to/page/","path":"/path/to/page/","scheme":"https","host":"www.mywebsite.be","extra":{"org.chromium.chrome.browser.eenp":["be.zimmo.mobile"],"org.chromium.chrome.browser.referrer_id":6,"org.chromium.chrome.browser.request_metadata_token":[76,-13,-19,-81,-66,-123,-67,53,-95,100,29,-127,-20,100,-23,-79,70,64,46,-67,127,-7,-52,-9,118,-124,-60,38,-83,120,119,-82],"com.android.browser.application_id":"com.android.chrome"}}}

Would it be possible to add a property to the extra object ? (ie. extra.referrer="https://www.google.com/mysearchresults)

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

No branches or pull requests

1 participant