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 utm query parameters to internal pwa links #667

Closed
NicoHood opened this issue Apr 10, 2022 · 2 comments
Closed

Add utm query parameters to internal pwa links #667

NicoHood opened this issue Apr 10, 2022 · 2 comments

Comments

@NicoHood
Copy link

Is your feature request related to a problem? Please describe.
I'd like to track which links are clicked by the app and which not. It would be nice to add utm query parameters for that.

Describe the solution you'd like
Here is a possible solution described:
https://stackoverflow.com/questions/54580414/how-can-i-detect-if-my-website-is-opened-inside-a-trusted-web-actvity

Describe alternatives you've considered
If there is any other option to track if the site is running via app instead of a browser, that'd be nice. Maybe a special user agent or so.

Additional context
https://ga-dev-tools.web.app/campaign-url-builder/
(This can be used with matomo as well)

@andreban
Copy link
Member

Modifying links in the web app is outside the scope of this project, as it focuses on building / launching the app. The link posted would be the best way to do it, indeed.

@NicoHood
Copy link
Author

I will use the new start url:

"startUrl": "/?utm_medium=app&utm_source=android&utm_campaign=app-launch-count",

fcsan88 referenced this issue Apr 24, 2022
- Cleans-up code on `help.ts` that was affected by the rule.
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

No branches or pull requests

2 participants