Pages automatically tracks analytics for your site — no configuration required. Page view tracking is enabled out of the box for every page in every page group. Interaction events such as CTA clicks and Get Directions clicks are also tracked automatically for supported sections.
Event Naming
Analytics events are named automatically based on the section and field they originate from, following this pattern:
{componentName}_{fieldName}For example, a Get Directions CTA in the Core Info section produces an event named coreInfoSection_getDirections.
If multiple instances of the same field exist within a section, an index is appended:
{componentName}_{fieldName}_{index}Section names can be overwritten at the scope level. For example, a section scoped as promoSection545 with a CTA field produces an event named promosection545_cta.
Debug Analytics Events
You can inspect which events are firing on any page without leaving the browser.
To use the analytics debugger:
- Open the live or preview page in your browser.
Append
?xYextDebug=trueto the URL:https://locations.example.com/ny/new-york/123-main-street?xYextDebug=true- Hover over any link or CTA on the page to see its analytics event name displayed inline.
View Events in the Platform
Analytics events appear in the Yext platform within 24 hours of being fired from a live production page.
Map Events to Standard Metrics
By default, events are tracked under their auto-generated names. Map them to Yext's built-in metric types — such as "Call to Action Click," "Get Directions," or "Tap to Call" — to ensure they roll up correctly into standard reports.
To map events:
- Navigate to Analytics > Page Events.
- Click Edit next to an event to remap it individually. To update events in bulk, use Export Page Events as CSV, update the file, and re-import.
Reports and Dashboards
The Website Traffic dashboard is available by default. It tracks key metrics including:
- Page views by device
- Page views over time
- Referrer sources
- Google Search Console metrics such as branded vs. unbranded impressions
For additional tracking, use Report Builder to create custom reports and segment data by dimensions relevant to your business.