Adding analytics to Notion pages

Installing the analytics script on your Notion based website is super simple. While Notion does not currently offer a way to add scripts to your documents, you can use a tool such as Potion or Super to turn your docs into a complete website, plus Panelbear to get traffic stats and performance metrics.

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.

Using Super

Please note that Super.so requires a plan upgrade for the custom code feature.

This guide assumes you already created your Panelbear account. We'll be using Super to turn your Notion document into a website:

  1. If you haven't already, create a new website on Panelbear, give it any name you want to help you recognize it later.
  2. Copy the Javascript snippet that is shown to you after creating the website. Alternatively, you can always find it again from the Site Settings page.
  3. Login to Super, go to your site's "Code" settings, and paste the Panelbear snippet into the "Head" section.
  4. Save, and you're done!

Super.so custom code

Using Potion

This guide assumes you already created your Panelbear account. We'll be using Potion to generate your Notion website:

  1. If you haven't already, create a new website on Panelbear, give it any name you want to help you recognize it later.
  2. Copy the Javascript snippet that is shown to you after creating the website. Alternatively, you can always find it again from the Site Settings page.
  3. Login to Potion, and paste the Panelbear snippet into Potion's snippet injection editor.
  4. Save, and you're done!

Check your installation

After you have added our analytics script to your website, you should be able to see pageviews show up in the dashboard within a minute of the visitors coming into your website.

If you need help, you can reach out to us at [email protected].