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>


🤖 Copy this prompt into your AI agent:

Help me install the clicky.com Google AMP plugin/extension on my website. Read `https://clicky.com/help/plugins-google-amp` for what it does and `https://clicky.com/help/agents` for general context. Install and configure it (it may need my site ID and sitekey, ask me to grab that from my site preferences), then verify pageviews are being logged via the API or live view before telling me you're done.



📢 Want clearer, faster analytics?

Sign up for Clicky today and see your data differently