Patterns for better digital experiences.

From docs to real-world patterns for secure, scalable experiences at the edge.

Optimizing Tag Management on Edge Delivery Services

Integrating a tag management system such as Adobe Experience Platform Tags (formerly Adobe Launch) into a high‑performance environment like Edge Delivery Services (EDS) introduces a familiar tension: how do you unlock rich personalization and analytics without compromising page speed or user experience?

This approach centers on the Adobe Experience Platform Web SDK, using its capabilities to load personalization as early as possible, while strategically deferring data collection to protect performance.

1. Prioritizing performance with the Web SDK

To keep EDS experiences fast and responsive, we follow two core principles:

The Web SDK provides several features that make this feasible in practice.

Top/Bottom Page Events

Using Top/Bottom Page Events, you can:

Custom Build

The Web SDK Custom Build feature is a major improvement for performance‑sensitive implementations:

2. Quick implementation guide

Use the following high‑level steps as a starting point for an EDS‑friendly implementation:

  1. Create or update your Adobe Experience Platform Tags property

    • Ensure the property is configured for the site running on EDS.
    • Add the Adobe Experience Platform Web SDK extension.
  2. Configure Web SDK settings for your EDS site

    • Set your datastream IDs and environment settings.
    • Enable support for personalization in the Web SDK configuration.
  3. Define a Top Page Event rule for personalization

    • Trigger: Top Page Event (or equivalent early lifecycle trigger).

    • Actions:

      • Collect the minimum context needed (e.g., URL, user segment info).
      • Call the Web SDK sendEvent to request and apply personalization as early as possible.
  4. Define a Bottom Page Event rule for analytics

    • Trigger: Bottom Page Event (after the page is fully rendered).

    • Actions:

      • Populate analytics variables and product data.
      • Call sendEvent to send analytics and reporting beacons, keeping this work out of the critical rendering path.
  5. Create a Custom Build of the Web SDK

    • In the Web SDK configuration, exclude any modules you do not need (for example, Media Analytics or Streaming Media).
    • Deploy and verify that the resulting bundle size is reduced and that essential personalization and analytics behavior still works end‑to‑end.
  6. Test and monitor in EDS

    • Validate that personalized content appears without flicker or delays.
    • Confirm that analytics events arrive correctly and only after the initial content is stable.
    • Monitor performance metrics (e.g., time to first paint, time to interactive) to ensure your configuration preserves the EDS performance profile.

By aligning Web SDK configuration, event timing, and bundle size with these steps, you can integrate Adobe Experience Platform Tags with Edge Delivery Services in a way that maintains fast, edge‑optimized experiences while still delivering robust personalization and analytics.