1
Copy Tracking Script
First, get your script from the dashboard.Go to the Settings of your website in the bchic Dashboard and copy the HTML code. It looks something like this:
2
Install Plugin
To safely insert the code, use the free plugin WPCode (formerly “Insert Headers and Footers”).
- Log in to your WordPress Admin Panel.
- Go to Plugins > Add New.
- Search for
WPCode. - Install and activate the plugin by “WPCode”.
3
Insert Script
After activation, you will find the item Code Snippets in the menu on the left.
That’s it! Clear your cache if necessary, and bchic will track all visitors from now on.
- Go to Code Snippets > Header & Footer.
- Paste your bchic script into the first field Header.
- Click Save Changes in the top right.
That’s it! Clear your cache if necessary, and bchic will track all visitors from now on.Important Note on Caching Plugins
WordPress sites often use aggressive caching or optimization plugins (like WP Rocket, Autoptimize, SiteGround Optimizer). These plugins often try to combine JavaScript files (minify/combine). This can cause our script to stop working correctly. The Solution: Make sure our script is excluded from “Minification” or “Combination”. Look for a setting like “Exclude External Scripts” or “Ignored URLs” in your caching plugin and add the following domain:analytics.bchic.de/script.js
Advanced: Track Authors (Custom Events)
Do you want to know which authors are read the most on your blog? You can solve this via a Custom Event in yourfunctions.php.
Paste the following code into the functions.php of your child theme or into a Code Snippet plugin (as a PHP snippet):

