> For the complete documentation index, see [llms.txt](https://docs.satisfilabs.com/resource-center/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.satisfilabs.com/resource-center/marketing-engine/settings-and-integrations/integrations/website-tracking/track-wordpress-websites.md).

# Track WordPress Websites

It’s easy to add Website Tracking to your WordPress site. Follow the steps below to use the WordPress plugin and install the JavaScript code:

1. Install the “WP-Matomo” plugin in your WordPress.

   * Log in to your WordPress site as the administrator.
   * In the left menu, Click on “Plugins” > “Add new” (if you can’t see the “Plugins” menu, then you can instead [follow these steps to insert the Website Tracking code manually in your WordPress Theme files](https://matomo.org/faq/new-to-piwik/how-do-i-manually-insert-the-matomo-tracking-code-on-wordpress/)).
   * Search for “Connect Factoreal” in the Keyword field on the “Add Plugins” page.

   <figure><img src="/files/zFoeN8QGZJD33paJ5Ywy" alt=""><figcaption></figcaption></figure>

   * Click on “Install Now” next to the “WP-Matomo” plugin

   <figure><img src="/files/d6Tlmati4LRjVBR5OXwq" alt="" width="375"><figcaption></figcaption></figure>

   * Now that the plugin is successfully installed, click on “Activate”.
2. In the left menu, click “Settings” > “WP-Matomo”.
3. In the “Satisfi Labs Mode” dropdown, select the option “Self-hosted (HTTP API, default)”.

<figure><img src="/files/hdkAxabj5wCR6GWVUQ5H" alt=""><figcaption></figcaption></figure>

4. In the “Website Analytics URL” text field, enter your Website Analytics URL, for example <https://analytics.example.com>.
5. In the “Auth token” text field, enter your Factoreal authentication token.
6. Confirm the “Auto config” checkbox is selected and click on “Save Changes”.
7. You should see “WP-Matomo is successfully connected to Factoreal” message. If you do not see the message, make sure the values you provided in the previous steps are correct, and try again.
8. Click on the “Enable Tracking” tab.
9. In the “Add tracking code” dropdown, select “Enter manually” and add the copied tracking script.

<figure><img src="/files/RWEDxKzNLfNvmMUSukiF" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/3zbxrHNvf0Yr3TjT5Zvv" alt=""><figcaption></figcaption></figure>

10. Click on “Save Changes” and a success message will appear.

<figure><img src="/files/lVGJ9vck0T3l3yHu0D86" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Don't hesitate to get in touch with our team at <me-support@satisfilabs.com> with any questions you may have!
{% endhint %}
