# Install on WordPress

> Use the Reveata plugin for the tracking script and a dashboard widget in wp-admin.

The Reveata plugin adds the tracking script and shows your last 7 days on the wp-admin dashboard.

## Install the plugin

1. Download the plugin: [reveata-wordpress.zip](https://reveata.com/downloads/reveata-wordpress.zip) (version 0.4.0). In WordPress go to **Plugins → Add New → Upload Plugin**, choose the zip, then **Install Now** and **Activate**.
2. In Reveata open your website’s **Settings → Developer** and create a website API key.
3. In WordPress go to **Settings → Reveata**, enter your Reveata address (`https://reveata.com`) and the key, then select **Connect**.

The plugin finds your website from the key, so there is nothing else to copy.

Reveata Analytics is not in the WordPress.org plugin directory yet, so WordPress can’t update it for you: to update, download the zip again and upload it the same way (WordPress offers to replace the installed version).

## Options

| Option | Default | What it does |
| --- | --- | --- |
| Cookieless mode | off | Loads the cookieless script: nothing is stored in visitors’ browsers. |
| Administrators | not tracked | Visits of logged-in administrators are not counted. |
| Hash routes | off | Counts `#/route` changes as pages. |


## Without the plugin

Add the snippet to your theme’s `<head>` with a header-scripts plugin, or in your child theme’s `header.php` before `</head>`:

```html
<script
  defer
  data-website-id="ws_your_tracking_id"
  src="https://reveata.com/js/script.js"
></script>
```

## Check it works

Open your site in a private window, then check that the visit appears in your Reveata dashboard. If it doesn’t, follow [Verify your installation](https://reveata.com/docs/verify-your-installation).
