After having added your WordPress site on Statcounter & successfully generated the tracking code, you need to install the code to the site.
You can do this either via the official plugin or add it mannually.
- Using the Official plugin:
Log in to your WP dashboard, search for the Statcounter official plugin, install & activate it. Then enter your project id and security code.
- Adding the code manually:
Under the sign “WordPress.org Detected”, click on “Default installation Guide”, then copy and paste the code in Footer.php of the theme you’re using (Appearance – Editor – Footer.php), just before the closing </body> tag. Ocassionally it may not work, you can try another place in Footer.php to paste it.
After having added the code, you can click on “Verify Installation” to see if it is working.