Skip to main content

Umbraco Engage Analytics Tracking Issue Due to CDN Output Caching

Umbraco Engage tracking fails to record accurate pageviews when an aggressive CDN output cache is enabled. This happens because cached requests bypass the unique pageview generation logic required by the analytics platform.

Written by Joana Knobbe

Product or Service: Umbraco Engage
Version: v13 LTS


Issue:

After setting up Umbraco Engage, total recorded pageviews are significantly lower compared to third-party tracking services like Google Analytics.

Reviewing network requests reveals a CDN cache HIT on standard page loads, which prevents Umbraco Engage from generating a unique pageviewId for each visitor interaction.



Solution:

To restore proper analytics tracking, output caching must be disabled on your CDN for pages where Umbraco Engage is actively measuring performance.

Follow these steps to diagnose and correct the behavior:

  1. Verify Caching Behavior via Healthcheck: Run the open-source Umbraco Engage Healthcheck script. If the script flags that output caching is enabled, it must be disabled for Engage to function correctly.

  2. Adjust CDN Configuration: Log into your CDN provider (e.g., Cloudflare, Azure CDN, Fastly) and modify your caching rules. Ensure that HTML pages are not serving static edge-cached versions that bypass server-side .NET execution.

  3. Ensure Unique Request Generation: Configure your edge servers or output cache policies to ensure that every unique request successfully reaches the Umbraco rendering pipeline, so a distinct pageviewId can be assigned.

Once the CDN edge caching is turned off for these content tracks, Umbraco Engage will begin capturing pageviews and session data accurately.

Article last update date: 18-06-2026

Did this answer your question?