Hi @peoples_pundit,
As you are making some modifications, i would suggest you to remove this code (<script async custom-element=”amp-analytics” src=”https://cdn.ampproject.org/v0/amp-analytics-0.1.js”></script>) as its already added by the plugin.
I hope this will fix your issue.
Thanks
Regards,
Team AMP
I would if the plugin supported Clicky. At least that’s what it looks like from the dropdown select box. Otherwise, I have to add it with a custom function, which creates a duplicate. Am I explaining this okay?
Hey @peoples_pundit,
Yes, I totally understood your point, we are constantly developing and improving our plugin on the feedback from the community.
I personally love clicky and even use it AMPforWP.com. Will add Clicky support built in future updates, meanwhile, I’ll write a small guide on how to add Clicky analytics to the AMP site, without any conflicts or issues.
Please do let me know your feedback and suggestions on how we can improve the plugin.
Thanks,
Mohammed Kaludi
Hey @peoples_pundit,
I have written a tutorial on how you can add clicky in amp, please check here https://ampforwp.com/how-to-add-clicky-analytics-in-amp/
I hope this will help you.
Thanks,
Mohammed kaludi
@mohammed_kaludi
I’m having a similar question and I think my solution is even better.
Instead of adding support for al sorts of analytics can you add:
GTM (Google Tag Manager) within GTM and the AMP container you can add all Analytics without having to change any code. Including Clicky etc…
Here is a detailed blog post what to include..
Load the JSON configuration object as an external resource
https://www.simoahava.com/analytics/accelerated-mobile-pages-via-google-tag-manager/
If you can include it in your plugin or write a tutorial so I can do it myself it would be really helpfull…
@peoples_pundit and @rsavijn This plugin now supports Google Tag Manager, so now as rsavijn mentioned above you can add any Visitor Tracking/Analytics Company that is supported by AMP.
List of all the Analytics vendors supported by AMP https://www.ampproject.org/docs/reference/components/amp-analytics#analytics-vendors
Please do let us know your feedback.
Thank you,
Mohammed Kaludi