Docs

Add RUM to your Notion page

2 min read

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.

Once you have added your site, all that is left to do is integrate our analytics snippet. The analytics snippet is 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 Cronitor account. We’ll be using Super to turn your Notion document into a website:

  1. If you haven’t already, add your site to Cronitor, 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.
  3. Login to Super, go to your site’s “Code” settings, and paste the Cronitor RUM snippet into the “Head” section.
  4. Save, and you’re done!

Using Potion

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

  1. If you haven’t already, add your site to Cronitor, 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.
  3. Login to Potion, and paste the Cronitor 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.

Need help? Check out common questions or reach out to us!