Install Simple Analytics on other platforms
Platform guides
We try to make installing Simple Analytics as simple as possible. We want privacy to be as accessible as possible. We don’t require the need for a developer if you use any of the following tools.
Read our guides on how to install Simple Analytics on:
- Google Tag Manager (source on GitHub)
- WordPress (source on GitHub)
- Ghost
- WIX
- Squarespace
- Webflow
- Framer (plugin on the Framer Marketplace)
- Jimdo Creator
- MailerLite
- GoDaddy
- Netlify (turn it on per site, only for sites with a build step)
- Buttondown (turn on Simple Analytics under Integrations)
- GitHub Pages (add the script to the main template, like
_layouts/default.htmlfor Jekyll, see Jekyll below) - Google Sites (limited: it runs the script in a sandbox, so page paths, referrers and UTM codes aren’t tracked. Add it to every page with Insert, Embed, Embed code, with
data-hostnameset to a domain you added, because you can’t addsites.google.com. Check each page sends a page view. To count every visit as/, overwrite the path) - NodeBB (drag an HTML widget with the script into the Global Footer, under Extend and Widgets)
Cloudflare has deprecated Cloudflare Apps, so you can no longer install our Cloudflare App. Add our script to your website instead.
Are you missing your favorite platform? Let us know! Happy to create a guide or plugin for you.
Framework plugins
For most frameworks, you can include the script. We magically track page views, so you don’t have to change your app code. Read on how we do that. For some, we got requests to create a plugin for them.
Get our official plugins for these frameworks:
- React (package on npm)
- Next.js (package on npm)
- Vue (source on GitHub)
- Nuxt.js (package on npm)
- VuePress (source on GitHub)
- Gatsby (source on GitHub)
- Gridsome (source on GitHub)
- Astro (guide on GitHub)
- Docusaurus (source on GitHub)
- Hugo (guide only)
- Jekyll (add the script to the base layout, usually
_layouts/default.html, just before</body>. With a theme gem, copy the theme’s layout into_layouts/first) - Vite (add the script to
index.html, or add it with thetransformIndexHtmlplugin hook) - Ruby on Rails (source on GitHub)
- Django (source on GitHub)
- Laravel (package on Packagist)
- Drupal (source on GitHub)
- Analytics library (source on GitHub)
Are you missing your favorite framework? Let us know! Happy to create a plugin for you.