Wordpress
Last updated
Last updated
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
Go to your SiteBehaviour Organisation's page and click on the Settings button for your site.
Go to the Tracking code tab.
Click on Copy to copy the Tracking Code to your clipboard.
On your WordPress dashboard, click on Plugins Menu.
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.
After installation, click Activate.
Go to Code Snippets > Header & Footer.
In the Header section, paste the copied script.
Click Save Changes..
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.
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).