Google AMP Web Analytics Plugin

⬅️ Back to all plugins  

AMP has support for Clicky built in. Add the AMP analytics code to your site, in the <head> area: (Note: don't do this more than once, e.g. if you're using another analytics service with AMP, you probably already have this line of code installed.).

<script async custom-element="amp-analytics" src="https://cdn.ampproject.org/v0/amp-analytics-0.1.js"></script>


Then, add this code to the <body> section of your site. You'll need to replace the 'YOUR_SITE_ID_HERE' reference with your actual Clicky site ID.

<amp-analytics type="clicky">
<script type="application/json">
{
  "vars": {
	"site_id": "YOUR_SITE_ID_HERE"
  }
}
</script>
</amp-analytics>


Looking for a fresh web analytics experience?

📢 Register for Clicky now and use the plugin/instructions on this page to track your website!