Skip to main content
Notra loads the Databuddy script on every live page and allows Databuddy’s script and ingestion hosts in the CSP. Every option you set in blog.json is passed to the tracker, so you can turn on web vitals, error tracking and custom events, skip or mask paths and tune batching without writing a custom script.
1

Copy your Client ID

In Databuddy, open your website and copy the data-client-id value from its tracking code. It’s a public ID, so no API key is needed.
2

Add it to Notra

Open Studio → Sites, select your site, open Integrations and click Add Databuddy. Paste the ID into Client ID and switch on the tracking you want. To configure it in your repository instead, add it to blog.json:
blog.json
3

Publish and verify

After you publish the change and the production deployment finishes, visit your live site and check the realtime view in Databuddy.

Options

The dashboard covers the Client ID and the four most common tracking switches. Every other option is set in blog.json, and editing the integration in the dashboard keeps those options as they are. Notra adds the origins of scriptUrl and apiUrl to the Content-Security-Policy automatically.

Custom events

With trackAttributes on, you can track clicks in your own components or MDX without any JavaScript. Databuddy sends the data-track value as the event name and the element’s other data-* attributes as properties:
Last modified on October 19, 2026