amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Add to homescreen event on AMP-Analytics

Open kadircanerergun opened this issue 9 years ago • 9 comments

I'm using pwa with amp and i want to track users who clicked to Add To Homescreen button. How can i do it ? I think there is "beforeinstallprompt" event on pwa but how can i use it on AMP-ANALYTİCS ?

kadircanerergun avatar Feb 13 '17 06:02 kadircanerergun

/to @rudygalfi as well

ericlindley-g avatar Feb 13 '17 18:02 ericlindley-g

Hello @rudygalfi , @ericlindley-g what is the progress of this Feature. We have the same issue, we want to track how many user clicked on the "add to homescreen" banner. Is there anyway to do that? If not we want to help if we can, so please guid us so we can open a pull request.

ahmedzidan avatar Jan 26 '19 08:01 ahmedzidan

cc @jeffjose - could you comment if we're planning to prioritize this soon? In light of @ahmedzidan's offer to help implement it, perhaps we could offer some design guidance so they can submit their own PR if we're not planning to take this on soon?

rudygalfi avatar Jan 28 '19 18:01 rudygalfi

The plan is to combine all those requirements into one feature "DomEvent" trigger: https://github.com/ampproject/amphtml/issues/12494#issuecomment-451009869

@ahmedzidan glad you show interests to contribute to AMP. This is definitely a great feature to add in amp-analytics.

Here is a guideline for such a medium size change in AMP: https://github.com/ampproject/amphtml/blob/master/contributing/contributing-code.md#process-for-significant-changes

@zhouyx and I can be your contact point.

lannka avatar Jan 31 '19 23:01 lannka

Thanks @lannka , i will start working on that and if i need help will ask you

ahmedzidan avatar Feb 04 '19 02:02 ahmedzidan

Thanks, @ahmedzidan. Looking forward to your PR.

jeffjose avatar Feb 04 '19 23:02 jeffjose

thanks @ahmedzidan . before PR please start with an "Intent To Implement" issue and talk about high level requirement and design. See this guideline for details.

lannka avatar Feb 04 '19 23:02 lannka

Any update here? Thanks

zhouyx avatar Jul 02 '19 17:07 zhouyx

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 18 '21 23:02 stale[bot]