Forums » Help & Troubleshooting



Amp support

Hello
As I understand the new Google Amp pages will not do JavaScript. Is there a way to add my tracking code to an Amp page?

Thank you

Posted Mon May 30 2016 8:48a by ucar***


@ucare: The last line of the 'standard' (i.e. non-asynchronous) tracking code by Clicky is intended for non-JS clients.

What it does is load a small (1x1 pixel) .gif image which is only good for tracking basic user behavior such as page loads, but can't do more sophisticated stuff such as page titles, visitor origin, outgoing links, campaigns, heatmaps, etc. But still better than nothing I guess.

More info here: https://clicky.com/help/faq/tips/different/noscript

Cheers

Posted Tue May 31 2016 1:54p by drkskwl***


Well its better than nothing. I expect as much from Google. I am not sure how this Amp will do. It may be another google flop.
Thank you.

Posted Tue May 31 2016 8:18p by ucar***


We have a pull request pending with Google to add Clicky support to AMP.

https://github.com/ampproject/amphtml/pull/3346

Posted Wed Jun 1 2016 9:36p by Your Friendly Clicky Admin


They just accepted our pull request :D

https://github.com/ampproject/amphtml/commit/7fda898271eb06f8633e5730ab07492890886e29

Posted Thu Jun 2 2016 8:14p by Your Friendly Clicky Admin


Great. So that means they are working on it?

Thanks for the update.

Posted Fri Jun 3 2016 12:43a by ucar***


You must be logged in to your account to post!