Install the Panelbear 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 collects the metrics necessary to show you the insights in the dashboard. For more information on what it collects check out what we collect.

Install script

Installing the analytics script on your website is super simple. All you need to do is:

  1. Go to the settings page for the site.
  2. Copy the snippet shown in the Analytics.js snippet section.
  3. Paste the snippet on your website's HTML, preferably at the bottom of the <head> section.

For example, the analytics script might look something like this (please use the one shown in your dashboard):

Analytics snippet

Using React, Wordpress or another framework? Panelbear integrates with all major software, check out our integrations.

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 into your website.

Tip: Check out our local development guide for some tips and tricks when trying out Panelbear locally.

Mission complete!

Congratulations on completing the integration with Panelbear. That was easy, wasn't it?

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.