> For the complete documentation index, see [llms.txt](https://docs.getlimy.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getlimy.ai/limy-pixel/cdn-integration/wordpress.md).

# WordPress Plugin

Setup guide for the Limy Agent Analytics WordPress plugin

{% stepper %}
{% step %}

#### Install the plugin

Pick one of these:

* **From WordPress:** go to `Plugins > Add New`, search for **Limy Agent Analytics**, then click **Install Now**.
* **Manual upload:** download the plugin from the [WordPress Plugin Directory](https://wordpress.org/plugins/limy-agent-analytics/) and upload the `limy-agent-analytics` folder to `/wp-content/plugins/`.
  {% endstep %}

{% step %}

#### Activate the plugin

Go to `Plugins`, find **Limy Agent Analytics**, and click **Activate**.
{% endstep %}

{% step %}

#### Configure the connection

Go to `Settings > Limy Agent Analytics`. In the **Connection** section, set these fields:

| Field             | Value                                 |
| ----------------- | ------------------------------------- |
| Activate Tracking | Checked                               |
| API Key           | Your Limy API key                     |
| Collector URL     | `https://stream.getlimy.ai` (default) |
| Batch Size        | `500`                                 |
| Dispatch Interval | `600` seconds                         |

Click **Save Changes**.
{% endstep %}

{% step %}

#### Choose a data source

{% hint style="info" %}
Note: WordPress deployments that sits behind a CDN may not receive all traffic due to caching. We collect all requests that arrived to the WP Varnish cache or the server itself.&#x20;
{% endhint %}

Depending on your WordPress deployment, do the following:

* **Hosted on WP Engine:** click **Use WP Engine access log**. This option is recommended.
* **Other hosts:** click **Scan for access logs**. If a log is found, click **Use this log**.
  {% endstep %}
  {% endstepper %}
