Skip to main content

How to install Visitor Analytics on Wordpress

Two options. Same Result.

We are now part of the WordPress community. You can add Visitor Analytics to your WordPress site directly from the Plugins Market.

Basic installation

1. Go to your Wordpress Dashboard

2. Select the Plugins menu

3. Hit the Add new button

4. Now, you can browse through the plugins or search directly for visitoranalyticsio (easiest way), or you can also upload the plugin in .zip format, if you downloaded it before.

Get a better understanding of how to install the app, checking out the following video:

You can also check further FAQs about using Visitor Analytics on WordPress

Further possibility

More than that, if you do not want to install the plugin, you can simply add a script (our tracking code) to the source code of your website, following these steps:

  1. Sign in to or register your Visitor Analytics account
  2. Add your website url and select your timezone
    NOTES: If you are registering a new account, you will fill in the website URL during the process. We recommend you to copy the URL address from the address bar of your browser. This way you make sure that the URL is complete and correct and includes the protocol, if the case.
  3. Copy the Tracking Code generated by our app
  4. Log into your WordPress account 
  5. Select Plugins from the left sidebar menu
  6. Click Add New and search for Header and Footer Scripts (or any other plugin that adds scripts to your website)
  7. Make sure that you install and activate  it
  8. Click on the Settings from the left sidebar menu
  9. Select Header and Footer Scripts (or the plugin you have installed for this job)
  10. Paste your Tracking code into the Footer field and select Save settings (or somewhere in the body section would be even better, if possible)

Important note:  If you do not want to use a plugin that allows you to add scripts such as Header and Footer Scripts, or the plugin isn't working for you, you can still track your self-hosted WordPress site by adding the tracking code to your theme's footer.php file.

Our recommendation is to open your theme's php file in the WP editor, and paste in your tracking code right before the closing </body> tag.