Aveiro Documentation
Monetization
Monetization Overview
Products
Getting Started
What Is Aveiro?
Create Your Account
Create Your First Site
Dashboard Tour
Key Concepts
Members and Permissions
API Tokens
Aveiro MCP server
Sites
Sites Overview
Choosing a Template
Managing Sites
Preview and Live URLs
Social
Social Publishing Overview
Connecting Social Accounts
Social Approval Workflow
Social Agents and API
Audience
Audience Overview
Campaigns
Automation
Segments
Deliverability
Sending Domains
Embed Forms
Subscribers
Audience Agents and API
Messaging
Messaging Overview
Visitor Support Chat
Inbox
Analytics
Analytics Overview
Events
Live Visitors
Page Analytics
Ads
Ads Overview
Managing Ad Inventory
Editor
Editor Overview
Media Library
Pages
Pages Overview
File Tree and Collections
Creating and Organizing Pages
Page Settings
Publishing Pages
Version History
Ai
AI Overview
Chat and Suggestions
Working with AI Changes
Translations
Translations Overview
Layout
Layout Overview
Site Layouts
Collection Layouts
Header, Footer, and Sidebars
Ad Placements
Components
Components Overview
Adding and Editing Components
Component Categories
Writing with MDX
Editing
Keyboard Shortcuts
Preview, Visual, and Source
Styles
Styles Overview
Block Styles
Site Theme and Branding
Settings
Visitor Login
Analytics and Privacy
Custom Domains
Settings Overview
Publishing Settings vs Content
SEO and Social Sharing
Site Name and URL
Visitor Assistant
Site Ad Settings
Integrations
Integrations Overview
Fourthwall Integration
TrademarkTrademark
Ctrl k
Search...
Sign up
Aveiro Documentation
Monetization
Monetization Overview
Products
Getting Started
What Is Aveiro?
Create Your Account
Create Your First Site
Dashboard Tour
Key Concepts
Members and Permissions
API Tokens
Aveiro MCP server
Sites
Sites Overview
Choosing a Template
Managing Sites
Preview and Live URLs
Social
Social Publishing Overview
Connecting Social Accounts
Social Approval Workflow
Social Agents and API
Audience
Audience Overview
Campaigns
Automation
Segments
Deliverability
Sending Domains
Embed Forms
Subscribers
Audience Agents and API
Messaging
Messaging Overview
Visitor Support Chat
Inbox
Analytics
Analytics Overview
Events
Live Visitors
Page Analytics
Ads
Ads Overview
Managing Ad Inventory
Editor
Editor Overview
Media Library
Pages
Pages Overview
File Tree and Collections
Creating and Organizing Pages
Page Settings
Publishing Pages
Version History
Ai
AI Overview
Chat and Suggestions
Working with AI Changes
Translations
Translations Overview
Layout
Layout Overview
Site Layouts
Collection Layouts
Header, Footer, and Sidebars
Ad Placements
Components
Components Overview
Adding and Editing Components
Component Categories
Writing with MDX
Editing
Keyboard Shortcuts
Preview, Visual, and Source
Styles
Styles Overview
Block Styles
Site Theme and Branding
Settings
Visitor Login
Analytics and Privacy
Custom Domains
Settings Overview
Publishing Settings vs Content
SEO and Social Sharing
Site Name and URL
Visitor Assistant
Site Ad Settings
Integrations
Integrations Overview
Fourthwall Integration
TrademarkTrademark
AveiroBlogContact
© Aveiro. All rights reserved.
Built with Aveiro

Events

Track button and link clicks with analytics events — configure in the editor, review in Analytics → Events.
Avatar
Updated by Quasar 17d ago
Analytics Overview
Live Visitors
In short
Add an Analytics event name on supported components (e.g. Button, SmartLink). Analytics → Events lists configured events and how often they fired. Use Configured to audit setup and Activity to see raw trigger counts.

What events measure

Page analytics counts views automatically. Events count intentional actions — CTA clicks, outbound links, signup attempts — that you label yourself. Each event has a name you choose (e.g. cta_click, pricing_view).

Configuring events in the editor

On components that support tracking, set Analytics event in the customize panel:
  • Open a page in Visual mode.
  • Select a Button or SmartLink (and other components with the field when available).
  • Enter an event name in Analytics event — use lowercase with underscores for consistency.
  • Save — the MDX stores a trackEvent attribute.
When a visitor clicks the element on the published site, Aveiro sends a custom event. Example MDX shape:

Events dashboard

Go to Analytics → Events. Two tabs:

Configured

Lists every trackEvent found in your site MDX — scanned across org sites (respecting the site filter):
Column
Meaning
EventEvent name you configured
ElementComponent type (Button, SmartLink, etc.)
PagePage where the component lives
TriggersCount in the selected date range
Last seenMost recent trigger timestamp
Use this tab to verify tracking is wired before a launch and to find orphaned event names. Awaiting / Linked indicators show whether activity exists in the period for each configured event.
<Button href="/signup" variant="primary" trackEvent="hero_signup">
  Get started
</Button>

Activity

Lists event types that actually fired in the date range, aggregated by name — including events that might not appear in the configured scan (if added manually in MDX).
Shows total triggers and last seen per event name.

Filters

Site and date range filters match Overview. Configured-event discovery respects the site filter; activity counts use the same window.

Empty states

  • No events configured — no components with trackEvent in MDX for the filtered sites. Add analytics event names in the editor.
  • No event activity — events exist but nobody triggered them in the period. Test on the live site.

Naming conventions

Pattern
Example
verb_objectclick_pricing, submit_newsletter
section_actionhero_cta, footer_contact
Stable over timeKeep names when redesigning so history compares
Avoid spaces and special characters — stick to letters, numbers, underscores.

Programmatic tracking

Published sites expose window.magic.track(eventName, eventData) for custom scripts. Elements with data-track-event also auto-track on click. Most users should prefer the editor Analytics event field instead.

Related guides

  • Adding and editing components
  • Analytics overview
  • Analytics and privacy