google / amp-pwa-demo

A simple, dependency-free blog that uses a Progressive Web App (PWA) to show Accellerated Mobile Pages (AMP).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

interceptLinkClick interferes with amp-analytics click tracking

cvializ opened this issue · comments

If you check out my branch https://github.com/cvializ/amp-pwa-demo/tree/click-bug and click on a link, you'll notice that the request to example.com does not occur after the user clicks a link. If you comment out e.preventDefault in interceptLinkClick, the analytics request does occur.

This bug was encountered while troubleshooting ampproject/amphtml#11540 where the reporter appears to have used this demo as a starting point.

I can't reproduce this. Seems like this is fixed?

Same I will close for now.