Add Antlytics to Contentful
Contentful is a headless CMS — it stores and delivers content but has no built-in frontend. The Antlytics snippet goes in your frontend application, not in Contentful itself.
Follow the guide for your frontend framework:
- Next.js App Router — the most common Contentful frontend
- Gatsby — also widely used with Contentful
- Plain HTML / vanilla JS — for simple frontends
Add the snippet to your root layout so it runs on every page that renders Contentful content.
Need help?
Email support@antlytics.com with your site ID and page URL.
Something missing? Get in touch and we will update these docs.