Wordpress

SiteBehaviour Analytics is creating its own WordPress plugin to help install our Tracking Code on sites that use WordPress. You don't need to be on a paid plan with SiteBehaviour to use this plugin.

Installing the plugin on self-hosted versions of WordPress will be free.

As of now, you can use the WordPress plugin - WPCode to add code snippets in your WordPress websites

  1. Go to your SiteBehaviour Organisation's page and click on the Settings button for your site.

  2. Go to the Tracking code tab.

  3. Click on Copy to copy the Tracking Code to your clipboard.

  4. On your WordPress dashboard, click on Plugins Menu.

  5. Choose the WPCode plugin from the plugins list and click Install Now. WPCode (formerly known as Insert Headers and Footers by WPBeginner) is the most popular code snippets plugin for WordPress used by over 2 million websites.

  6. After installation, click Activate.

  7. Go to Code Snippets > Header & Footer.

  8. In the Header section, paste the copied script.

  9. Click Save Changes..

  10. After allowing a couple of minutes for the update, check SiteBehaviour's Dashboard for statistics. We recommend visiting your website to ensure that your initial activity is accurately reflected on the SiteBehaviour Dashboard.

Still having trouble installing the code?

If your WordPress site uses caching plugins, you may need to clear your cache to ensure the script is added to your site.

Additionally, after installing the Tracking Code, it’s important to wait a few minutes. This usually occurs as soon as your site is loaded with the SiteBehaviour Tracking Code (you can visit your site yourself to expedite this process).

Last updated