I use PWA with AMP. I want to track users that clicked to Add To Homescreen button, but AMP doesnt allow custom javascripts. I use amp-analytics component. How can i trigger on PWA's "beforeinstallprompt" event on AMP ?
Add to homescreen Event On Amp Analytics
383 Views Asked by KadirCanerErgun At
1
There are 1 best solutions below
Related Questions in ANALYTICS
- Unity3d: How to Integrate Parse in Unity for iOs Builds?
- Google Analytics time delay in events report
- Talend Open Studio for Big Data
- Tracking pages as they are created
- Version Control for analytic projects
- Do I need to include all methods in setup tracking code piwik?
- how to share different urls via uiactivityviewcontroller?
- Adobe Analytics - Log/debug back-end traffic
- How do I view Custom Dimension reports in GA?
- How to find demographics (and other audience information) for a single page in Google Analytics?
- Redirection url in Adobe Analytics
- How many users visited two unique pages in one session?
- API request count on Analytics and Number of Record on Installation table
- Google Event Tracking Using jquery multiple events
- Tracking analytics on the submission of a form
Related Questions in AMP-HTML
- Html Amp Post shows the current page url?
- AMP image is not appearing
- AMP-html element media queries in Safari/IE
- amp-ad not working correctly in combination with amp-fx-flying-carpet
- Remove default border in -amp-accordion-header
- When loaded with AMP :Website is not rendered correctly and unable to scroll
- .htaccess redirect mobile visitors to amp version
- AMP page with basic authentication
- Google Tag Manager 403's every request even if CORS mapping is defined
- How to handle "the author stylesheet specified in tag 'style amp-custom' is too long" in AMP?
- AMP requires async js; is there a way to have a local fallback?
- Is AMP ( Accelerated Mobile Pages ) compatible with angular2?
- Custom Google AMP tag and attributes in PhpStorm?
- Can I use AMP (Accelerated Mobile Pages) components/tags on a page that is not a valid AMP page?
- Images not showing on Amp version
Related Questions in PROGRESSIVE-WEB-APPS
- Cannot install service worker in Chrome
- Android Status Bar Icon for Progressive Web App
- What is the lifecycle of an installed Progressive Web App on Android?
- Right place for response parsing in PWA?
- Progressive Web App Authenticate to API
- Is there a common, or better way to achieve progressive enhancement with Polymer?
- Why am I seeing "Error - Only secure origins are allowed" for my service worker?
- How can I list my blog posts already stored in the browser cache by a Service Worker?
- "New version available" with service worker and sw-precache
- Push event of service worker is not being called
- Progressive Web Apps - Navigating between multiple cached pages while offline
- Progressive Web Apps with Ionic2 - advice on best practices to maximize client code reuse on all devices
- Service Worker not working in Offline mode with node js server
- How to remove and again import link in polymer?
- Offline Websites redirected uri as rootpage
Related Questions in ACCELERATED-MOBILE-PAGE
- Angular2 how to initialize a component when it becomes visible
- AMP pages for API base system
- Open Graph namespace declaration and Accelerated Mobile Page (AMP) Validation
- Google requiring certain properties for certain types when adding Schema.org markup?
- Amp-carousel (slides type) sets on overflow hidden even when layout responsive is set to the component
- AMP(Accelerated Mobile Pages) in Drupal
- Is it possible to create an attribute in square brackets in XSLT 1.0
- The attribute 'action' may not appear in tag 'FORM [method=POST]' while making AMP pages in asp.net
- What would be the AMP Cache status if the backend throws 504
- FORM [method=POST] error - AMP pages prepared with C# Asp.NET
- Yii2: how to show different layouts depending on url route?
- AMP Pages Multiple Analytics Solutions Implementation (Google Analytics and Adobe Analytics)
- Can't display hosted images in AMP site
- Open details page in AMP with dynamic data (get query string from url)
- AMP-LIST - Change Height on [src] Change
Related Questions in AMP-ANALYTICS
- AMP Analytics Source with Slash in URL
- Nextjs: how to integrate google analytics in amp pages
- How to dynamically show or hide html based on a server's response
- viewContent event in AMP-pixel
- Google Ads Conversion Tracking only firing on some Leads from AMP HTML
- amp-analytics to track Facebook Pixel lead events
- Fire google amp-analytics event in an amp page when amp-form submit success
- Is it possible to push triggers from the amp-analytics tag to GTM?
- Google analytics shows clicks from cached amp pages as direct/none
- amp-experiment info not visible in GA or Google Optimize
- Is there an AMP function equavlent to amp-analytics for Bing Universal Event Tracking?
- How to track scroll depth of Facebook Pixel in AMP page using amp-analytics?
- AMP-Linker - The script tag contains invalid JSON that cannot be parsed
- Facebookpixel ViewContent in AMP Pages
- How to fix AMP analytics tracking via GTM
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I'm not sure if this is possible at all. As you are well aware, AMP doesn’t allow custom JavaScript.
I've read about The Washington Post using PWA and AMP-HTML together at a certain extent using amp-install-serviceworker but not entirely sure if this is your use case.