-
Notifications
You must be signed in to change notification settings - Fork 659
Add scope and use utm_source in manifest.json #1049
Conversation
@abdonrd PTAL. |
I can merge a PR with only the Anyway, I'm not sure if change to |
The scope does two important things to maintain the "app experience" we are looking for as developers.
|
PSK is a developer boilerplate, why should it include utm parameters? |
@web-padawan Please take a look at |
@abdonrd Oh, I read your message wrong. I can change |
@FluorescentHallucinogen @web-padawan Thanks for your feedback! I will wait another approval from the Polymer Team. |
Any progress? |
Waiting for the Polymer Team... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm really unsure if utm_source is appropriate, and don't know about homescreen. @robdodson?
Also @FluorescentHallucinogen all PRs really should have a description that explains why the change is being made. You do that in the discussion, but it's easier if this is done up front. Thanks! |
@justinfagnani @robdodson @abdonrd FYI, Google Santa Tracker uses |
I don't think you need utm source. That's just if you want to do your own tracking. I'm assuming santa tracker was doing this to measure the number of PWA installs. |
If |
So can't we remove the |
This is for tracking visits of users that added the web app to home screen. It is documented here: https://developers.google.com/web/updates/2015/10/display-mode. |
IMO, I believe tracking the number of PWA installs is a good practice. PSK is a developer boilerplate which combines the best practices. That's why it was added to PSK. I just suggest using standard |
Reading over this thread again, I didn't notice that utm source was ignored by sw-precache. That actually is useful because you might visit the page online, add it to your homescreen, go offline, and then try to open the homescreen version. In that scenario, you would get the offline dinosaur because the service worker thinks /?homescreen=1 is different from /. I think I'm ok with this change going in. But I think it should be documented in the PSK readme. |
No description provided.