Integrating the analytics snippet
Once you have added your website to Panelbear, all that is left to do is integrate our analytics snippet.
It's a small piece of code that runs on your website, and it collect the metrics necessary to show you the insights in the dashboard. For more information on what it collects check out What do we collect?.
Installing the analytics script on your website is super simple. All you need to do is:
- Go to the settings page for the site.
- Copy the snippet shown in the
- Paste the snippet on your website's HTML, preferably at the bottom of the
For example, the analytics script might look something like this (please use the one shown in your dashboard):
Using React, Wordpress or another framework? We'll be adding specific guides and plugins soon, for now please just use the manual HTML method mentioned above. For Next.js you can follow the steps here.
Check your installation
After you have added our analytics script to the HTML of your website, you should be able to see pageviews show up in the dashboard within a minute of the visitors coming in to your website.
If you need help, you can reach out to us at [email protected].
Tip: If you're a developer, check out our local development guide for some tips and tricks.
Congratulations on completing the integration with Panelbear. That was easy, wasn't it? You now benefit of blazingly fast analytics, without compromising the privacy of your visitors.
Now all that's left to do is to let Panelbear do it's magic over time and you can view the insights in the dashboard.