<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Rob Freeman on Medium]]></title>
        <description><![CDATA[Stories by Rob Freeman on Medium]]></description>
        <link>https://medium.com/@robfreem?source=rss-472ef44e2078------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jwiMnTXckaU7-xYnZ6JhYw.png</url>
            <title>Stories by Rob Freeman on Medium</title>
            <link>https://medium.com/@robfreem?source=rss-472ef44e2078------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 22:45:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@robfreem/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What’s better than a CDN? A DDN of course! (and Adobe’s AEP Edge Network is one)]]></title>
            <link>https://medium.com/@robfreem/whats-better-than-a-cdn-a-ddn-of-course-and-adobe-s-aep-edge-network-is-one-15f1f133c2a6?source=rss-472ef44e2078------2</link>
            <guid isPermaLink="false">https://medium.com/p/15f1f133c2a6</guid>
            <category><![CDATA[adobe-experience-platform]]></category>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[adobe-edge-network]]></category>
            <category><![CDATA[martech-stack]]></category>
            <dc:creator><![CDATA[Rob Freeman]]></dc:creator>
            <pubDate>Fri, 24 Jan 2025 10:20:21 GMT</pubDate>
            <atom:updated>2025-01-24T12:17:42.803Z</atom:updated>
            <content:encoded><![CDATA[<p>These days it’s hard to discuss Adobe marketing technology without quickly becoming tired of the word <em>Edge, </em>but the meaning of that term in an Adobe context is often anything but clear.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eJPxoWI8CxSsximDc7E0Jw.jpeg" /><figcaption>Pretty although somewhat chaotic picture of global data networks by Adobe Firefly</figcaption></figure><p>If you are in a technical role and would like to quickly gain a vendor-agnostic capability-based understanding of the <em>Edge</em> in an Adobe context, then this post is for you.</p><p>Great, but first I need to clear something up…</p><h4>Adobe’s Edge Networks — Disambiguation</h4><p>Two Adobe systems-of-the-moment are <a href="https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/edge-delivery/overview"><em>Edge Delivery Services </em></a>and the <a href="https://business.adobe.com/products/experience-platform/experience-platform-edge-network.html"><em>AEP Edge Network</em></a>. These are not part of the same system. The former is part of the Adobe Experience <strong>Manager</strong> content ecosystem — think <em>content</em>. This article is about the latter; part of the Experience <strong>Platform</strong> data ecosystem — think Martech <em>data</em>.</p><h4>The Standard Adobe View of the AEP Edge Network</h4><p>Adobe presentations and documentation about the AEP Edge Network normally include the image below: the Edge APIs distributing data to Adobe and other systems. This is of course a good respresentation of the primary role of the Edge Network, but it’s an undersell — there’s so much more!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*HMjNz66jLYZ08vz-gpoE9A.png" /></figure><h4>The DDN</h4><p>Let’s start by thinking of a Content Delivery Network (CDN) with Edge computing capabilities such as Akamai, but switching the C<em>ontent</em> for D<em>ata, so </em>giving us a <strong>DDN</strong><em>. </em>This is not a common term, but I think it is a useful concept for quickly understanding the Adobe AEP Edge Network.</p><p>Our <em>DDN</em> is a<strong> </strong>next-generation infrastructure and edge computing platform designed to handle the optimized, global distribution of dynamic, personalized data in real-time.</p><p>Instead of just serving assets like images and videos, the <em>DDN</em> processes, enriches, and routes dynamic data, enabling Martech solutions to deliver real-time, personalized customer experiences.</p><h4>Edge Network Capabilities</h4><p>Now we’ve got that straight, I’ll describe the AEP Edge Network <em>DDN</em> by comparing it to other enterprise architecture components that have related capabilities: Edge computing, Function as a Service (FaaS) platforms, ETLs, CDNs and API gateways.</p><p>By the end of this short article, I am confident that you will have a good understanding of what the AEP Edge Network is, and isn’t, and what it can and can’t do, in vendor agnostic, mid- to high-level capability terms.</p><h3>What it is, what it isn’t</h3><h4>AEP Edge Network vs. Edge Computing</h4><p>Edge computing refers to running computational tasks closer to the user to reduce latency and improve responsiveness. Examples include AWS Lambda@Edge or Akamai Edge Workers.</p><p><strong>AEP Edge Similarity:</strong> Both run functions closer to the user to reduce latency.</p><p><strong>Difference:</strong> AEP Edge isn’t a general-purpose edge computing framework but is Martech-specific, handling event-based data transformations and routing closer to users to support real-time use cases. While AWS Lambda@Edge and Akamai Edge Workers support diverse workloads, AEP Edge focuses on personalization, segmentation, identity resolution and data routing for Adobe Martech applications (<a href="https://business.adobe.com/products/target/adobe-target.html">Target</a>, <a href="https://business.adobe.com/products/adobe-analytics.html">Analytics</a>, <a href="https://business.adobe.com/products/experience-platform/adobe-experience-platform.html">AEP applications</a>).</p><h4>AEP Edge Network vs. Function-as-a-Service (FaaS) Platforms</h4><p>AEP Edge executes tasks in response to events, which makes it conceptually comparable to FaaS platforms like AWS Lambda.</p><p><strong>AEP Edge Similarity:</strong> Similar in that both execute tasks in response to events. AEP Edge, with <a href="https://experienceleague.adobe.com/en/docs/experience-platform/tags/event-forwarding/overview">Event-Forwarding extensions</a>, supports custom logic for processing data forwarded to third-party (non-Adobe) downstream solutions.</p><p><strong>Difference:</strong> AEP Edge remains focused on predefined Martech workflows rather than easy-access general-purpose computing. Unlike FaaS platforms, which are language-agnostic and highly flexible, <a href="https://experienceleague.adobe.com/en/docs/experience-platform/tags/event-forwarding/overview">Event-Forwarding</a> extensions are restricted to JavaScript implementations, with a streamlined framework for faster Martech-specific results.</p><h4>AEP Edge Network vs. ETL Systems</h4><p>ETL (Extract, Transform, Load) systems process data through extraction, transformation, and loading into a final destination. Examples include AWS Glue and Talend.</p><p><strong>AEP Edge Similarity:</strong> Both perform data transformation and routing.</p><p><strong>Difference:</strong> AEP Edge focuses on lightweight, real-time event transformations using the datastream mapping and <a href="https://experienceleague.adobe.com/en/docs/platform-learn/data-collection/edge-network/data-prep">Data Prep feature.</a> Unlike traditional ETL systems, which often operate in batch workflows, the AEP Edge uses a stateless model, supporting real-time event-level transformations. It lacks the extensive data curation, management, and stitching features found in full-scale ETL systems.</p><h4>AEP Edge Network vs. CDNs</h4><p>Content Delivery Networks (CDNs) like Akamai or Cloudflare cache and deliver data from distributed servers to reduce latency.</p><p><strong>AEP Edge Similarity:</strong> Despite the CDN/DDN concept I started with, the similarity is limited. Both use global server networks and caching to reduce latency and improve data delivery speed.</p><p><strong>Difference:</strong> While both CDNs and the AEP Edge reduce latency, their focus is different. CDNs handle static content like images and videos, while AEP Edge processes dynamic, personalized data for Martech applications. A key differentiator is AEP Edge’s ability to cache<a href="https://experienceleague.adobe.com/en/docs/experience-platform/segmentation/home#edge"> segments and other real-time customer data at the edge for Adobe RTCDP</a>, enabling faster access to personalization and segmentation logic. This capability extends AEP Edge beyond simple data delivery to include intelligent, real-time caching for Martech-specific use cases.</p><h4>AEP Edge Network vs. API Gateways</h4><p>API gateways (e.g., AWS API Gateway) manage API traffic, including authentication, request/response transformations, and routing.</p><p><strong>AEP Edge Similarity:</strong> Both handle routing and transformations of data between APIs. For example, t<a href="https://developer.adobe.com/data-collection-apis/docs/endpoints/interact/">he Edge Interact API endpoint</a> transforms data, forwards it to the Adobe Target Edge servers using the Delivery API, and processes the response. It also supports third-party endpoints such as the <a href="https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference?client_type=gtag">Google Analytics Measurement Protocol</a>.</p><p><strong>Difference:</strong> AEP Edge acts as a specialized API gateway for Martech use cases, focusing on real-time personalization and analytics workflows. While it supports configurable mapping and routing to third-party endpoints, it does not allow for custom incoming API definitions. This design simplifies integration with Adobe and other Martech systems but limits flexibility compared to general-purpose API gateways, which offer configurable options for custom endpoints plus features such as throttling, and advanced authentication rules.</p><h4>Summary of Comparisons</h4><p>Adobe AEP Edge combines features typically found in ETL, API Gateway, and FaaS solutions but is laser-focused on real-time Martech use cases that are critical for data collection, personalization, and low-latency customer experiences. By leveraging a stateless design, it provides:</p><ul><li>Real-time transformations and enrichment, directly supporting personalization and analytics.</li><li>Integrated routing and delivery to third-party systems and Adobe services.</li><li>A simplified configuration process that avoids the overhead of stateful workflow management.</li></ul><h3>Example Roles in Architecture Diagrams</h3><p>When I started this post, I was intending to provide a blueprint architecture diagram for you to modify and use in a Martech architecture diagram. My attempts were, well, rubbish. So in place of that, here are some suggestions of how you might want to think of the Edge while you’re fiddling around in Lucid, Visio, Miro, or similar:</p><ol><li><strong>Data Enrichment Layer:</strong> Represent the Edge Network as a stateless event enrichment layer, connecting data sources (e.g., web SDKs or APIs) to personalization or analytics tools. Highlight its role in transforming and enriching data in real-time.</li><li><strong>Routing and Integration Hub:</strong> Illustrate the Edge Network as a central hub for routing data between Adobe systems (e.g., Target, Analytics) and third-party endpoints.</li><li><strong>Event Processing Node:</strong> Position the Edge Network as an event-processing node within an event-driven architecture, emphasizing its capabilities to enrich events with segmentation and context before passing them downstream.</li><li><strong>Extreme Detail and Sequence Diagrams in a Pure Adobe System:</strong> Here we can turn straight to Adobe documentation and, in particular, the blueprints pages. The page “<a href="https://experienceleague.adobe.com/en/docs/blueprints-learn/architecture/architecture-overview/deployment/websdk">Experience Platform Web SDK &amp; Edge Network architecture diagram</a>” is a great resource.</li></ol><p>When designing architectures with Adobe AEP Edge, I suggest emphasizing its specialized capabilities rather than treating it as a generic edge system. This approach will make your diagrams clearer and help stakeholders understand its unique role in real-time Martech ecosystems.</p><h3>Summary</h3><p><strong>AEP Edge Network: An Edge-Computing CDN for Data</strong></p><p>While AEP Edge Network differs significantly from traditional CDNs in purpose and functionality, it shares core principles like reducing latency, leveraging global networks, and optimizing delivery. However, where CDNs specialize in delivering static assets like images and videos, AEP Edge acts as a <strong>Data </strong>Delivery Network: a system for real-time, dynamic delivery of enriched and personalized data.</p><p>I hope that was a useful summary!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15f1f133c2a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Martech Architects — Stop drawing tag managers! (maybe)]]></title>
            <link>https://medium.com/@robfreem/martech-architects-stop-drawing-tag-managers-maybe-8e8362c60ca6?source=rss-472ef44e2078------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e8362c60ca6</guid>
            <category><![CDATA[tag-management]]></category>
            <category><![CDATA[adobe-launch]]></category>
            <category><![CDATA[gtm]]></category>
            <dc:creator><![CDATA[Rob Freeman]]></dc:creator>
            <pubDate>Mon, 16 Dec 2024 11:41:33 GMT</pubDate>
            <atom:updated>2025-01-07T09:03:15.662Z</atom:updated>
            <content:encoded><![CDATA[<h3>Martech Architects — Stop drawing tag managers! (maybe)</h3><h4>Are you getting something simple wrong on your architecture diagrams?</h4><p>Does the humble tag manager have a starring role when it should, in fact, stay humble?</p><p>If you’ve drawn an architecture diagram that shows something like the flow below, or if you’ve described a tag manager as a critical part of a web/mobile implementation, read on. This article aims to simplify your diagrams, clarify the role of tag managers, and help you avoid tricky questions when presenting them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LUMMFhMl4H47VmMM3fKrZQ.png" /></figure><h3>The Problem with Overemphasizing Tag Managers</h3><p>The intention of architecture diagrams is often to show data flowing from a client — such as a web browser — to a consumer solution such as an analytics system, supported by a tag manager.</p><p>If the arrows in a diagram of such a system show analytics data flowing <strong>through</strong> client-side tag managers, as shown above, the diagram is probably incorrect. Data does not flow through client-side tag managers; instead, it flows from application code deployed by the tag manager. A prime example of this is Adobe’s WebSDK script, Alloy.js.</p><h3>What Is a Client-Side Tag Manager?</h3><p>Regardless of how sophisticated its UI is, a tag manager is essentially a <strong>code generator</strong>. In a web environment, this means JavaScript (on mobile platforms, it’s configuration information used by native platform code, which I won’t discuss further).</p><p>Think of a client-side tag manager as an <strong>online IDE for non-coders</strong>, although coding is still possible within the tag manager. The main difference between tag manager-generated code and developer-written code is the inclusion of orchestration logic.</p><p>For example, Adobe’s AEP Tags (formerly Launch) uses two types of code:</p><ol><li><strong>Reactor Code:</strong> Configuration and logic used in the AEP Tags environment, including extensions and dialogs.</li><li><strong>Turbine Code:</strong> A lightweight orchestration library enabling execution in the browser.</li></ol><p>Once deployed, the tag manager’s role ends, and the generated code runs independently in the browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*t7Ka-R-_GEXMF0NK.png" /></figure><h3>Common Misunderstandings About Tag Manager Behavior</h3><h4>Misconception 1: Live Interaction</h4><p>Some architects mistakenly think client-side tag managers interact with deployed code in real-time. In reality, solutions like Google Tag Manager and AEP Tags follow a <strong>fire-and-forget</strong> model. Once the generated code is deployed, it operates as standalone JavaScript, much like native web application code.</p><h4>Misconception 2: Central Role in Data Flow</h4><p>The code running in the client — such as Alloy.js for Adobe’s WebSDK or GTag for Google Analytics 4 — is responsible for data flows, not the tag manager. These scripts handle:</p><ul><li>Sending and receiving data from analytics and marketing platforms.</li><li>Connecting with APIs, like Facebook’s JavaScript API.</li><li>Bridging user behavior and web functionality to analytics and other tools.</li></ul><p>In some cases, tag managers only include references to external scripts (e.g., &lt;script src=.../&gt;). In others, they include entire code libraries. Either way, the tag manager merely enables deployment.</p><h3>Revising the Architecture Diagram</h3><p>As a default, <strong>leave tag managers out of Martech architecture diagrams.</strong> Including them often adds unnecessary clutter. If you must show them, ensure the role is accurate: “a code deployment and orchestration enabler.”</p><h4>Correct Diagramming Principles:</h4><ol><li>Show <strong>data flows</strong> between the client, server, and analytics systems.</li><li>Represent the tag manager’s contribution as a <strong>deployment enabler</strong>, not a runtime component.</li><li>Separate client-side and server-side implementations (discussed below).</li></ol><p>Here’s an example of a corrected architecture diagram:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*ofvKmKj-pWmPMNOmxRa49Q.png" /></figure><h3>Server-Side Tag Managers: A Different Story</h3><p>Now, let’s talk about server-side tag managers like Google Tag Manager Server-Side or Adobe’s Data Collection (Data Streams). These tools genuinely act as middleware, processing and routing data.</p><ul><li><strong>Google Tag Manager Server-Side:</strong> Runs code on Google Cloud Platform to manipulate and forward data.</li><li><strong>Adobe Data Collection Streams:</strong> Operates on the Adobe Edge Network, enabling data processing and routing.</li></ul><p>Here, data <strong>does</strong> flow through the server-side component of the tag manager, which can also modify or enrich the data before it reaches its destination. Such solutions deserve a place in your architecture diagram. For example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QLv_SbXwagNr4XlHT3IDgg.png" /></figure><p>Or the Adobe equivalent:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m7_xbo1g1_0CNkNDlJrYXQ.png" /></figure><p>For Adobe, consider whether the AEP Tags code is served via Adobe’s Akamai network (default) or hosted on alternate infrastructure.</p><h3>Summary</h3><p>At runtime, in a user’s web browser, a client-side tag manager does not actively process data. Its role is limited to deploying and orchestrating code, which runs independently post-deployment.</p><p>Before including a client-side tag manager in your next architecture diagram, ask yourself: “Does it play a critical runtime role, or is it just an enabler?” Chances are, it’s the latter. By representing its role accurately, you’ll simplify your diagrams, reduce confusion, and communicate your Martech architecture more effectively.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e8362c60ca6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Adobe IMS— Survival Guide for Project Teams]]></title>
            <link>https://medium.com/@robfreem/adobe-ims-survival-guide-for-project-teams-cc88a32468ab?source=rss-472ef44e2078------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc88a32468ab</guid>
            <category><![CDATA[adobe]]></category>
            <category><![CDATA[identity-management]]></category>
            <dc:creator><![CDATA[Rob Freeman]]></dc:creator>
            <pubDate>Mon, 02 Dec 2024 04:52:17 GMT</pubDate>
            <atom:updated>2024-12-03T16:16:08.097Z</atom:updated>
            <content:encoded><![CDATA[<h3>Success with Orgs and IMS</h3><p>In this article I discuss the Adobe Identity Management Service (IMS) and the associated <em>Orgs</em>; organizations for managing enterprise accounts, products, and access.</p><p>While IMS and Orgs might not grab headlines at Adobe Summit, they are becoming critical to the success of Adobe Experience Cloud projects and deserve closer attention.</p><p>This is an essential survival guide for Project Managers, Product Owners, Business Consultants and Architects, and aims to help you avoid situations like <strong>this</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_0aomRsBDvPiZbg7x-SKhw.png" /></figure><h3>The Agenda</h3><ul><li>Essential knowledge for project planning: Adobe Identity Management Service (IMS) and Adobe Organization Units (Orgs).</li><li>The reach, scope, risk, and complexity of IMS in a multi-solution, multi-cloud, multi-Org enterprise.</li><li>Major IMS challenges that you may face on your project.</li><li>The IMS Global Admin Console (GAC).</li><li>Actions! What you can do to mitigate access management risk in your project.</li></ul><h3>Essential Knowledge</h3><p>This section is not a replacement for the IMS documentation but aims to provide you with the fundamental knowledge needed to work with Orgs and IMS, and understand the risks and recommendations in the remainder of the article.</p><h4>Organizational Units — <em>Orgs</em></h4><p>Since the move to IMS-based access control for most Adobe products, IAM is managed centrally for groups of products in Adobe Organizational Units, or “Orgs.” Enterprises can have many Orgs, aligning Adobe products with business units or functional groups. Each Org has an <em>Admin Console. </em>This allows administrators to manage access to the Adobe products within the Org.</p><p>The illustration below shows the Adobe products used by the fictional Acme Inc., grouped in department/market Orgs, each with an IMS Admin Console (the grey screenshot snippets). Only four Orgs are shown but, if Acme is a global enterprise, it is likely that this is the<strong> tip of the Adobe iceberg.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xh1dGmii19e-uwrGxtyaNg.png" /><figcaption>Representation of Multiple Adobe Orgs, Products and Admin Consoles at the fictional Acme Inc</figcaption></figure><blockquote><em>The term </em>Admin Console<em> is sometimes used in place of </em>Org<em> within Adobe. There is a 1:1 relationship — Every Org has an IMS Admin Console.</em></blockquote><h4>The Growth of IMS</h4><p>As Adobe increases its Experience Cloud product range, and as these products are migrated to IMS based access management, larger and more complex Orgs are becoming more common. Previously stand-alone systems such as AEM, Workfront, Marketo, Desktop solutions and Adobe Sign, all now use IMS-based access management.</p><p>IMS access also has an ever greater reach. Products such as Adobe’s new asset distribution portal, <a href="https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/assets/content-hub/product-overview">Content Hub</a>, can have many thousands of users across an enterprise. This scaling increases the stakes for access management, as disruptions can impact thousands of users and critical business processes.</p><h3>Major IMS Challenges You Might Face</h3><p>I describe in this section major IMS/Org related challenges that can have a significant impact on project success. This is not a complete list but covers real-world and high impact situations.</p><h4>1. Product Interdependencies and Provisioning</h4><p>Some standard Experience Cloud product integrations will only work if products are provisioned into the same Org.</p><p>When a product is provisioned, a choice of which Org to provision into must be made. In a complex enterprise with multiple existing Orgs, it is not uncommon for integration dependencies to be overlooked.</p><p>This can result in a need to:</p><ul><li>Migrate products between Orgs.</li><li>Implement custom integration solutions.</li></ul><p>Both are significant risks that can impact project timelines and budgets.</p><p>In the Acme example illustrated below, Acme’s global marketing department purchased Marketo and intended to share information with the markets; in this case the US, who use Adobe Experience Platform (AEP) as the heart of their Martech stack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KGfacHfVbbn5JKYExeLQDg.png" /><figcaption>OOTB integration between Marketo and Experience Platform not available</figcaption></figure><p>This choice of Org may have been appropriate from an organizational perspective, but there is a technical requirement for AEP to be in the same Org as Marketo if the standard integration between the two systems is to be used (<a href="https://experienceleague.adobe.com/en/docs/marketo/using/product-docs/adobe-experience-cloud-integrations/set-up-adobe-organization-mapping?utm_source=chatgpt.com">reference</a>). Either the standard integration must be discarded or one of the systems transferred between Orgs.</p><p>Technical requirements must be carefully checked for each individual product, before provisioning takes place. Project teams should not assume that detailed checks of individual product features have been completed during provisioning.</p><h4>2. Org Interdependency and Login</h4><p>An enterprise can have many Orgs using the same corporate email domain for login.</p><p>As part of your project, you may expect to use a particular Adobe ID and login type. In larger enterprises this is likely to be federated ID. All Experience Cloud products support federated ID, and your team may expect this to be a simple integration. However, it may be far from simple because of Org interdependencies.</p><p>Such an interdependency is illustrated below. Two Orgs use <em>@acme.inc</em> email addresses for login. To support enterprise account management, Adobe <em>Enterprise IDs are </em>used, and <em>Acme Global Design </em>has claimed the <em>@acme.inc</em> email domain. Federated ID was not configured.</p><p><em>(if you don’t understand the ID types I refer to, bear with me. I give more information later in the article. You could also look at </em><a href="https://helpx.adobe.com/ca/enterprise/using/identity.html"><em>this documentation</em></a><em>)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GUD3fu55McOAmMYhIKnJ8Q.png" /></figure><p>In this constellation a new product could not be set up to use IMS federated ID, unless its Org is migrated to federated ID. Migration to federated ID cannot be completed by a single Org when there is such an interdependency. Both the Orgs shown, plus any other Orgs using the Enterprise ID mechanism and <em>@acme.inc</em> email addresses, must be migrated simultaneously to Federated ID.</p><p>In a large enterprise it is likely that tens of Orgs could be interdependent in this way, and thousands of users could be affected.</p><p>Coordination on this scale often involves multiple teams and can cause project delays measured in months.</p><h4>3. Domain Ownership and User Groups</h4><p>If a federated ID (SSO) system is used, users can be synchronized from an Identity Provider (IdP) to all dependent Orgs. What can come as an unwelcome surprise is that user <strong>groups</strong>, maintained in the IdP, are <strong>not</strong> available to the dependent Orgs.</p><p>This issue is illustrated in the diagram below. <em>Acme Global Design</em> has claimed the <em>@acme.inc</em> domain and has a federated ID integration with Acme’s Azure IdP. Users and groups are synchronized with <em>Acme Global Design.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3jxL9SxpR4TLhCbSDbp16w.png" /><figcaption>Synchronization of Users and Groups from IdP to Adobe Orgs</figcaption></figure><p>If the <em>Acme Marketing US </em>administrators want to make use of the user groups, additional effort is needed to support this. Solutions include:</p><ul><li>Deployment of Adobe’s <a href="https://helpx.adobe.com/enterprise/using/user-sync.html">User Sync Tool</a>.</li><li>Custom development to make use of the <a href="https://developer.adobe.com/umapi/#access_token=eyJhbGciOiJSUzI1NiIsIng1dSI6Imltc19uYTEta2V5LWF0LTEuY2VyIiwia2lkIjoiaW1zX25hMS1rZXktYXQtMSIsIml0dCI6ImF0In0.eyJpZCI6IjE3MzI2MTg4Nzg0MDBfM2MwZDA4Y2QtMWU5MC00NzdjLWJiODEtZTA1NTQ5NjhjZWMxX3ZhNmMyIiwidHlwZSI6ImFjY2Vzc190b2tlbiIsImNsaWVudF9pZCI6ImFkb2JlX2lvIiwidXNlcl9pZCI6IjQzNkYxRTQ3NjY1NDlGMzEwQTQ5NUZGM0BiOTljNTc4ZDYyZGQzNGI4NDk1ZjliLmUiLCJzdGF0ZSI6IiIsImFzIjoiaW1zLW5hMSIsImFhX2lkIjoiREExNDdBNjI2MURERjFFMDBBNDk1RUNBQGFkb2JlLmNvbSIsImN0cCI6MCwiZmciOiJZN1BaSzVXRFZQUDVNSFVLSE1RVlk3QUEyNCIsInNpZCI6IjE3MzI2MTI1NDUyNjdfYzRhYTVhZTktYzE2MS00YjI4LWEzZWQtM2Q4ZDJlZTAzNjVkX3ZhNmMyIiwibW9pIjoiNmIxMWUzYmMiLCJwYmEiOiJPUkcsTWVkU2VjTm9FVixMb3dTZWMiLCJleHBpcmVzX2luIjoiMjg3OTI2MDAiLCJzY29wZSI6IkFkb2JlSUQsb3BlbmlkLHVuaWZpZWRfZGV2X3BvcnRhbCxyZWFkX29yZ2FuaXphdGlvbnMsYWRkaXRpb25hbF9pbmZvLnByb2plY3RlZFByb2R1Y3RDb250ZXh0LGFkZGl0aW9uYWxfaW5mby5yb2xlcyxnbmF2LHJlYWRfcGMuZG1hX2J1bGxzZXllLGNyZWF0aXZlX3NkayIsImNyZWF0ZWRfYXQiOiIxNzMyNjE4ODc4NDAwIn0.Wc9pDhWhsty850Mj9etf3JN37E_3-Y8x5WxQFb9ijXHrYqb7QyIb2FNlWy8OYEvqkAgi5N8Kh8VN_Msgb7cHDZa2igCpau-xRdbwHGur5KPva9jgjkNt4HW58UDgvl8cZKLTzlnmJOuWFLVVlY49xuDycQrfplCQb1OA2dpblPWypFiUQ2L6U6WkvFM4ZNplDeuCAVdHGNVEiFkPWFa63dGwnKwAj8atUovRfgIe2UCb9UI-v5UD2svbbp2SX031hDQMhaXpRqyNB90s-mqzBR-lh9lRpaURFTqzfZhBpUDOniGOztU7Nrayxtee1_NVF-0WRJXaHumAOk1zAZHxgg&amp;token_type=bearer&amp;expires_in=28792597">User Management API</a>.</li><li>Adoption of the Global Admin Console (GAC) and a move to a hierarchical Org structure. I describe the GAC solution briefly later in the article.</li></ul><h4>4. IdP Guest User Support</h4><p>Here I dip a little further into detail and look at a challenge related to federated login systems.</p><p>IdP guest users (external users on a different domain to the main enterprise) are not supported as IMS federated ID users.</p><p>Let’s assume that Acme employees can login to the Acme IT systems using a federated login (SSO) system and their <em>@acme.inc</em> email addresses. The IMS Orgs are also integrated, so also making Adobe systems accessible via SSO.</p><p>Some external users, who do not have Acme email addresses, can also use the Acme SSO, for example employees of a service provider called <em>Design Agency. </em>Acme adds these users their IdP as <em>guest</em> users.</p><p>Unfortunately, the <em>@design-agency.inc</em> email addresses <strong>cannot</strong> be used to login to Acme’s Adobe systems.</p><p>A fundamental feature of the Adobe login mechanism is the routing of users to the correct IdP based on email address domain. If a <em>Design Agency</em> user tries to login to an Adobe system, he or she will be either forwarded to the login of <em>Design Agency,</em> if they have their own Adobe Org, or to Adobe‘s IdP if not.</p><p>If guest user SSO support for Adobe products is a hard requirement, the enterprise should consider issuing different Acme email addresses for external users (e.g., <em>@</em><strong><em>external</em></strong><em>.acme.inc)</em>.</p><h3>Tackling the Challenges</h3><p>Addressing the issues described above can be more difficult than you may expect, I describe here two areas of complexity that can complicate attempts to take on those IMS challenges:</p><ul><li>Adobe ID types and licenses.</li><li>Decentralized management of Adobe Orgs.</li></ul><h4>ID Types and Licenses</h4><p>Adobe supports multiple <a href="https://helpx.adobe.com/ca/enterprise/using/identity.html">account/ID types</a>, and an enterprise that has used Adobe products for many years, is likely to have a mix of these among its Adobe Orgs and users.</p><p>Anyone who tries to log in to an Adobe product using their company email address, and is presented with the dialog below, has two distinct user types registered for that email address:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*zca1NFVLvG1RauZt-frBOw.png" /></figure><p>The oldest type, the <em>Adobe ID</em>, is owned by an individual, and has its own storage and product licenses. The “Personal Account” option shown in the screenshot will allow login to this type of account.</p><p>An <em>Enterprise ID</em> is managed via the administrators of an Org. A <em>Federated ID </em>is managed in an external IdP. The “Company or School Account” option in the preceding screenshot shows that the user has one of these two types of ID.</p><p>Finally, a <em>Business ID</em> is an entitlement attached to other account types.</p><p>Often closely related to ID types are license types. Different Orgs may have differing licenses, some of which may exclude ID types and limit the availability of IMS features.</p><p>The complexity described here can hinder the actions needed to overcome other IMS challenges within an enterprise. An IMS related migration of some kind may need to take one or all of the following in to account:</p><ul><li>Users with multiple account types on a single company email address.</li><li>Orgs containing several types of user accounts.</li><li>Orgs with license restrictions on user and authentication type.</li><li>Differing storage models (individual, team, shared)</li></ul><h4>De-Centralized Management</h4><p>It is normal to have no centralized management of Orgs within an enterprise. The owners and administrators of each Org may not even be aware of the existence and state of others. This is significant as it can be difficult to achieve the coordinated action across Orgs that is necessary to address some of the challenges I described.</p><p>In 2021 Adobe released the Global Admin Console (GAC) to improve this situation and support centralized management of Orgs and IMS. Adoption of the GAC will however take time.</p><p>In the short to medium term, you should expect an unstructured Adobe landscape within large enterprises and take steps to understand that landscape. I return to this at the end of the blog when I give a list of recommendations.</p><h3>The Global Admin Console (GAC): Centralized Management and More</h3><p>To address the problems associated with lack of centralized Org management, Adobe introduced the <a href="https://helpx.adobe.com/enterprise/global-admin-console/adopt-global-administration.html">Global Admin Console</a> (GAC) in 2021.</p><p>The GAC supports the creation and management of hierarchical structures of Orgs, in which administrative, product and group access controls can be managed centrally or delegated within that structure. This is a major enhancement that supports a clear best-practice approach to Org/IMS management.</p><p>The screenshot below shows the GAC with a new hierarchical structure for Acme, based on a new Acme HQ at the top level, with market Orgs beneath (left hand panel). High-level user groups (main panel) have been configured for different parts of the organization for Global Marketing, Design and Finance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QeLXxZs_WLuDyY2ZgbCsJA.png" /><figcaption>Global Admin Console Org hierarchy and high-level groups</figcaption></figure><p>The GAC has many features to support centralized and devolved access management, and most are beyond the scope of this post. One recently added feature to call out though is <em>group projection. </em>This feature allows groups to be shared downwards in a hierarchical structure.</p><p>In the section <em>Domain Ownership and User Groups</em>, I described the problem of sharing groups between Orgs. The Group Projection feature addresses this, given a restructuring of the existing Orgs into a hierarchical model.</p><p>Detailed information about the GAC is available in the <a href="https://community.adobe.com/t5/enterprise-teams-discussions/new-white-paper-for-the-adobe-global-admin-console/m-p/12590425?attachment-id=93275">Adobe Global Admin Console whitepaper</a>.</p><h3>Key Steps to Ensure Project Success</h3><p>I look now at what you as a project team, can do to mitigate risk when planning for and starting on the introduction of a new Adobe product in an enterprise environment:</p><p>1. <strong>Include IMS analysis in your resource planning</strong></p><p>Build in time and resources to complete the IMS related planning tasks below.</p><p>2. <strong>Confirm IMS Requirements for each of the Adobe Products you are working on.</strong></p><p>Check product roadmaps for IMS related changes, and IMS capabilities. This is particularly important for newer Adobe purchases such as Workfront, Marketo and Magento, as they are likely to have evolving IMS integrations.</p><p>3. <strong>Understand the Org landscape.</strong></p><p>Gather basic information about the Orgs within the enterprise. Which are the most important? Which login mechanisms are used? Are there past or future IMS problems or changes?</p><p>4. <strong>Consider the Global Admin Console and other Adobe Projects</strong></p><p>Is the GAC in use, or is its introduction being considered? If so, global IT and/or the administrators of the parent in the hierarchy, should be included in all IAM discussions.</p><p>It is common for Adobe-related projects to run independently in large enterprises. Collaborate with IT and the Adobe account team to ensure alignment with these. You may not be as independent as you think.</p><p>5. <strong>Check Domain Ownership.</strong></p><p>Identify if another IMS Org has claimed the email domain that will be used to log into new products. If so, there may be unexpected work needed to synchronize users and groups between Orgs.</p><p>6. <strong>Validate Provisioning.</strong></p><p>Ensure product provisioning has taken technical, administrative, and licensing requirements into account.</p><p>7. <strong>Validate IMS Planning.</strong></p><p>In large or complex organizations, request a review and validation of your IAM plans by raising a support ticket for IMS in the Adobe support system. This could be the best action you took on the project!</p><p>8.<strong> Update Your IMS Knowledge.</strong></p><p>IMS is evolving. Stay updated on changes by reviewing documentation or consulting a Technical Account Manager.</p><h3>Conclusion</h3><p>Adobe IMS is the backbone of access management across Adobe products. The rapid growth in the importance of IMS, and the complexities associated with IMS in a mature enterprise, make IMS and the related Org structure critical to the success of many Adobe projects.</p><p>While IMS complexity can be daunting, its proper management unlocks significant opportunities for streamlined access, enhanced security, and more efficient Adobe project execution.</p><h4>And a quick thanks to…</h4><p>My Adobe colleagues <a href="https://www.datanalyst.info/">Julien Piccini</a>, <a href="https://medium.com/@achimkoch">Achim Koch</a> and Robert Wunsch for the information and feedback needed to get this tricky topic in to, hopefully, a readable, accurate and useful resource.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc88a32468ab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google Marketing Platform Support in AEM Core Components]]></title>
            <link>https://medium.com/@robfreem/google-marketing-platform-support-in-aem-core-components-141ce8b4d0a6?source=rss-472ef44e2078------2</link>
            <guid isPermaLink="false">https://medium.com/p/141ce8b4d0a6</guid>
            <category><![CDATA[google-analytics]]></category>
            <category><![CDATA[aem-core-component]]></category>
            <category><![CDATA[aem]]></category>
            <category><![CDATA[google-tag-manager]]></category>
            <dc:creator><![CDATA[Rob Freeman]]></dc:creator>
            <pubDate>Mon, 19 Feb 2024 08:13:22 GMT</pubDate>
            <atom:updated>2024-02-20T06:39:04.128Z</atom:updated>
            <content:encoded><![CDATA[<p>The Adobe Experience Manager (AEM) <a href="https://experienceleague.adobe.com/docs/experience-manager-core-components/using/introduction.html?lang=en">Core Components</a> project has long included a data layer integration that can create, and push data to, an Adobe Client Data Layer (ACDL). This is normally used for Adobe data consumers such as Adobe Experience Platform and Adobe Analytics.</p><p>I have been working on extending the integration to support the near-ubiquitous Google Tag Manager (GTM) data layer. This work and capability is included in the <a href="https://github.com/adobe/aem-core-wcm-components/releases/tag/core.wcm.components.reactor-2.24.0">2.24.0 Core Components release</a> (thanks to the Core Components team for the reviews and support!).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GHSup5dH26N_gZEfdHBdzQ.png" /></figure><p>This enhancement will benefit many AEM customers by <strong>reducing the time and cost of implementing data collection </strong>for any solutions that are implemented via GTM. In this article I will focus on Google Analytics (GA) as this is one of the most common use cases, however these could include Adobe Experience Cloud and third party products.</p><p>As you will see in the walk-through below, the ingestion of data from an AEM Core Components based website can be implemented in GTM and GA within a few hours (the walkthrough itself 15–30 minutes).</p><blockquote>Adobe Consumers of a Google Data Layer</blockquote><blockquote>Adobe solutions can also consume a Google data layer, and this can be useful if both Google and Adobe solutions are used on the same webpage. <a href="https://blog.developer.adobe.com/adobe-experience-platform-tags-extension-for-google-data-layers-2349b1fd101e">I wrote extensively on this topic</a> after my previous work on developing the Adobe Experience Platform Tags (formerly Adobe Launch) <a href="https://experienceleague.adobe.com/docs/experience-platform/tags/extensions/client/google-data-layer/overview.html?lang=en">Google Data Layer extension</a>. Additionally Adobe’s alloy.js can be used in GTM to implement Adobe Experience Platform data collection in a Google ecosystem.</blockquote><h3>A GTM Walk-through</h3><p>You can easily try out the integration by following this simple proof-of-concept walkthrough. It takes 15–30 minutes. I suggest using <a href="https://github.com/adobe/aem-guides-wknd">Adobe’s WKND reference AEM project</a> for this. Alternatively, just reading through and looking at the screenshots should be sufficient to understand the integration use.</p><ol><li>Create a GTM account and web container, then follow the tagging instructions to add GTM tags to your AEM pages (<em>install Google Tag Manager</em> in the admin section of your GTM container). This step is manual in AEM and usually done by a developer.</li><li>On AEM, install AEM Core Components v2.24.0 or higher and configure the data layer integration in AEM Core Components for use with Google data layers as described in the file <a href="https://github.com/adobe/aem-core-wcm-components/blob/main/DATA_LAYER_INTEGRATION.md">DATA_LAYER_INTEGRATION.md</a>.</li><li>Set-up your GTM Triggers and Variables using Core Components event names and data layer JSON keys. For this walkthrough you can import <a href="https://raw.githubusercontent.com/brobatr/fileshare/main/gtm-core-components-demo_EDITME.json">this container file</a> in to your own GTM container, after first editing the file and replacing the placeholders <em>&lt;yourAccountId&gt;, &lt;yourPublicId&gt; (</em>eg. GTM-1344ABCD) and <em>&lt;yourContainerId&gt;</em>. After import, your container should have <em>cmp:loaded</em> and <em>cmp:click</em> Custom Event Triggers, and some data layer variables such as <em>dl_eventinfo_lang</em>, the page language.</li></ol><p>So far so good. When viewing an AEM page in the <a href="https://support.google.com/tagmanager/answer/6107056?hl=en">GTM debugger </a>you should now see the Core Components events (eg. <em>cmp:loaded</em>) and your GTM custom variables, as shown in the screenshot below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yP7z6mmme9qz3AlssyhnbA.png" /><figcaption>Google Tag Manager Debugger showing Core Components Data</figcaption></figure><p>The Data Layer tab will show the data layer model (AKA the computed state) in which the granular Core Components data is visible. Note that the normal GTM event meta-data is available in Core Components events.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LEtqrb_Sr6qcRM-76fZbmA.png" /><figcaption>Google Tag Manager Debugger showing Core Components Data Layer model</figcaption></figure><p>If you have configured a GA4 integration in your GTM container then these events and data can be sent to GA4. Let’s continue.</p><p>4. Create a GA4 account and web property.</p><p>5. Copy the Measurement ID (eg. G-123456ABC) and in GTM create a constant variable called <em>ga_measurement_id</em> with this value.</p><p>6. In GTM add the <em>GA4 Tag</em> and enter {{<em>ga_measurement_id}} </em>in the<em> Tag ID </em>field. Set the trigger to <em>All Pages, Page View.</em></p><p>7. Also in GTM add the tag <em>Google Analytics: GA4 Event. </em>Name the event<em> cmp:loaded </em>and use the <em>dl_cmp_loaded</em> Custom Event imported earlier as the trigger. In the <em>Google Analytics: GA4 Event dialog </em>add parameters as required for that particular event.</p><p>If all goes well the GA4 hits will now be visible in the GTM debugger, together with the detail of the Gtag API call.</p><p>In the screenshot below you can see that the <em>cmp:loaded</em> event was sent to GA when the page <em>About Us </em>was loaded.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JrCPP9g8QrvVyhDDG7jcWg.png" /><figcaption>Google Tag Manager debugger showing a GA4 event</figcaption></figure><p>Finally in GA the events should be visible together with the parameters configured in GTM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PZ4HT7jw_TmJ6dN8Sj90Fw.png" /></figure><h3>Parallel Google and Adobe Data Layer Support</h3><p>The Core Components integration can only push data to a single data layer object, meaning that it can support the ACDL <strong>OR</strong> a Google data layer.</p><p>If both Google and Adobe solutions should access the same Core Components data, consider using only the Google data layer integration and <a href="https://blog.developer.adobe.com/adobe-experience-platform-tags-extension-for-google-data-layers-2349b1fd101e">configuring Adobe consumers to use </a>it.</p><h3>About Gtag in Core Components</h3><p>Some organisations may use the <a href="https://developers.google.com/tag-platform/gtagjs/reference">Gtag Javascript library</a> directly on a webpage, without the use of GTM.</p><p>Native Gtag implementations can exploit the Core Components data layer content, so fundamentally the two are compatible. However I did not include a Gtag specific integration in the Core Components contribution. In this section I explain why and compare GTM and Gtag.</p><h4>GTag vs GTM</h4><p>Google solutions can manipulate a data layer using Gtag or GTM code. The two systems are compared and explained in the Google support article <a href="https://support.google.com/tagmanager/answer/7582054?hl=en">Tag Manager and the Google tag (gtag.js)</a>.</p><h4>Core Components greedy Data Collection and GTag</h4><p>By default, the Core Components data layer pushes all available page and component data into the data layer alongside appropriate events such as <em>cmp:click</em> and <em>cmp:loaded</em>. This is ready for use by GTM, AEP Tags or custom code. One or more of these mechanisms will filter and prepare the collected data before sending it to data consumers such as GA4 or Adobe Analytics.</p><p>A native Gtag based implementation without a tag manager always needs significant custom code to collect and collate data.</p><p>Gtag request size limitations do not allow all Core Components data (the entire data layer state) to be sent in every Gtag request (this would also not be sensible!) so each Gtag request must be created in custom code, limited in scope and will vary significantly between tracking implementations.</p><p>Because of this heavy dependence on custom code, I did not complete a ready-to-go native Gtag integration in Core Components. While I did try, the value of the work I did was questionable and it was too experimental to make the final cut.</p><h4>Feedback on GTag</h4><p>If you have worked with GTag and have an opinion on whether a GTag integration would be valuable and viable, then <a href="https://github.com/adobe/aem-core-wcm-components/discussions">please open a discussion in Core Components Git project</a> and tag user brobatr.</p><h3>Experience League Documentation</h3><p>Experience League documentation of the Core Components Google integration is being prepared at the time of writing. I will update this article to include and align with the main documentation once ready.</p><h3>And Finally</h3><p>Much of the work described in this article was supported by the <a href="https://landing.adobe.com/acs/why-APS.html">Adobe Professional Services</a> EMEA innovation fund. It’s great to get support when you have an idea that can help our customers and partners to succeed!</p><p>I hope you found this post and the implementation work useful. This is my second article on Google/Adobe co-existence and I expect more will follow (I have end-to-end Google Commerce — RTCDP/CJA in mind). Feel free to subscribe if you are interested in such stuff!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=141ce8b4d0a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AEM Experience Fragments, Adobe Target and Herding Cats]]></title>
            <link>https://medium.com/@robfreem/aem-experience-fragments-adobe-target-and-herding-cats-17466049e3fa?source=rss-472ef44e2078------2</link>
            <guid isPermaLink="false">https://medium.com/p/17466049e3fa</guid>
            <category><![CDATA[adobe-experience-manager]]></category>
            <category><![CDATA[adobe-target]]></category>
            <category><![CDATA[experiencefragments]]></category>
            <category><![CDATA[aem-architect]]></category>
            <dc:creator><![CDATA[Rob Freeman]]></dc:creator>
            <pubDate>Wed, 10 Jan 2024 05:55:46 GMT</pubDate>
            <atom:updated>2024-01-10T14:15:03.400Z</atom:updated>
            <content:encoded><![CDATA[<h3>AEM Experience Fragments, Adobe Target, and Herding Cats</h3><p><em>By Rob Freeman and Achim Koch, Adobe Professional Services.</em></p><p>Adobe Experience Manager is a great product to author and manage personalized experiences for Adobe Target, but let’s be honest…</p><p><strong>managing large numbers of Experience Fragments in a complex enterprise environment can feel like herding cats!</strong></p><p>This article will help you get those cats under control.</p><p>We deep dive into the AEM Experience Fragment/Target integration architecture, function, and challenges. We describe how to avoid possible pitfalls and achieve a reliable and maintainable integration.</p><blockquote>We will only discuss Experience Fragments in this post, but many issues are also relevant to Content Fragment export.</blockquote><figure><img alt="Adobe Experience Fragments — a herd of cats!" src="https://cdn-images-1.medium.com/max/1024/1*Amn62rETFLzwd14HEQbDxw.jpeg" /><figcaption><a href="https://firefly.adobe.com/">Adobe Firefly</a> on Experience Fragments: “a herd of cats in rank and file on a retro green screen monitor”</figcaption></figure><h4><strong>Target Audience</strong></h4><p>The article is intended for AEM and Target product owners and managers, solution architects, technical architects, and administrators. A moderate level of technical and business knowledge of AEM and Target is assumed.</p><p><strong>Integration Disambiguation</strong></p><p>Discussions about AEM and Target integration can be confusing as the term <em>integration</em> is overloaded in this context. The term integration is used to describe:</p><p>- Use of Adobe Target from AEM in <em>“</em><a href="https://experienceleague.adobe.com/docs/experience-manager-65/authoring/personalization/content-targeting-touch.html"><em>Targeting Mode</em></a><em>”</em>.</p><p>- Enable Adobe Target on the client-side of a website by loading required JavaScript libraries — often with a tag manager.</p><p>- Incorporate personalized content into the website. E.g., by using Target’s built-in functionality to manipulate the DOM.</p><p>- Use AEM to provide content to the Adobe Target backend to be used as<em> Offers</em>.</p><p>The last <em>integration</em> is the subject of this post; using AEM to provide content to the Adobe Target backend for use as Offers. In this post we discuss the use of Experience Fragments as the containers for this exported content. Many points are also relevant to the similar mechanism for exporting Content Fragments to Target.</p><p>The integration is shown as the labelled blue arrow in the illustration below. Here an Experience Manager based web page is used to illustrate a client platform, but this could be a non-AEM web property, mobile application, or other channel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eXaWLFXZxMNa7sL1Q1kDNw.png" /></figure><h4><strong>Integration Architecture</strong></h4><p>The export of Experience Fragments and their storage as Offers in a Target instance is an architectural design choice that allows Target to directly deliver these Offers on the client in a single request/response, so supporting high performance personalization.</p><p>The primary disadvantage of this design choice is the complexity of maintaining the correct state of the manually synchronized AEM and Target content. As we will describe in detail in this post, this complexity gives rise to some significant challenges.</p><p><strong>Integration Alternatives</strong></p><p>AEM is a sophisticated, flexible, and extensible platform, and as such offers alternative architectures and features that can also support the exploitation of AEM content in Target personalization activities.</p><p>We will introduce some of these alternative approaches at the end of the article and intend to write in more detail in future articles (subscribe on our profile pages: <a href="https://medium.com/@robfreem">Rob</a>, <a href="https://medium.com/@achimkoch">Achim</a>).</p><h3>Structure and Integration Configuration Recommendations</h3><p>Illustrated below are production and staging AEM author instances and the relationships between AEM, Experience Fragments, and a Target instance and its workspaces.</p><p>To see the details more clearly, click the image to zoom in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M4SrcEy1fmGbLbqfmNogZQ.png" /><figcaption>An example AEM Experience Fragments / Target integration</figcaption></figure><p>This example system is based on the /content/tenant/market/language structure used in Adobe’s <a href="https://experienceleague.adobe.com/docs/experience-manager-65/developing/bestpractices/we-retail/we-retail.html?lang=en">We-Retail reference</a> project, and commonly used in real-world implementations.</p><p>An important element in the diagram is what we have called the <em>Target API Configuration</em>. This is edited via the page or folder <em>page properties</em> dialog and is inherited by all Experience Fragments in the configured content branch, e.g., in ..<em>/summer23</em>.</p><p><em>In Adobe documentation the Target API Configuration is part of the Target </em>Cloud Configuration (<em>see </em><a href="https://experienceleague.adobe.com/docs/experience-manager-65/administering/integration/experience-fragments-target.html?lang=en#add-the-cloud-configuration"><em>Add the Cloud Configuration</em></a><em>), but we will treat it as a separate configuration throughout this article.</em></p><p>The diagram illustrates the following recommended practices:</p><p>· The AEM structure and Target workspace and naming are aligned. The <em>Target API Configuration </em>is at the same level in the structure as a Target workspace. The relationship illustrated is <em>&lt;AEM language branch/marketing&gt; — &lt;Target market and language specific workspace&gt;.</em></p><p>· Experience Fragments used exclusively as reusable content in AEM are stored in a separate branch from those that may be exported to Target. This point is illustrated in the diagram as <em>/structure</em> branches which contain shared page headers (logo etc.).</p><p>· There are no nested <em>Target API Configurations</em>. For example, if a new Target API Configuration were to be added to the <em>/summer23</em> folder in the diagram, it would override the main /marketing configuration, and introduce undesirable complexity.</p><p>· The Target API configurations (shown on the /<em>marketing</em> node) are different on Prod and Stage, so associating the Experience Fragments with separate Prod and Stage workspaces in Target. Workspace names include the AEM environment (stage, prod).</p><p>· Non-production Experience Fragment names include the environment, e.g., <strong><em>STAGE</em></strong><em>_some_description</em>. This is important for quickly identifying problems and managing Offers in Target. This approach will also help in isolating production content from that of lower environments.</p><p>· The Experience Fragments content has the same structure as Acme’s main content: <em>/content/acme/&lt;market&gt;/&lt;language&gt; </em>(not shown). This is intuitive and promotes the use of logical and consistent Access Control Domains across the constituent parts of a tenant.</p><h3>Common Integration Issues and Mitigation</h3><p>The most commonly occurring problems in the AEM Author/Target integration can be grouped in to two main categories:</p><ul><li>Incorrect or missing synchronization meta-data.</li><li>Incorrect export state on AEM.</li></ul><p>We will now discuss these two issues in detail and recommend how to address them.</p><p><strong>Incorrect or missing synchronization meta-data</strong></p><p>The successful export of Experience Fragments from AEM to Target depends on multiple configurations that hold references to Target entities at different levels. The diagram below shows a simplified view of these relationships.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9AR5rxhVY-euixHbLPpD6g.png" /><figcaption>AEM and Target Relationships and Configurations/Meta-Data</figcaption></figure><ol><li><strong>IMS configuration</strong>. An IMS configuration contains the connection information and credentials that AEM will use to access the Target API (see <a href="https://experienceleague.adobe.com/docs/experience-manager-65/administering/integration/integration-target-ims.html?lang=en">Integration with Adobe Target using IMS</a>). Once successfully configured an IMS configuration is unlikely to cause difficulties.</li><li><strong>AEM tenant (or other content division) -&gt; Target instance</strong>. The connections to Target instances are configured in one or more AEM <em>cloud configurations,</em> each of which references an IMS configuration<em>.</em></li><li><strong>AEM content branch -&gt; Target workspace</strong>. The <em>Target API config </em>contains a reference to a cloud configuration and to a Target workspace. Experience Fragments stored below this level may be exported to this workspace.</li><li><strong>Experience Fragment -&gt; Target Offer</strong>. When an individual Experience Fragment is successfully exported to Target, a Target Offer<em> </em>reference will be stored in a hidden configuration (i.e., meta data) on the Experience Fragment node. The synchronization state of the Experience Fragment / Offer pair is also stored here.</li></ol><p>If one or more of these pieces of configuration data is corrupted, the integration will not work correctly, and this can result in inconsistencies between Target and AEM. If a configuration is missing the integration will not work at all.</p><blockquote>If Experience Fragments are only copied, deleted, and moved using the AEM Authoring UI, corruption of these configurations is unlikely to occur. However, AEM content is often handled in bulk through scripted manipulation, or content copy using content packages.</blockquote><p>Poorly managed or executed content manipulation can result in configuration corruption and therefore issues such as those shown in the diagram below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w-vdVOZ9IrdjJC84oeg0Kg.png" /><figcaption>AEM — Target Synchronization Issues resulting configuration corruption</figcaption></figure><p>The red cross illustrates the deletion of an Experience Fragment that has resulted in an orphaned Experience Fragment Offer in Target. This may have happened when a content package was installed, or the content was manipulated directly using CRX DE or Explorer. Removing the orphan is not possible in the Target UI. A developer must do this using the raw Target API, normally using a tool such as <a href="https://www.postman.com/">Postman</a>.</p><p>The corrupt metadata shown in yellow is of a different nature. In the case shown the corrupt Experience Fragment has at some point been exported and is in a synchronized state, but the related Offer does not actually exist in the configured workspace. An AEM user would still see a green symbol indicating a healthy state, as shown below, but attempts to use the integration, e.g., <em>update in Target,</em> would fail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/425/1*kjcX6_ofU8QTmKkQkn2LGQ.png" /><figcaption>AEM Author UI showing green in-sync XF</figcaption></figure><p>This issue may have been caused by the use of content packages to copy content between different content branches or environments.</p><h4>Software Related Inconsistency</h4><p>The version of an Experience Fragment stored as an Offer on Target is a snapshot of an Experience Fragment at the time of last export.</p><p>This exported copy is not refreshed automatically. A change made to an exported AEM Experience Fragment, by a means other than use of the authoring UI, will not result in a refresh of the Target copy, and the synchronization state (stored as an Experience Fragment node property in AEM) will be wrong.</p><p>This situation arises on the deployment of any software that results in changes to the Experience Fragments or the components they contain. Depending on the implementation, this could be HTML markup, a backend change affecting content, JS, or CSS changes.</p><blockquote>An Experience Fragment exported as JSON is simpler than its HTML counterpart and is therefore less likely to be affected by software changes but is not immune.</blockquote><p>Software related inconsistency in Experience Fragments is common and crosses organizational boundaries (marketing / IT), may be largely invisible, and may also be found late; often in production.</p><p><strong>Example</strong>:</p><p>An Experience Fragment containing an example component has the following HTML:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/331/1*ZeSoQcMsNedBA60GBfLJXg.png" /></figure><p>We have a new business requirement to make all example components trackable. This should be achieved by adding the attribute <em>data-trackable </em>to the <em>cmp-example</em> container div, as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*2QE6d2OmLcUX-igJw67FDw.png" /></figure><p>The problem is that any Experience Fragments published after the deployment will include the <em>data-trackable</em> attribute, while those published before will not.</p><p>This is a situation that can easily slip through QA: Technical functional tests would pass, but on production Authors must perform some post-deployment steps — which could easily be forgotten.</p><p>If not addressed the issue will manifest itself in missing Analytics data, which is hard to detect. You can’t easily spot data that is not there.</p><h4><strong>Solutions: Process, Governance and Education</strong></h4><p>The risk of inconsistencies can be mitigated by implementing and enforcing appropriate processes and training. Measures may include:</p><ul><li>Exclude <em>/content/experience-fragments/../marketing </em>from AEM content copy operations such as copyback from higher to lower environments.</li><li>If content in <em>/content/experience-fragments/../marketing</em> must be overwritten: <br> — Before installing a content package, use the authoring UI option to <em>Delete in Adobe Target</em> all Experience Fragments in the destination AEM environment, e.g., Stage. This can be done in bulk by deleting folders — the contained Experience Fragments will also be deleted on Target. <br> — After installing the package, sanitize the Experience Fragment meta-data in the copied content. <br> — Avoid overwriting the “marketing” folders, as they contain the Target API configuration. <br> — In any case check/update the <em>Target API Config</em> on the destination AEM system to ensure that the correct Target workspace is configured.</li><li>Regularly audit unused Offers on Target and use the AEM authoring UI option <em>Delete in Adobe Target</em> to remove any he Offer and unused Experience Fragments.</li><li>Avoid changing Experience Fragment content in CRX DE/Explorer.</li><li>Ensure that AEM development and operations teams are aware of the Target integration. This may not be the case as these teams often do not have a full view of the configured production system and its external integrations.</li><li>Ensure that AEM and Target administrators are aware of the issues related to the synchronization of statically rendered HTML.</li><li>Include an item on AEM software release notes templates such as “may affect Experience Fragments” and/or make this a routine part of development story presentation in Sprint reviews.</li><li>Consider including Target teams in production smoke testing.</li><li>Consider routine refresh of exported Experience Fragments after each software deployment, at least on production. Doing this manually may not be practical for organizations with large numbers of Experience Fragments, in which case a scripted solution could be considered.</li><li>To avoid re-synchronization of work in progress, employ a practice to never work on Experience Fragments that have been synchronized to Target. Have the Authors delete from Target before editing or ask them to always do edits on an unsynchronized copy.</li></ul><blockquote>Organizations that use a large number of Experience Fragments may find the management of software related inconsistencies excessively difficult, in which case customization and alternative architectures should be considered.</blockquote><h3>Alternative Architectures</h3><p>There are alternative architectures that achieve the same aim as the integration discussed so far. One example is the use of Target <em>Remote Offers.</em></p><h4>Remote Offers</h4><p>Remote Offers can be used to deliver Experience Fragments directly from an AEM Publish instance. In this case the AEM Author -&gt; Target integration functionality is not used. This system is shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FiV0jISKVOWWiX1DwW3Ltg.png" /></figure><p>A key advantage of this architecture is that the Experience Fragments exist only on AEM; a single source of truth and with no synchronization mechanism. One of multiple disadvantages is that two requests are needed to complete the personalization (a request to Target to fetch the Remote Offer, followed by a request to AEM to fetch the Experience Fragment).</p><h3>Loose Coupling</h3><h4>Loose Coupling 1: JSON Offers</h4><p>A loose coupling of systems is normally considered as desirable in a web architecture. In the context of Experience Fragments, a loosely coupled pattern and less fragile implementation can be supported by preferring the export of Experience Fragments as JSON rather than HTML.</p><p>This results in a clean division of responsibility between the marketing content/assets provider (AEM) and the user-facing platform, responsible for rendering.</p><h4>Loose Coupling 2: Content Fragments</h4><p>Like Experience Fragments, <a href="https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/sites/integrations/content-fragments-target.html?lang=en">Content Fragments can be exported to Adobe Target</a>. Additionally, any content stored as a Content Fragment can be accessed via a <a href="https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/headless/graphql-api/content-fragments.html?lang=en">GraphQL API</a>. While this may not affect the use case of personalization via Target, it is an important feature for increasing the wider use of the Content Fragment content and supporting headless use cases.</p><h4>Loose Coupling 3: Shadow DOM</h4><p>You might want to have Experience Fragments <em>explicitly and</em> <em>intentionally</em> control their own layout and design — independent of the design of the including page. Thus, giving up the design to a client-side template might not be desirable. In this case, you should apply measures to prevent the CSS of the hosting page from bleeding into the fragment or the fragments’ CSS leaking out. The Article <a href="https://medium.com/adobetech/aem-cross-platform-experience-fragments-part-1-the-shadow-dom-59aed0a34c9b">AEM Cross-Platform Experience Fragments</a> sketches out this approach.</p><h3>Further Reading</h3><p>The Experience League website contains an excellent <a href="https://experienceleague.adobe.com/docs/target/using/integrate/aem/fragments/experience-fragments-aem.html?lang=en">practical guide</a> to the integration which is written from the Target perspective.</p><p>More from the authors:</p><ul><li><a href="https://medium.com/@achimkoch">Achim Koch - Medium</a></li><li><a href="https://medium.com/@robfreem">Rob Freeman - Medium</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17466049e3fa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ten Tips for Creating a Great Web Extension for Adobe Experience Platform Tags]]></title>
            <link>https://medium.com/adobetech/ten-tips-for-creating-a-great-web-extension-for-adobe-experience-platform-tags-af674b9a323?source=rss-472ef44e2078------2</link>
            <guid isPermaLink="false">https://medium.com/p/af674b9a323</guid>
            <category><![CDATA[adobe-experience-platform]]></category>
            <category><![CDATA[adobe-launch]]></category>
            <category><![CDATA[adobe-tag-management]]></category>
            <category><![CDATA[adobe]]></category>
            <category><![CDATA[launch-extensions]]></category>
            <dc:creator><![CDATA[Rob Freeman]]></dc:creator>
            <pubDate>Wed, 27 Jul 2022 15:04:45 GMT</pubDate>
            <atom:updated>2022-07-27T15:04:45.134Z</atom:updated>
            <content:encoded><![CDATA[<p>I recently worked on the creation of a <a href="https://medium.com/adobetech/adobe-experience-platform-tags-extension-for-google-data-layers-2349b1fd101e">new web extension</a> for Adobe Experience Platform Tags (fka Launch). This was a great experience that took me from the basics of extension implementation through to an Adobe product release while working together with many experts along the way. Jeff Chasin at Adobe encouraged me to blog about this experience with the aim of helping others to create… awesome functionality in Tags!</p><figure><img alt="adobe tags example extension injecting code into page" src="https://cdn-images-1.medium.com/max/974/1*SkUv19pMIZCin26Afqi6_A.png" /></figure><h4>Contributors</h4><p>While Jeff’s initiative and enthusiasm were the driving force behind this post, I turned to Frederik Werner for support in writing it. I love the depth and real-world detail in Frederik’s posts on his website <a href="https://www.fullstackanalyst.io/">fullstackanalyst.io</a>, and he has been a great help in reinforcing, adjusting, or gently vetoing my comments.</p><p>I have also included input from <a href="https://yuhui.sg/">Yuhui</a>. He is a regular contributor to the Launch <a href="http://join.connectionsdevs.chat/">developer Slack workspace</a> and his <a href="https://github.com/yuhui?tab=repositories&amp;q=%23adobe-launch+%23extension&amp;type=&amp;language=&amp;sort=">extensions</a> are great examples of clean, well-documented, and well-structured implementations, with no unnecessary complexity.</p><p>Finally the post builds on the advice and work of my Adobe colleagues Steve Pelhan, Brent Hosie and Serban Stancu.</p><h4>Scope</h4><p>Since the <a href="https://experienceleague.adobe.com/docs/experience-platform/tags/extension-dev/submit/develop.html">Tags documentation</a> is good and there are already some great posts and videos out there on this topic, I have tried to minimize the repetition and stick to some tips and observations that I think are useful for progressing beyond the basic tutorials.</p><p>You should therefore be familiar with Tags and at least one of the following to get the most from this post:</p><p><a href="https://experienceleague.adobe.com/docs/experience-platform/tags/extension-dev/submit/develop.html">Adobe documentation</a><br><a href="https://webanalyticsfordevelopers.com/2018/01/16/launch-make-an-extension-setup/">Jan Exner’s blog</a><br><a href="https://www.youtube.com/playlist?list=PLOdw8u2F8CIgynzKrPEwCPuDxzHW1WP5m">Jeff Chasin’s YouTube playlist</a><br><a href="https://www.youtube.com/watch?v=rxjtC9o4rl0">Aaron Hardy’s YouTube tutorial</a></p><h4>Example code</h4><p>To avoid making this post too long I have linked to good code examples on Github instead of including snippets in the text. If you want code, don’t ignore the links.</p><h4>First things first: Architecture and terminology</h4><p>The diagram shows a simplified view of the Tags architecture plus terminology that is useful for understanding Tags developer documentation, code, and concepts. Each term is briefly explained below the diagram.</p><figure><img alt="simplified view of data collection and Tags architecture and technical terms" src="https://cdn-images-1.medium.com/max/700/1*bqPLy1GOQ21QHjXlSu95hg.png" /><figcaption>Simplified Tags architecture and library deployment</figcaption></figure><p><strong>Tags </strong>was previously known as Launch (client-side). Dynamic Tag Management (DTM) was the previous tag management system from Adobe, and the term DTM is occasionally still used. Tags is one of a suite of technologies in <a href="https://experienceleague.adobe.com/docs/data-collection.html">Adobe Experience Platform Data Collection</a></p><p><strong>Reactor </strong>is a name you may see in various places. The API for Tags is the Reactor API and several open-source packages also use this name.</p><p><strong>Turbine </strong>is the orchestrator within the Tags JavaScript runtime library (the library deployed on a website).</p><p><strong>Event Forwarding </strong>is<strong> </strong>one feature of Adobe Experience Platform Real-time CDP Connections. If provisioned, it will appear in the menu in the Data Collection UI (visible in the illustration above). Extensions created for event forwarding run in the <a href="https://medium.com/adobetech/streamlining-client-server-integrations-with-adobe-experience-platform-experience-edge-1caaef887172#:~:text=Edge%20Network%20is%20an%20Adobe,Audience%20Manager%2C%20and%20Adobe%20Analytics.">Platform Edge Network</a> and there is no relationship or inter-dependency with Tags, although the UI and component naming (<em>Data Element</em> etc.) are the same.</p><p><strong>Now to those tips:</strong></p><h4>1. Consider not creating an extension</h4><p>You can achieve a lot in Tags without creating a new extension.</p><p>In his post <a href="https://www.fullstackanalyst.io/blog/adobe-launch/should-you-really-build-an-adobe-launch-extension/">Should you Really Build an Adobe Launch Extension</a>, Frederik looked at this topic in detail. I won’t rewrite the article here, although as a teaser I include and paraphrase some of his points:</p><ul><li>You may expect the maintenance of centralized extension code to be less time-consuming than maintaining many individual Tags components across multiple properties. That may not be as effective as you think — after any extension development, release and deployment, you must still update, test, and deploy a new library across all properties that use the extension.</li><li>If your extension would add to Tags what you consider as missing functionality, it may be better to contribute to the <a href="https://github.com/adobe/reactor-extension-core">Core extension</a>, either by feature request or commit/PR.</li><li>Is motivation for building the extension the development itself? Is the development sensible and maintainable in the long term?</li></ul><p>If these points have sown the seeds of doubt, I strongly recommend reading the <a href="https://www.fullstackanalyst.io/blog/adobe-launch/should-you-really-build-an-adobe-launch-extension/">full article</a>.</p><p>Do you still want to create that extension? Yes? Great news! Now:</p><h4>2. Join the Launch Developers Slack channel</h4><p>The Launch Developers Slack is a rich source of information and support. There are channels for different types of extensions and issues, and the Adobe Tags platform developers are frequent contributors. To get access <a href="http://join.connectionsdevs.chat/">apply here</a>.</p><h4>3. You need more than the Reactor Scaffold to build a solid project base</h4><p>When I started work on the <a href="https://github.com/adobe/reactor-extension-googledatalayer">Adobe Google Data Layer extension</a>, I assumed that the <a href="https://experienceleague.adobe.com/docs/experience-platform/tags/extension-dev/getting-started.html?lang=en">reactor-scaffold tool</a> would put me on a good path to an Adobe ‘best practice’ implementation. For better or for worse, that is not the case.</p><p><em>Scaffold</em> is truly an appropriate name: it gives you a starter platform to work on but does not direct you towards any particular implementation pattern or practice. Stretching the metaphor somewhat; you could use it to build a roof with the ridge at the bottom.</p><p>Once you are ready to start work, I recommend reviewing the UI choices, then putting some simple… roof beams in place, with the ridge at the top.</p><h4>4.1 UI Choices</h4><p><a href="https://react-spectrum.adobe.com/react-spectrum/">React Spectrum</a> is a React implementation of <a href="https://opensource.adobe.com/spectrum-css/">Spectrum CSS</a>, and is the official framework for the Tags UI. Using React Spectrum to implement your extension is the only way to achieve a pure Adobe look and feel. The framework can accelerate the creation of complex UIs, but introducing it will make a simple extension codebase more complex, and React knowledge will be required.</p><p>To get <strong>close</strong> to the Adobe look and feel, but without the inherent complexity of a React project, you could instead use <a href="https://opensource.adobe.com/spectrum-css/">Spectrum CSS</a> together with vanilla JavaScript.</p><p>If the Adobe look is not important, other frameworks can be used, for example, <a href="https://getbootstrap.com/docs/5.0/getting-started/introduction/">Bootstrap</a>, or you could just write your own CSS.</p><figure><img alt="three choices of UI; React Spectrum, Spectrum, Bootstrap" src="https://cdn-images-1.medium.com/max/700/1*InVZsPAfpq7_iRv-8Rs5kw.png" /><figcaption>Choices, choices</figcaption></figure><p>Taking a position on this:</p><ul><li>For a simple extension for a single customer, prefer a simple UI using a framework such as Bootstrap (see this <a href="https://github.com/jeffchasin/extension-pinterest">Pinterest extension</a>), or Spectrum CSS with vanilla JavaScript (see <a href="https://github.com/yuhui?tab=repositories&amp;q=%23adobe-launch+%23extension&amp;type=&amp;language=&amp;sort=">Yuhui’s extensions</a>).</li><li>If the extension will have complex dialogs and/or if full alignment with Adobe is important, a React Spectrum implementation may be a better choice (see the <a href="https://github.com/facebookincubator/reactor-extension-facebook-pixel">Facebook pixel extension</a>). I look in more detail at React Spectrum in the next section.</li></ul><p>Note that these UI decisions are not related to the front-end implementation of a website using the extension.</p><h4>4.2 On React Spectrum</h4><p>Many Tags extensions have only standard, stateless HTML form fields that are not re-rendered in response to user interaction. The screenshot below shows an example.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*IydtXaWG1tvnke4SHO6Rgw.png" /><figcaption>a stateless extension dialog with only a simple HTML form</figcaption></figure><p>As React’s main purpose is to manage UI state and rendering, React Spectrum is probably not a good choice for such extensions.</p><p>The more complex the UI becomes, the more sense a React Spectrum implementation makes, as it includes many components out of the box that would otherwise be time-consuming to implement, for example, <a href="https://react-spectrum.adobe.com/blog/date-and-time-pickers-for-all.html">date/time pickers</a> and <a href="https://react-spectrum.adobe.com/react-stately/useAsyncList.html">list filtering</a>.</p><p>Also relevant to the choice of UI is the future of the extension. The <a href="https://github.com/adobe/reactor-extension-googledatalayer">Adobe Google Data Layer extension</a> is a good example. Currently, all dialogs are standard stateless forms and the React Spectrum UI has been superfluous. The extension is however an evolving beta, and as the dialog complexity increases, React is making more sense.</p><p>An enhancement to the Adobe Google Data Layer extension will use the stateful multi-field shown below. Using React, the add/remove/validation functionality of the dialog is fast, simple, and clean.</p><figure><img alt="dynamic React Spectrum component" src="https://cdn-images-1.medium.com/max/1024/1*VFR6O2mLmCAVHBI8R7_8zA.png" /><figcaption>Stateful dialog created with React Spectrum</figcaption></figure><p>Whether React Spectrum should be used or not must be judged on a case-by-case basis. In addition to alignment with Adobe, and current and future dialog requirements, the choice will depend on factors such as available skillsets and developer preference.</p><h4>5. Create an HTML Template</h4><p>After creating a scaffold project, I recommend immediately changing one of the generated HTML view files to use your chosen UI. Then use that as a template for the others (the view files are all similar). <a href="https://github.com/yuhui/launchext-youtube-playback/blob/master/src/view/dataElements/moduleNames.html">Here is an example of a simple data element</a> using Spectrum CSS.</p><h4>6. Front-end build tools</h4><p>If you are building a React Spectrum UI then you will of course need a front-end build system.</p><p>If you choose a plain JavaScript/HTML implementation, then it is advisable but not a requirement. Here’s a <a href="https://www.wisdomgeek.com/development/web-development/javascript/javascript-build-tools/">good post on why to take the trouble</a>.</p><p>Some recommendations:</p><ul><li>Don’t use TypeScript or similar unless you see a clear need. You may love it, but it’s not commonly used for Tags extensions and there’s a good chance that your successor won’t.</li><li>Before using or transpiling to CommonJS bear in mind that Adobe is ending <a href="https://experienceleague.adobe.com/docs/experience-platform/tags/ie-deprecation.html">support for IE 10 and 11 in Tags</a>.</li></ul><h4>7. Take time to save time</h4><ul><li>Use bookmarks for the <a href="https://experienceleague.adobe.com/docs/experience-platform/tags/extension-dev/submit/develop.html?lang=en">development documentation</a> and <a href="https://experienceleague.adobe.com/docs/experience-platform/tags/api/overview.html?lang=en">Reactor API</a> pages to avoid frustrating excursions through other similarly named documentation.</li><li>Create a shell script to upload (<a href="https://experienceleague.adobe.com/docs/experience-platform/landing/platform-apis/api-authentication.html">create the credentials</a>):</li></ul><pre>#!/bin/sh <br>npx @adobe/reactor-uploader <br>--private-key=/Users/johndoe/tags/private.key <br>--org-id=123456@AdobeOrg<br>--tech-account-id=123456@techacct.adobe.com <br>--api-key=123456<br>--client-secret=123456</pre><p>​ ​ ​​​ ​ ​​​ ​ ​​​ ​Note: you can use the –verbose flag to get a detailed output.</p><ul><li>If you use build tools, put some useful commands in your package.json for example:</li></ul><pre>“scripts”: { <br>“package”: “npm run build &amp;&amp; npx @adobe/reactor-packager”, <br>“prepack”: “npm test &amp;&amp; npm run build”, <br>…</pre><ul><li>Whether or not you use build tools, I recommend using node/npm to speed up your Reactor tools. This is particularly noticeable when starting the sandbox. See this <a href="https://github.com/yuhui/launchext-youtube-playback/blob/master/package.json">package.json</a> from Yuhui’s YouTube Playback extension and the <a href="https://www.npmjs.com/package/@adobe/reactor-sandbox">sandbox documentation</a>.</li></ul><h4>8.1 Extensions must have a unique name</h4><p>Extensions must have a name that is unique across all Experience Platform organizations (Tags ‘instances’), regardless of whether the extension is private, public, or in development.</p><p>To avoid naming conflicts, use an organizational prefix, for example, acme[function]. This is shown in the extension.json snippet below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jKN9kLWQIEVGN2KuOY4Ihw.png" /><figcaption>Extract from extension.json showing the name as [organisation][function]</figcaption></figure><p>The name must follow the rules detailed in the <a href="https://experienceleague.adobe.com/docs/experience-platform/tags/extension-dev/manifest.html">manifest documentation</a>.</p><h4>8.2 Unique names and collaboration during development</h4><p>The name restriction can be problematic during development as you will not be able to share your development or private extension with people outside your Experience Platform organization for collaboration and testing. If there’s no way of giving an external colleague access to your own organization, you will need to rename and repackage the extension before uploading it to your colleague’s organization.</p><h4>9. Keep the API in mind</h4><p>As Adobe has supplied tools to create, release and upload extensions, it is tempting to ignore the <a href="https://developer.adobelaunch.com/api/">Reactor API</a>.</p><p>The API though does have its place. Among other things, the API can be used to access details that are not visible in the Tags UI. A small example is the <em>availability</em> status of the extension, shown in the response below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*fG-deG4yr_EbVqU1FbmokQ.png" /><figcaption>Reactor API response showing extension availability</figcaption></figure><p>A Postman collection for the API is <a href="https://github.com/adobe/reactor-postman">available here</a> and a very useful document explaining how to painlessly get the required credentials <a href="https://github.com/adobe/reactor-sdk-javascript#your-access-token">is here</a>.</p><h4>10. Increase reliability through the use of the extension.json manifest and constants</h4><p>The <a href="https://experienceleague.adobe.com/docs/experience-platform/tags/extension-dev/manifest.html">extension.json manifest</a> can enforce data storage restrictions through the use of the schema properties. The Adobe Google Data Layer extension <a href="https://github.com/adobe/reactor-extension-googledatalayer/blob/main/extension.json">manifest</a> has a good example in the section <em>Google DL Push Event</em>.</p><p>Note that manifest Enum restrictions should also be applied in JavaScript code, for example in a constants file. While this approach gives two sources of truth for managing values, it’s better than no central control.</p><h4>And finally</h4><p>I hope that you find this post a practical and useful addition to the existing documentation and information, and if so please do share.</p><p>Enjoy your Tags development experience!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af674b9a323" width="1" height="1" alt=""><hr><p><a href="https://medium.com/adobetech/ten-tips-for-creating-a-great-web-extension-for-adobe-experience-platform-tags-af674b9a323">Ten Tips for Creating a Great Web Extension for Adobe Experience Platform Tags</a> was originally published in <a href="https://medium.com/adobetech">Adobe Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Adobe Experience Platform Tags Extension for Google Data Layers]]></title>
            <link>https://medium.com/adobetech/adobe-experience-platform-tags-extension-for-google-data-layers-2349b1fd101e?source=rss-472ef44e2078------2</link>
            <guid isPermaLink="false">https://medium.com/p/2349b1fd101e</guid>
            <category><![CDATA[adobe-experience-platform]]></category>
            <category><![CDATA[adobe-launch]]></category>
            <category><![CDATA[google-marketing-platform]]></category>
            <category><![CDATA[datalayer]]></category>
            <category><![CDATA[adobe-tag-management]]></category>
            <dc:creator><![CDATA[Rob Freeman]]></dc:creator>
            <pubDate>Wed, 29 Jun 2022 06:28:03 GMT</pubDate>
            <atom:updated>2022-07-06T22:21:25.120Z</atom:updated>
            <content:encoded><![CDATA[<h4>Co-author: Steve Pelhan, Adobe Customer Success Services</h4><p>Steve and I are pleased to introduce a <a href="https://experienceleague.adobe.com/docs/experience-platform/tags/extensions/adobe/google-data-layer/overview.html">new Adobe Experience Platform Tags extension</a> that simplifies client-side data collection in any web implementation that uses a hybrid of Google and Adobe products.</p><p>This blog post discusses use cases, deployment scenarios, challenges, and technical details related to the Adobe Google Data Layer Extension and how it helps our customers use both Google and Adobe products.</p><h4>Summary</h4><p>A common problem using Google and Adobe products on the same webpage is the use of multiple vendor-specific data layers. The result can be unreliable data collection, duplicate code, complex data layer synchronization, slow vendor migration, and excessive maintenance costs.</p><p>The illustration shows one such construct.</p><figure><img alt="two data layers, synchronized" src="https://cdn-images-1.medium.com/max/900/1*REwxHuKdN8jK1Yp45jFzAQ.png" /></figure><p>To address these issues Adobe recently released the Adobe Google Data Layer extension for Tags (previously<em> Adobe Launch</em>). The extension provides Tags with the logic needed to interact with a Google Data Layer simultaneously with Google Marketing Platform solutions, such as Google Analytics, and Adobe solutions.</p><p>The resulting change in approach is illustrated below.</p><figure><img alt="one data layer, two consumers" src="https://cdn-images-1.medium.com/max/900/1*iFwvjADHebn2Kf246BiY1A.png" /></figure><h4>Assumptions</h4><p>The blog assumes a knowledge of Adobe Experience Platform systems such as the Platform Edge network, Web SDK or alloy.js, and the role of tag managers and data layers in a web analytics environment. When discussing Google solutions it is assumed that an existing implementation is modern and using the Google event-driven data layer.</p><h3>Adobe Google Data Layer Extension use cases</h3><p>The Google Data Layer Extension grew from a requirement for rapid MVP-level AEP web data collection, as part of the introduction of the Adobe Experience Cloud solutions into an existing Google Marketing Platform web ecosystem.</p><p>This environment had the following characteristics:</p><ul><li>A large amount of momentum behind the existing Google Marketing Platform implementation</li><li>Evolving Google data collection implementation in the website front-end</li><li>Customer management pressure to demonstrate value from Adobe technology</li><li>Complex Google Tag Manager ownership at tenant level making tagging changes problematic</li></ul><p>The Google Data Layer Extension was built to accelerate the introduction of Adobe solutions into this environment while allowing the Google solutions to continue untouched. As the extension will benefit many customers and use cases we decided to ‘productize’ the extension and to make the code open source.</p><p>The Adobe Google Data Layer Extension streamlines the following use cases:</p><ul><li>Long-term support for both Google and Adobe stacks, avoiding the need to use and synchronize vendor-specific data layers</li><li>Google to Adobe migration projects, for example, Google Analytics to Adobe Analytics</li><li>Quick prototyping of using Adobe products for customers that have a Google data layer</li></ul><h4>Extension Components</h4><p>The Adobe Google Data Layer Extension provides the following functions and UI elements:</p><ul><li>Configuration of data layer name</li><li>Instantiation of the Google Data Layer Helper object</li><li>A <em>data element</em> to fetch event, computed state, or raw data layer values</li><li>A rule <em>event</em> to catch different types of data layer activity</li><li>An <em>action</em> for pushing JSON to the data layer</li><li>An <em>action</em> to reset the data layer to the computed state</li></ul><p>Links to documentation and resources are given at the end of the blog post.</p><h3>Deployment Considerations</h3><p>In this section we consider the environment being supported by the Adobe Google Data Layer Extension; primarily the associated tag manager deployment and the interaction with Google solutions.</p><h4>Google Product Deployment and Migration</h4><p>The Adobe Google Data Layer Extension will support the shared use of a Google Data Layer in a variety of Google deployment scenarios, including direct code inclusion, use of an Adobe Tags extension such as <a href="https://exchange.adobe.com/apps/ec/101437/google-global-site-tag-gtag">Acronym’s GTag extension</a>, or using Google Tag Manager. This allows the Google Data Layer Extension to support a staged migration between tag managers and data layers.</p><p>A migration from Google Tag Manager/Google Analytics to Adobe Tags/Analytics/Platform could look like this:</p><ol><li>Deploy Tags and the Adobe Google Data Layer Extension</li><li>Introduce Adobe solutions</li><li>Google Tag Manager permanent integrations migrated to Tags</li><li>Google Analytics sundown or migration to Tags</li><li>Google Tag Manager sundown</li></ol><p>The Adobe Google Data Layer Extension makes this process easier by removing the need to duplicate or replace the data layer.</p><h4>Double Tagged Tag Managers</h4><p>The illustration below shows a Google Data Layer shared by Adobe and Google solutions. To implement this, two client-side tag managers are deployed; commonly referred to as <em>double-tagging</em>. This construct may be advantageous for a POC, demo, or as a temporary step in a migration process, but is normally considered a poor practice that should be avoided.</p><figure><img alt="double tagging — google and adobe" src="https://cdn-images-1.medium.com/max/903/1*HYD_a0hixGcxGAzAOM03Tg.png" /></figure><p>Compared with an implementation using only Google Tag Manager, the technical cost of the double tagging (Tags plus the Adobe Google Data Layer Extension) is small: approximately 20kB of additional JavaScript, a DNS lookup, and an additional network request. Of more concern is the increased process and governance complexity of running two tagging systems and the need to have either interaction between them or duplicated code and effort.</p><p>Ideally, a single tag manager will be used to embed all required tags. If Tags and the Google Data Layer Extension are deployed before any Google products are added to a page, the use of Tags alone is straightforward and there is no need to use the second tag manager.</p><p>Avoiding the use of double-tagging in a mature and complex Google Tag Manager environment is however not always so simple. This may require either the migration of Google Tag Manager managed implementations to Tags or the implementation of Adobe data collection in Google Tag Manager. A third option; server-side event forwarding, is briefly discussed below.</p><h4>Server-Side Event Forwarding</h4><p>Server-side event forwarding is an option for reducing duplication and streamlining the performance of web data collection. This forwarding can be from either Google to Adobe or Adobe to Google and might be considered the Holy Grail of mixed vendor data collection architecture.</p><p>Shown below is one possible server-side event forwarding architecture, making use of Adobe’s Edge network as the endpoint for client-side data collection and Web SDK as the single client-side data collection library.</p><figure><img alt="server-side event forwarding using Adobe edge network" src="https://cdn-images-1.medium.com/max/903/1*KuoX4AM2wzImW6cWiRgtlA.png" /></figure><p>This has at least the following advantages over the multi-vendor client-side system discussed so far:</p><ul><li>Only one data collection library needed on the webpage (alloy.js)</li><li>Reduced network traffic — all events go to a single endpoint</li><li>Data enrichment can take place in the Edge network</li></ul><p>The server-side approach is however a large topic, reaching well beyond the initial data collection mechanism supported by Tags and a data layer. It will therefore not be discussed in more detail. The important point for this post is that the Google Data Layer and the Adobe Google Data Layer Extension can be used to implement the client-side data collection in what is otherwise an Adobe-based system.</p><h4>Google Tag Manager or Adobe Tags</h4><p>The Adobe Experience Cloud solutions and the Platform Edge network and its server-side functionality discussed above are not dependent on the use of Tags. For example Platform XDM data that has been created and posted using Google Tag Manager and alloy.js is no better or worse than XDM delivered by Tags using the Google Data Layer and Web SDK extensions.</p><p>This technical parity means that it would be possible to avoid double-tagging and retain Google Tag Manager even after the migration of other Google Marketing Platform solutions to Adobe. The more extensive and complex the Google Tag Manager and Google Marketing Platform implementation and ownership is, the higher the cost of a migration away from Google Tag Manager would be.</p><p>The benefits of using Tags for the deployment of Adobe solutions will however outweigh the cost of migration from Google Tag Manager to Tags in most migration situations. Advantages of Tags over Google Tag Manager include:</p><ul><li>Administration and development of Tags client-side data collection and Edge network management functionality is done using a single portal, experience.adobe.com</li><li>The Tags Web SDK extension and the older client-side integration extensions for Analytics, Target, etc., add functionality to Tags that would require manual custom development work in Google Tag Manager</li><li>These extensions provide Tags GUI features which make configuration and management of the Adobe implementations more accessible to non-technical users</li><li>Developers and consultants are normally aligned to a vendor. Those involved in the integration of Adobe solutions will normally be more proficient in the use of Tags than Google Tag Manager</li><li>Future-proofing. Adobe marketing technology is evolving rapidly and Tags development will be aligned with this. Google Tag Manager will develop in line with Google Marketing Platform solutions</li></ul><p>Note that this list is not intended to be a complete product comparison and considers only issues related to the introduction of Adobe products.</p><h3>Deep Dive into the Google Data Layer and Extension</h3><p>Having looked at why and how the Adobe Google Data Layer extension can be used, we will now take a much closer look at what the extension does, and how it works together with the Google data layer code to deliver a powerful, event-driven data collection implementation. As the Adobe Client Data Layer (ACDL) is the Adobe standard for use with Adobe solutions, this will be used as a baseline reference when discussing functionality.</p><h4>The EDDL magic sauce: Internal model and the computed state</h4><p>The Google Data Layer is an Event-Driven Data Layer, or EDDL, similar to the Adobe Client Data Layer (ACDL). A good starting point and an important concept for a deep dive is EDDL <em>computed state</em>, also referred to by Google as the <em>abstract model</em>.</p><p>The fundamental technical task of the Adobe Google Data Layer Extension is to provide access to the computed state of the data layer in code implemented using the Tags <em>rules, data elements, and actions</em>.</p><p>The computed state is a representation of the current values of all data held in the data layer at a given point in the series of data/event pushes to the data layer.</p><p>The illustration below shows a series of four push events and the resulting data layer computed states being caught and handled in Tags rules, using logic provided by the Adobe Google Data Layer Extension, represented by the green box. Each rule is triggered by and has access to the abstract model (the computed state) at the moment of the event push to the data layer, in addition to a copy of the event object containing the event information.</p><p>The Google code used by the extension is the Google Data Layer <em>Helper</em>, represented in grey.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/1*sqx2dqRZmHlFwIx_KGmqCA.png" /></figure><p>To understand the contents of the computed state models, consider the push sequence below:</p><pre>dataLayer.push({<br>  &quot;event&quot;: &quot;userProfileEvent&quot;,<br>  &quot;profile&quot;: {<br>    &quot;nickname&quot;:&quot;bob&quot;,<br>    &quot;firstname&quot;:&quot;Robert&quot;<br>  }<br>});</pre><pre>dataLayer.push({<br>  &quot;event&quot;: &quot;userProfileEvent&quot;,<br>  &quot;profile&quot;: {<br>    &quot;nickname&quot;:&quot;bobby&quot;<br>  }<br>});</pre><pre>dataLayer.push({<br>  &quot;event&quot;: &quot;userProfileEvent&quot;,<br>  &quot;profile&quot;: {<br>    &quot;nickname&quot;:&quot;Rob&quot;<br>  }<br>});</pre><p>the data layer would look like this:</p><pre>1: {event: &#39;userProfileEvent&#39;, profile: {nickname: &#39;bob&#39;, firstname: Robert}}<br>2: {event: &#39;userProfileEvent&#39;, profile: {nickname: &#39;bobby&#39;}}<br>3: {event: &#39;userProfileEvent&#39;, profile: {nickname: &#39;Rob&#39;}}</pre><p>while the computed state / abstract model would hold the most recent values of all properties and be a ‘condensed’ object:</p><pre>event: &quot;userProfileEvent&quot;<br>profile: <br>    firstname: &quot;Robert&quot;<br>    nickname: &quot;Rob&quot;</pre><p>This computed state is frozen in time during the processing of a Tags event, so further changes to the data layer that occur during event processing do not have any effect; they would only be visible in later computed states, processed in later rules.</p><p>The computed state of the Google Data Layer can be accessed in the Tags extension by using the provided data element.</p><h4>Events and data</h4><p>Both the Adobe Client Data Layer and Google Data Layer use a special type of data push marked with the keyword ‘event’, for example:</p><pre>dataLayer.push({&quot;event&quot;:&quot;scroll&quot;});</pre><p>Google Tag Manager can catch this in a <em>trigger</em>, while Tags can match the value of the event using the Adobe Google Data Layer Extension event listener dialog in a rule. A push of data without the <em>event</em> keyword can still be caught but without the possibility of matching the value of the event key.</p><p>The use of an event in a push to the data layer is in effect signaling to a consumer that something significant has happened.</p><h4>Multiple consumers, multiple vendors, consistent behaviour</h4><p>As multiple Google Data Layer Helpers can use the same data layer without interaction, the computed state of each is independent. This allows multiple Adobe and Google consumers to both push to, and consume data from, the same Google Data Layer, with a high degree of certainty that there will be no interaction.</p><p>Additionally, since both the Adobe Google Data Layer Extension and Google solutions are using the same Google Helper code under the hood, the behaviour of the data layer is consistent across solutions and vendors.</p><h4>Adobe vs Google Data Structure</h4><p>A perceived difference between the Adobe Client Data Layer and Google Data Layer is the data structure used with each.</p><p>Discussion of the Adobe Client Data Layer often shows highly structured data, particularly in the context of AEM Core Components or Experience Platform XDM. Google Data Layer documentation and discussion normally show flatter data structures and are unlikely to mention Adobe XDM.</p><p>The difference in documentation can lead to an assumption that there is a fundamental difference between Adobe and Google data layers. This is not the case and both data layers will accept almost any data format.</p><p>In a migration scenario it is likely that an existing front-end tracking implementation can remain untouched when introducing Adobe solutions. An exception is if you want to add more data to what is being collected.</p><p>The Adobe / Google structural difference shown in documentation may look like this:</p><p>‘Google Style’ relatively flat event push. This event information could be mapped in to an Adobe XDM structure using Tags, to then be sent as XDM to the Edge network.</p><pre>dataLayer.push({<br>  &quot;event&quot;: &quot;analyticsEvent&quot;,<br>  &quot;event_name&quot;: &quot;navigation&quot;,<br>  &quot;navigation&quot;: {<br>    &quot;event_category&quot;: &quot;main navigation&quot;,<br>    &quot;event_action&quot;: &quot;link click&quot;,<br>    &quot;event_label&quot;: &quot;Home&quot;,<br>    &quot;navigation_item&quot;: &quot;link&quot;<br>  }<br>});</pre><p>Similar information in an XDM structure in an ‘Adobe Style’ data layer push might look like this. Here we have a raw piece of XDM that could be sent (with additional context XDM) to the Edge network with little or no modification.</p><pre>dataLayer.push({<br>&quot;event&quot;: &quot;analyticsEvent&quot;,<br>&quot;eventName&quot;: &quot;navigation&quot;,<br>&quot;xdm&quot;: {<br>    &quot;web&quot;: {<br>        &quot;webInteraction&quot;: {<br>            &quot;name&quot;: &quot;navigation&quot;<br>            &quot;event: {<br>                &quot;category&quot;: &quot;navigation&quot;,<br>                &quot;action&quot;: &quot;link click&quot;<br>                &quot;label&quot;: &quot;Home&quot;<br>                &quot;navigationItem&quot;: &quot;link&quot;<br>            }<br>        }<br>    },<br>    &quot;eventType&quot;: &quot;web.webinteraction.linkClicks&quot;<br>}<br>});</pre><p>The web SDK will accept either format and has tools for mapping existing data into XDM format. Data architects and developers will define the appropriate data structures, and this is unrelated to whether a Google Data Layer or Adobe Client Data Layer is used. Additionally, both the Adobe Client Data Layer and Google Data Layer Tags extensions include data elements which can return individual nested values or complete JSON objects, for example the entire data layer.</p><p>In a mature Google Analytics environment it is likely that mapping to XDM would be implemented in the client-side tag manager; Google Tag Manager and/or Tags. In a clean Adobe-focused environment it may be more attractive to push pure XDM to the data layer and minimise a mapping implementation in Tags. In this case the computed state of the data layer is an XDM object resulting from the merge of pushes such as that shown in the second data layer example above.</p><h4>More on Data Collection in Tags</h4><p>The blog posts of my Adobe Consulting Services colleagues Benedikt Wedenik and Julien Piccini are a great source of information about data collection using Adobe Tags, and while the focus is on the Adobe Client Data Layer, they are equally relevant for users of the Google Data Layer. See <em>Related Blog Posts</em> in the resources section at the end of the page.</p><h4>More on the Google Data Layer</h4><p>The <a href="https://github.com/google/data-layer-helper">Google Data Layer Helper project</a> README provides fine-grained detail about the use and behaviour of the Data Layer itself.</p><h4>Google vs Adobe Data Layers</h4><p>There are minor functional differences between the Google Data Layer and the data layer more commonly associated with Adobe solutions, the Adobe Client Data Layer. A developer working with both must be aware of these, but for the purposes of this post, in which an existing Google Data Layer is assumed, this low-level detail will not be discussed.</p><p>The key point is that the data layer vendor need not be a consideration in a Google to Adobe migration process. A Google Data Layer can continue to be used even in a pure Adobe, post-Google environment.</p><h3>About</h3><p>The Adobe Google Data Layer extension is the result of work by Adobe and Valtech Switzerland’s Adobe practice.</p><p>Particular thanks to the following for the enthusiasm and support needed to develop, test, and release the extension:</p><p>David Schneider and Andreas Kaufmann at Valtech Switzerland who helped give birth to the project.</p><p>Jeff Chasin, Justin Grover, Brent Hosie, Kevin Jemison, Paul van Oosterhout, Brandon Pack, Steve Pelhan, Serban Andrei Stancu, and Jon Viray at Adobe all of whom contributed to pushing the project through to release.</p><h4>Extension Maturity</h4><p>At the time of writing the Adobe Google Data Layer Extension v1.0.6 has had limited production use and should be considered a beta.</p><p>We encourage feedback and welcome contributions via the <a href="https://github.com/adobe/reactor-extension-googledatalayer">open-source Github repository</a>.</p><h3>Resources</h3><h4>Related Blog Posts</h4><p><a href="https://webanalyticsfordevelopers.com/2020/11/17/lean-analytics-with-acdl/">https://webanalyticsfordevelopers.com/2020/11/17/lean-analytics-with-acdl/</a></p><p><a href="https://www.datanalyst.info/web_analytics/the-event-driven-data-layer-revolution/">https://www.datanalyst.info/web_analytics/the-event-driven-data-layer-revolution/</a></p><h4>Google Data Layer</h4><p><a href="https://github.com/google/data-layer-helper">Data Layer Helper in Github</a>. Detailed information about data layer usage.</p><h4>Google Data Layer Extension</h4><p><a href="https://exchange.adobe.com/apps/ec/108445/google-data-layer">Exchange Listing</a>. Contains screenshots of UI elements and a functional overview.</p><p><a href="https://experienceleague.adobe.com/docs/experience-platform/tags/extensions/adobe/google-data-layer/overview.html">Product Documentation</a>. Simple usage instructions.</p><p><a href="https://github.com/adobe/reactor-extension-googledatalayer">Project on Github</a></p><h4>Adobe Client Data Layer</h4><p><a href="https://github.com/adobe/adobe-client-data-layer">ACDL project on Github</a></p><p><a href="https://github.com/pitchmuc/acdl_extension">ACDL Extension Project on Github</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2349b1fd101e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/adobetech/adobe-experience-platform-tags-extension-for-google-data-layers-2349b1fd101e">Adobe Experience Platform Tags Extension for Google Data Layers</a> was originally published in <a href="https://medium.com/adobetech">Adobe Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>