How to Add Custom Event Tracking for Framer Sites in 2026
Learn how to track custom events like button clicks, form submissions, and user interactions on your Framer site with Humblytics — no cookies required.

Want to see this in action?
Run A/B tests, track funnels, and get agent-powered insights — free for 14 days.
How to Add Custom Event Tracking for Framer Sites in 2026
Learn how to track custom events like button clicks, form submissions, and user interactions on your Framer site — without cookies or complex code.
What Are Custom Events?
Custom events let you track specific interactions beyond page views — like button clicks, video plays, scroll depth, or form submissions. In 2026, understanding micro-interactions is essential for optimizing conversion funnels and delivering the experiences your visitors expect.
With Humblytics, custom event tracking is privacy-first and cookieless, so you get accurate behavioral data without consent banners getting in the way.
Adding Custom Event Attributes
In Framer, select the element you want to track and add a custom attribute:
humblytics="your-event-name"
That's it — no JavaScript snippets, no tag managers, no third-party scripts. Humblytics picks up the attribute automatically and starts recording interactions as soon as your site is published.
Example: Tracking a CTA Button
- Select your button in Framer
- Open the Code tab
- Add attribute:
humblytics="cta-click" - Publish your site
Within seconds, you'll see the event appear in your Humblytics dashboard. You can use the same approach for any clickable element — navigation links, pricing toggles, accordion expanders, video play buttons, and more.
Naming Best Practices
Use clear, descriptive event names so your data stays organized as you scale:
hero-cta-click— primary call-to-actionpricing-toggle— monthly/annual switchvideo-play— embedded video engagementform-submit— contact or signup form completionnav-docs-click— documentation link in the navbar
Consistent naming makes filtering, segmenting, and building funnel reports far easier down the road.
Viewing Events
Custom events appear in your Humblytics dashboard under the Events section. You can filter by event name, date range, page, and traffic source — then feed those insights directly into A/B tests or funnel analysis to optimize your Framer site's performance.