# Plausible Analytics

> Adds the lightweight, cookie-free Plausible Analytics script.

- Type: HTML
- Runs: Site-wide header
- Category: [Analytics & Tracking](https://wpide.com/library/category/analytics/)
- Tags: analytics, plausible, privacy
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/plausible-analytics/

## Code

```html
<!-- Plausible Analytics. Replace example.com with the domain you added in Plausible. -->
<script defer data-domain="example.com" src="https://plausible.io/js/script.js"></script>
```

## Notes

If you self-host Plausible, replace plausible.io with your own host.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Plausible Analytics" in its snippet library and add it in one click; or create a new HTML snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
