<?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 Pranav Mandlik on Medium]]></title>
        <description><![CDATA[Stories by Pranav Mandlik on Medium]]></description>
        <link>https://medium.com/@pranavmandlik8?source=rss-299b705c3096------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*a4mMsIhQvga6DYPc</url>
            <title>Stories by Pranav Mandlik on Medium</title>
            <link>https://medium.com/@pranavmandlik8?source=rss-299b705c3096------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 23:25:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pranavmandlik8/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[Adobe Stack Daily #007 — Your AJO Journey Is Silently Ejecting Profiles After 91 Days.]]></title>
            <link>https://medium.com/@pranavmandlik8/adobe-stack-daily-007-your-ajo-journey-is-silently-ejecting-profiles-after-91-days-ad44158b55a6?source=rss-299b705c3096------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad44158b55a6</guid>
            <category><![CDATA[martech]]></category>
            <category><![CDATA[journey-timeout]]></category>
            <category><![CDATA[guardrail]]></category>
            <category><![CDATA[adobe-journey-optimizer]]></category>
            <category><![CDATA[ajo]]></category>
            <dc:creator><![CDATA[Pranav Mandlik]]></dc:creator>
            <pubDate>Tue, 12 May 2026 01:38:39 GMT</pubDate>
            <atom:updated>2026-05-12T01:38:39.328Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ROkMJqWxPo-WtQRuYpY-hQ.png" /></figure><h3>Adobe Stack Daily #007 — Your AJO Journey Is Silently Ejecting Profiles After 91 Days. Here’s What’s Actually Happening.</h3><p>Adobe Stack Daily #007 — Your AJO Journey Is Silently Ejecting Profiles After 91 Days. Here’s What’s Actually Happening.</p><p>The loyalty nurture journey had been live for four months. Everything looked right — the journey was in Live status, messages were sending, no errors anywhere.</p><p>Then someone pulled the entry vs exit counts for the full program period.</p><p>More people had entered the journey than exited. Not slightly more. Thousands more. Profiles had gone in and never come out — no suppression record, no error exit, no timeout event in the step logs. Just gone.</p><p>The answer had nothing to do with the journey configuration. AJO had silently ejected every profile that had been inside the journey for more than 91 days. Their journey data was deleted. Permanently. And the journey canvas showed nothing — no warning, no indicator, no count of how many profiles had been removed.</p><p>This is the AJO global journey timeout. It is not configurable. It does not announce itself. And it is one of the most commonly misunderstood guardrails in the platform.</p><h3>What the 91-Day Timeout Actually Is</h3><p>AJO enforces a <strong>global journey timeout of 91 days per profile</strong>. This is a per-profile TTL — a time-to-live counter that starts when a profile enters the journey and expires 91 days later.</p><p>When the 91-day TTL expires:</p><ul><li>The profile is <strong>forcibly exited</strong> from the journey, regardless of where it is in the flow</li><li>All data about that profile’s presence in the journey is <strong>deleted</strong></li><li>The exit is <strong>not reflected in standard journey reporting</strong> as a normal exit</li><li>The profile’s step events stop being generated</li></ul><p>Adobe’s documentation is explicit: <em>“After the 91-day timeout period, the individual’s data is deleted. Individuals still flowing in the journey at the end of the timeout period will be stopped and they will not be taken into account in reporting.”</em></p><p>That last sentence is the one that causes the entry vs exit discrepancy. Profiles ejected by the timeout don’t show up as exits. They disappear from the journey’s active count without generating a corresponding exit event.</p><p><strong>The journey itself stays Live.</strong> This is a critical distinction. The 91-day timeout is about how long an individual profile can remain active inside the journey — not about how long the journey runs. An always-on Read Audience journey with no end date stays Live indefinitely. Individual profiles cycle through it with a 91-day TTL each time they enter.</p><h3>Why This Surprises Teams</h3><p>Most engineers think about journey timeouts in terms of individual wait nodes or inactivity periods. The global timeout is different. It’s invisible in the journey canvas. There’s no timer node, no timeout transition you can configure. It simply runs in the background for every profile.</p><p>The specific failure mode it creates: a long-running nurture program with Wait nodes totalling more than 91 days. An onboarding journey with a 30-day email sequence, then a 60-day re-engagement sequence — total: 90+ days. A retention journey with monthly touchpoints for six months. All of these will eject profiles before they complete.</p><p>The signal in reporting is the entry vs exit gap. If you see significantly more entrants than exits in your journey report and you can’t find suppression or error exits to account for the difference, the global timeout is almost certainly the cause. Look at your entry dates — are the missing profiles people who entered more than 91 days ago?</p><h3>The HIPAA Sandbox Variant — 7 Days, Not 91</h3><p>This is the edge case that silently breaks healthcare implementations.</p><p>If your AEP organization runs on <strong>Healthcare Shield or HIPAA-enabled sandboxes</strong>, the global journey timeout is <strong>7 days</strong>, not 91.</p><p>Adobe’s documentation states this directly for the journey properties: profiles in HIPAA sandboxes have a TTL of 7 days.</p><p>A healthcare company building an onboarding journey for new members — even a relatively short one with a few welcome messages across two weeks — will eject profiles on day 7. Before the journey completes. No warning. No configuration option.</p><p>This is not a bug. It’s a deliberate platform constraint driven by HIPAA data retention requirements. Patient and member data cannot persist in journey state beyond 7 days. The architecture for long-running healthcare programs must account for this from the start.</p><h3>The Version Trap — Journeys Published Before June 2024</h3><p>Adobe extended the global journey timeout from <strong>30 days to 91 days in June 2024</strong>.</p><p>Before that release, every profile had a 30-day TTL. Any journey that was live before that date and has <strong>not been republished</strong> is still running under the old 30-day rule — not just for profiles who entered under the old version, but for every new entrant today. Until you republish, new profiles entering that journey get a 30-day TTL.</p><p>Adobe’s documentation clarifies the exact behavior:</p><ul><li>Profiles entering a journey <strong>published before</strong> the June 2024 extension: 30-day TTL regardless of when they enter</li><li>Profiles entering a journey <strong>after republishing</strong>: 91-day TTL</li><li>Profiles already in the journey at the time of republishing: retain their original 30-day TTL</li></ul><p>The practical consequence: you can have two profiles entering the same journey on the same day — one gets 30 days, the other gets 91 — depending on whether you republished between their entry dates. You won’t see this in the canvas. You’ll see it as a confusing split in your reporting gap.</p><p><strong>To update:</strong> republish the journey. All new entrants after republishing get the 91-day TTL. Profiles already in the journey retain their original TTL.</p><h3>Re-Entry Blocking Stops Working After 91 Days</h3><p>This is the behavior that causes re-communication to customers who should have been suppressed.</p><p>AJO’s re-entry blocking works by checking whether a profile’s identifier exists in the journey’s active profile store. If the profile is already in the journey — or has completed it within the re-entry window — they can’t enter again.</p><p>After 91 days, AJO deletes all data about that profile’s presence in the journey. Including the record that they entered.</p><p>Adobe’s documentation states this explicitly: <em>“Due to the 91-day journey timeout, when journey reentrance is not allowed, we cannot make sure the reentrance blocking will work more than 91 days. Indeed, as we remove all information about persons who entered the journey 91 days after they enter, we cannot know the person entered previously, more than 91 days ago.”</em></p><p>Translation: if your re-entry window is “never allow re-entry” and a profile completes the journey on day 45 — then tries to re-enter on day 100 — AJO has no record of their prior entry and will let them back in.</p><p>For programs where re-entry suppression is important — onboarding journeys where you never want someone to go through twice, conversion journeys where a completed conversion should permanently exit someone from the nurture track — design the suppression at the audience level, not the journey re-entry level. Build a segment of profiles who have completed the journey (captured via a profile attribute update before the journey end node) and exclude them from the Read Audience that feeds the journey.</p><h3>Pausing a Journey Does Not Stop the 91-Day Clock</h3><p>This is the one that catches teams who think they’ve bought themselves time.</p><p>When you pause a journey — to fix a data quality issue, update content, or investigate an anomaly — the 91-day global timeout keeps running. It does not pause.</p><p>Adobe’s documentation is direct: <em>“Journey global timeout still applies for paused journeys. For instance, if a profile was in a journey for 90 days and the journey is paused, this profile will still exit the journey on the 91st day.”</em></p><p>The production scenario: a journey has been running for 85 days. A data quality issue is discovered. The team pauses the journey and spends six days investigating. They resume on day 91. Every profile that entered in the first week of the journey — the profiles closest to the 91-day ceiling — has already been silently ejected while the journey was paused. The team resumes and sees a sudden drop in active profile count with no corresponding error events.</p><p>Pausing a journey is not a freeze. It is a pause on new message delivery, not on profile TTL. If you are debugging a long-running journey and profiles are approaching the 91-day mark, factor that into your recovery timeline. There is no mechanism to extend a profile’s TTL once it’s running.</p><h3>The 91-Day Reporting Window Is a Completely Different Thing</h3><p>Multiple community threads show engineers conflating these two. They share the same number. They are completely separate concepts.</p><p><strong>91-day global journey timeout:</strong> the maximum time an individual profile can remain active inside a journey. Per-profile TTL. Deletes journey data when it expires.</p><p><strong>91-day reporting window:</strong> the maximum time range available in the AJO built-in journey report UI. You can view journey performance data for approximately the last 91 days in the reporting interface. Older performance data is not accessible in the UI — but the journey itself is still running.</p><p>These two things have nothing to do with each other. A profile can be ejected by the 91-day timeout on day 60 of its journey if it entered 91 days ago. The reporting window doesn’t affect profile behavior at all.</p><p>If someone on your team says “the journey will stop working after 91 days” — they’re confusing the reporting window for the profile timeout. The journey stays Live. Individual profiles are ejected after 91 days. The program-level reporting becomes harder to access after 91 days. Three different things.</p><h3>The Architectural Solution — Journey Chaining with Jump Activity</h3><p>If your program genuinely requires more than 91 days of engagement per profile, the platform-supported approach is the <strong>Jump activity</strong>.</p><p>You build multiple journeys and connect them: Journey A handles days 1–80, then uses a Jump activity to pass the profile to Journey B, which handles days 81–160, and so on. Each profile starts a fresh 91-day TTL when it enters Journey B.</p><p><strong>Before you use this pattern, understand the three journey ending states:</strong></p><p><strong>Stop</strong> — all profiles currently in the journey are immediately ejected. Journey moves to Stopped status. In-progress step events are cancelled. Use this only when you want to terminate a program completely.</p><p><strong>Close to new entrances</strong> — existing profiles continue to completion, no new entrants accepted. Journey eventually moves to Finished when the last profile exits or the 91-day TTL triggers. This is the correct state when you want to gracefully end a journey and let current profiles finish.</p><p><strong>Finished (automatic)</strong> — triggered by the 91-day TTL on the last profile, or 91 days after the last occurrence of a scheduled journey. Profiles still inside are ejected at this point.</p><p>Knowing these states matters for journey chaining: if you Stop Journey A to launch Journey B, you eject everyone currently in Journey A. If you Close Journey A, profiles complete naturally and you can use profile attribute updates to trigger Journey B entry. Close is almost always the right choice.</p><p><strong>The Jump activity limitations you must know before using this pattern:</strong></p><p><strong>Limitation 1:</strong> The Jump activity <strong>cannot be used in any journey that contains a Read Audience or Audience Qualification</strong> activity — regardless of where those activities appear in the flow. If your source journey uses Read Audience — which most batch nurture programs do — the Jump activity is not available at all. Your options in this case are event-triggered or unitary journeys as the downstream journey, with the profile triggered by an event or API call rather than a Jump.</p><p><strong>Limitation 2:</strong> If a profile is <strong>already active in the destination journey</strong>, the Jump will not pass them again. A profile can only be in one instance of a given journey at a time. If Journey B is already running for a profile and Journey A tries to Jump them there again, the second Jump is silently ignored.</p><p><strong>Limitation 3:</strong> Jump activity connections are severed when you create a new journey version. If you update Journey A to a new version, the Jump configuration pointing to Journey B needs to be re-validated. This is easy to miss during routine journey updates.</p><p><strong>The simpler alternative for most cases:</strong> Don’t try to keep profiles in one journey for more than 91 days. Design your program as multiple discrete journeys — each triggered by a profile attribute or audience membership change — and use profile attribute updates to track progress. A profile completes Journey A (monthly onboarding), a profile attribute gets updated to onboarding_complete = true, and a separate Read Audience or Audience Qualification picks them up for Journey B (quarterly engagement). This approach is more resilient, easier to debug, and doesn&#39;t depend on the Jump activity&#39;s limitations.</p><h3>How to Design Around the 91-Day Limit</h3><p><strong>Rule 1: If your Wait nodes total more than 60 days, redesign.</strong></p><p>Leave a 30-day buffer below the 91-day ceiling. Journeys with total Wait durations between 60 and 91 days are fragile — they work for profiles who enter early in a batch but eject profiles who enter late in a recurring execution or who sit at a node longer than expected due to processing delays.</p><p><strong>Rule 2: Capture completion state before the journey ends.</strong></p><p>Use an Update Profile activity near the journey end node to write a profile attribute: program_stage = &quot;nurture_complete&quot;, onboarding_status = &quot;completed&quot;, or equivalent. This is the only reliable way to know a profile completed the journey after the 91-day data deletion. It&#39;s also your suppression signal for re-entry blocking that works beyond 91 days.</p><p><strong>Rule 3: On HIPAA sandboxes, design for 7 days.</strong></p><p>Every long-running journey in a Healthcare Shield org needs to be architected as a series of short journeys connected by profile attribute triggers. There is no workaround to the 7-day TTL. Design with it, not against it.</p><p><strong>Rule 4: Monitor the entry vs exit gap weekly.</strong></p><p>Query the journey_step_events dataset in AEP via Query Service. Filter on stepStatus = &#39;endStep&#39; with stepType = &#39;end&#39; for exits, and filter on the entry node step for entrants. Segment by entry date cohort — group profiles who entered in week 1, week 2, and so on. A cohort where exits drop significantly 91 days after their entry date is being ejected by the TTL, not completing normally. A growing gap is the signal. Catching it at 5% is a configuration fix. Catching it at 40% after three months is a program integrity problem.</p><p><strong>Rule 5: Republish legacy journeys.</strong></p><p>Any journey published before June 2024 that still has active profiles entering it today should be reviewed and republished. Until you republish, every new entrant gets a 30-day TTL regardless of when they enter. This is invisible in the canvas and only visible in the reporting gap.</p><h3>The Mental Model</h3><p>The 91-day global timeout is a data retention constraint, not a business logic constraint. AJO doesn’t eject profiles because your journey is poorly designed. It ejects them because it cannot hold profile journey state indefinitely. 91 days is the platform’s ceiling. 7 days if you’re on HIPAA.</p><p>Design your programs to complete within that ceiling, or design them as connected chains of shorter journeys. Track completion state in profile attributes — not in journey status. Suppress re-entry through audience exclusion — not through journey re-entry settings alone. And when you pause a journey to fix a problem, check how many profiles are approaching the 91-day mark. The clock didn’t pause when you did.</p><p>“Live” means the journey is accepting entrants. What those entrants experience is governed by the 91-day TTL — silent, non-configurable, and permanent.</p><p>Build shorter journeys. Write profile state before exit. Check your entry vs exit gap.</p><p><em>───────────────────</em></p><p><strong>Adobe Stack Daily — Problem #007 of 40</strong></p><p>One real Adobe stack problem, every day for 40 days — AEP, AJO, Adobe Target, Data Collection, and CJA. No theory. No fluff. Problems from real enterprise implementations, written down so you don’t spend 4 hours finding the answer.</p><p>🔗 Previous: <a href="https://medium.com/@pranavmandlik8/adobe-stack-daily-006-cja-and-aep-are-showing-different-numbers-both-are-correct-heres-why-9a2736490e5f">Adobe Stack Daily #006 — CJA and AEP Are Showing Different Numbers. Both Are Correct. Here’s Why</a>. 🔗 Follow me on Medium to get the next one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad44158b55a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Adobe Stack Daily #006 — CJA and AEP Are Showing Different Numbers. Both Are Correct. Here’s Why.]]></title>
            <link>https://medium.com/@pranavmandlik8/adobe-stack-daily-006-cja-and-aep-are-showing-different-numbers-both-are-correct-heres-why-9a2736490e5f?source=rss-299b705c3096------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a2736490e5f</guid>
            <category><![CDATA[adobe-experience-platform]]></category>
            <category><![CDATA[customerjourney-analytics]]></category>
            <category><![CDATA[aep]]></category>
            <category><![CDATA[cja]]></category>
            <category><![CDATA[data-engineering]]></category>
            <dc:creator><![CDATA[Pranav Mandlik]]></dc:creator>
            <pubDate>Tue, 05 May 2026 21:31:32 GMT</pubDate>
            <atom:updated>2026-05-05T21:31:32.271Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wU-Bh1U05GkFnc1qqjVXkQ.png" /></figure><p>Four architectural reasons the same data produces different metrics depending on where you query it — and what to document before an executive notices the gap.</p><p>The analyst built the CJA workspace. The data engineer ran the same metric through AEP Query Service. The numbers were 23% apart.</p><p>Two days of debugging. Pipeline checks. Schema validations. Ingestion logs. Nothing wrong. Both teams were querying the same underlying datasets. Both were right.</p><p>The problem wasn’t a bug. It was that CJA and AEP are fundamentally different measurement systems that apply different logic to the same raw events. Nobody had explained that to either team before they started comparing numbers.</p><p>This happens on every AEP + CJA implementation. Usually in a meeting where a VP wants to know why the analyst’s dashboard says 180,000 customers and the data engineer’s query says 240,000 events. The answer isn’t “one of you made a mistake.” It requires understanding four architectural differences between how CJA and AEP count things.</p><h3>The Core Problem</h3><p>AEP is a data platform. It stores raw events exactly as ingested. When you query via Query Service, you’re counting rows — events, identities, profile records — in their raw form. No stitching, no session logic, no attribution, no deduplication unless you write that logic explicitly in SQL.</p><p>CJA is an analytics layer built on top of AEP. It reads the same datasets but applies transformations at query time — identity stitching, session boundaries, attribution models, metric deduplication — all configured in the Connection and Data View. What you see in a CJA workspace is not a raw row count. It’s a processed, stitched, attributed, potentially deduplicated result.</p><p>Neither layer is wrong. They’re different instruments measuring different things.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4FYBet87nIB_zDSdaQeTKg.png" /><figcaption>“The same AEP Data Lake feeds two measurement systems. Each applies different logic. Neither is wrong.”</figcaption></figure><h3>Reason 1 — Person Count: CJA Deduplicates. AEP Counts Raw Identities.</h3><p>When you set up a CJA Connection, you select a Person ID field — typically CRMID or hashed email. CJA uses this to collapse all events from the same person into one record across every dataset in the connection. A customer in your web event dataset, email interaction dataset, and CRM dataset is counted as one person.</p><p>Query AEP via Query Service and count distinct identity values without a JOIN — you’re counting every ECID, every CRMID, every email address as a separate row. A customer with three ECIDs (home laptop, work laptop, mobile) is three rows in AEP. In CJA they’re one person — if stitching is configured.</p><p><strong>The gap is proportional to your anonymous traffic volume.</strong> A B2C retailer with 30% logged-in traffic can see a 40–60% difference between a raw ECID count and a stitched Person ID count. A B2B SaaS product where users always authenticate might see under 5%.</p><p><strong>The three stitching options:</strong></p><p><em>No stitching (Person ID only):</em> Events without the Person ID field are dropped from CJA entirely. They still exist in AEP. The anonymous-to-authenticated journey is broken at the CJA layer. Person count = distinct Person ID values only.</p><p><em>Field-based stitching:</em> Uses a persistent ID (ECID) and a transient ID (CRMID at login) to backfill anonymous pre-login events to the authenticated identity. Available from CJA Select SKU and above. In newer CJA implementations, stitching is configured directly in the Connection UI and applied during CJA ingestion — no separate duplicated dataset in AEP is required. Older request-based implementations created a separate stitched dataset in AEP with a matching schema that had to be maintained separately. If your implementation has a legacy stitched dataset, confirm the operating model and migration plan with Adobe. One important note: when stitching is enabled, CJA ingestion latency increases — often up to several hours depending on configuration — rather than the standard path latency.</p><p><em>Graph-based stitching:</em> Uses the AEP Identity Graph to resolve identities across datasets. Handles more complex cross-device scenarios because it can leverage identity relationships built from multiple data sources. Available from CJA Prime SKU and above. Because it uses the same Identity Graph as RTCDP and AJO, if your graph has collapse issues (see Article #004), those issues surface directly in CJA person counts.</p><h3>Reason 2 — Session Count: CJA Sessions Are Configurable. AEP Has No Session Concept.</h3><p>AEP stores individual events with timestamps. There is no session. There is no visit. The concept of “these ten events belong together as one browsing session” does not exist at the AEP data layer.</p><p>CJA sessions are defined entirely in the Data View. You configure the session timeout — the inactivity period after which a new session starts. Default is 30 minutes. You can set it to 5 minutes, 2 hours, 1 day. You can also define custom session starts: a session begins whenever a specific event type fires — an app launch, a login event — regardless of inactivity.</p><p>This is applied retroactively and non-destructively. The underlying events don’t change. Only the grouping logic does.</p><p>A session count from CJA cannot be meaningfully compared to anything in AEP Query Service because AEP has no equivalent concept. You’re comparing a configured metric against something that doesn’t exist in the source system.</p><p>The production confusion: a team queries AEP for “number of email interactions” — one row per interaction. They compare it to CJA’s Sessions metric and get a gap. Email interactions in AEP are individual events. In CJA, multiple email interactions within the session window collapse into one session. The gap is expected. They’re measuring different things.</p><p><strong>The timezone trap.</strong> Data View settings include a timezone. Sessions that cross midnight are grouped differently depending on which timezone is configured. A session starting at 11:45 PM UTC and ending at 12:15 AM UTC belongs to Tuesday in a UTC Data View. An analyst filtering by Monday in a Query Service query using UTC-5 may include or exclude that session differently.</p><p>Always confirm the Data View timezone before comparing date-range metrics across systems.</p><h3>Reason 3 — Attribution and Deduplication: CJA Applies Logic. AEP Stores Events Raw.</h3><p>AEP stores events exactly as they happened. Customer visited via organic search Monday, clicked an email Wednesday, converted Friday — AEP has three raw events, no credit assignment, no channel weighting.</p><p>CJA applies attribution at report time, configured per metric in the Data View. The default attribution model for dimensions is <strong>Same Touch</strong> — credit goes to the touchpoint active at conversion. This differs from Adobe Analytics’ default of Last Touch for eVars. That difference alone creates attribution gaps for teams migrating from AA to CJA.</p><p><strong>The more common production comparison is CJA vs AJO’s own journey reports.</strong> Engineers compare CJA email click numbers to the AJO journey report’s click count and get different answers. AJO journey reports count message send and delivery events from the AJO feedback dataset. CJA counts click events from that same dataset — but also picks up clicks from page refreshes, duplicate events, and any other channel click event in scope if the Data View is broad. AJO “Clicks” ≠ CJA “Clicks” even when both read the same underlying dataset. They’re answering different questions.</p><p><strong>Deduplication is not automatic in CJA.</strong> It is disabled by default and must be configured per metric in the Data View component settings. A purchase confirmation event that fires twice — common when a confirmation page reloads — is counted twice in CJA unless you configure metric deduplication using a Purchase ID field. In Query Service you’d write COUNT(DISTINCT purchase_id). In CJA that logic must be explicitly set in the Data View, not assumed.</p><p>If your CJA conversion metric is higher than the same metric in your CRM, check whether deduplication is configured on that metric. That’s almost always the explanation.</p><h3>Reason 4 — Missing Person ID Rows: CJA Excludes Them. AEP Keeps Them.</h3><p>Any row in an AEP dataset without a value in the CJA Connection’s selected Person ID field is excluded from CJA entirely. It exists in AEP. It doesn’t exist in CJA.</p><p>Three scenarios where this matters in practice:</p><p><strong>Anonymous pre-login events</strong> — without stitching, rows with no Person ID are dropped. Covered in Reason 1.</p><p><strong>Source systems that don’t reliably populate the Person ID field</strong> — CRM batch uploads with a percentage of rows missing CRMID, mobile SDK events where identity capture fails intermittently, server-side events from systems not designed with customer identity in mind.</p><p><strong>Placeholder Person IDs</strong> — sending &quot;anonymous&quot;, &quot;0000&quot;, or &quot;not_available&quot; as the Person ID value instead of omitting the field entirely. CJA ingests those rows and groups all of them under a phantom person with inflated event counts. Adobe&#39;s documentation is direct: <em>&quot;Where extremely high volumes are seen for specific user IDs, CJA will stop ingesting data for those IDs.&quot;</em> This creates a silent ceiling where CJA stops ingesting an entire segment of your dataset.</p><p><strong>How to catch it.</strong> Open the CJA Connection and check dataset-level row counts. The Connection UI shows rows ingested vs skipped per dataset. Then validate in Query Service:</p><pre>SELECT<br>  CASE<br>    WHEN person_id IS NULL OR person_id = &#39;&#39; THEN &#39;missing_person_id&#39;<br>    WHEN LOWER(person_id) IN (&#39;anonymous&#39;, &#39;0000&#39;, &#39;not_available&#39;) THEN &#39;placeholder_person_id&#39;<br>    ELSE &#39;valid_person_id&#39;<br>  END AS person_id_status,<br>  COUNT(*) AS row_count<br>FROM your_event_dataset<br>GROUP BY 1;</pre><p>The placeholder_person_id count should be zero. The missing_person_id count should match your CJA skip count for that dataset. If there&#39;s a large gap between the two numbers, you have placeholder IDs being ingested as valid Person IDs in CJA.</p><p>A high skip rate isn’t automatically a problem. An anonymous traffic-heavy mobile dataset may legitimately skip 40% of rows without stitching. A CRM dataset should skip almost nothing. Understand the source before escalating a skip rate as a data quality incident.</p><h3>The Data Freshness Gap Nobody Accounts For</h3><p>One more discrepancy source — less about counting logic, more about timing.</p><p>CJA reporting latency depends on your collection path. For data collected via Edge Network SDK or the Edge API, CJA typically makes that data available within roughly 90–95 minutes of ingestion into AEP. Streaming ingestion and source connector paths may have different latency. Batch ingestion has longer latency still. When stitching is enabled, an additional processing delay applies — often several hours depending on configuration.</p><p>If an analyst compares a CJA workspace to a Query Service result from the last two hours, the numbers will differ not because of counting logic but because CJA hasn’t finished processing the most recent events yet. For operational dashboards mixing CJA and Query Service outputs, this latency gap needs to be understood and documented upfront — not discovered during a live review.</p><p>Current-day data in CJA is processed as live stream. Any data with an event timestamp before midnight of the previous calendar day is treated as a backfill with different ingestion priority.</p><h3>How to Use Both Systems Without Breaking Stakeholder Trust</h3><p>You will never get CJA and AEP Query Service to produce identical numbers for the same metric. That’s not the goal. The goal is clarity about what each number represents.</p><p><strong>Define which system owns which metric.</strong> Audience sizing: use AEP Audience Portal counts — that’s what drives segmentation and activation. Audience Portal shows counts from the last evaluation run, which can be hours old. For real-time audience size, query the profile store directly via Query Service. Journey-level person analysis: use CJA with stitching enabled. Raw event debugging and data validation: use Query Service.</p><p><strong>Validate the Connection skip rate per dataset.</strong> Understand why rows are skipped — anonymous traffic, missing IDs, or placeholder values. Run the SQL above against any dataset with a high skip rate before building analysis on top of it.</p><p><strong>Confirm the Data View timezone.</strong> One timezone mismatch produces discrepancies that look like data gaps and get escalated as incidents. Check it before every cross-system comparison.</p><p><strong>Configure deduplication per metric.</strong> Every conversion metric needs a deduplication ID configured in the Data View component settings. Disabled by default. Audit every conversion metric in any inherited CJA implementation before trusting the numbers.</p><p><strong>Three numbers that will never match:</strong> CJA persons, AEP profile count, RTCDP audience count. CJA uses its stitching model. AEP profiles use the Identity Graph. RTCDP audiences use segment evaluation against the merged profile store. All three can differ for the same customer base. Map which mechanism is authoritative for each use case before any stakeholder sees a comparison.</p><h3>The Conversation to Have Before a VP Sees the Gap</h3><p>Before any CJA dashboard goes to a business stakeholder, document four things:</p><ol><li><strong>What is the Person ID?</strong> Which field, which namespace? Authenticated traffic only, or does stitching include anonymous events?</li><li><strong>Is stitching enabled?</strong> Field-based or graph-based? What is the authentication rate of the audience being analyzed?</li><li><strong>What is the session definition?</strong> Timeout value, custom session starts, Data View timezone?</li><li><strong>Which metrics have deduplication configured?</strong> Which don’t?</li></ol><p>These four questions explain 95% of discrepancies before someone finds them in a meeting.</p><p>Both numbers are correct. That sentence should be in the first slide of every CJA rollout deck.</p><p><strong>Adobe Stack Daily — Problem #006 of 40</strong></p><p>One real Adobe stack problem, every day for 40 days — AEP, AJO, Adobe Target, Data Collection, and CJA. No theory. No fluff. Problems from real enterprise implementations, written down so you don’t spend 4 hours finding the answer.</p><p>🔗 Previous: <a href="https://medium.com/@pranavmandlik8/adobe-stack-daily-005-you-set-a-frequency-cap-in-ajo-70cb1a253ac4">Adobe Stack Daily #005 — You Set a Frequency Cap in AJO. Your Customers Are Still Getting 5 Emails a Day.</a> 🔗 Follow me on Medium to get the next one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a2736490e5f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Adobe Stack Daily #005 — You Set a Frequency Cap in AJO.]]></title>
            <link>https://medium.com/@pranavmandlik8/adobe-stack-daily-005-you-set-a-frequency-cap-in-ajo-70cb1a253ac4?source=rss-299b705c3096------2</link>
            <guid isPermaLink="false">https://medium.com/p/70cb1a253ac4</guid>
            <category><![CDATA[business-rules]]></category>
            <category><![CDATA[adobe-journey-optimizer]]></category>
            <category><![CDATA[frequency-capping]]></category>
            <category><![CDATA[ajo]]></category>
            <category><![CDATA[martech]]></category>
            <dc:creator><![CDATA[Pranav Mandlik]]></dc:creator>
            <pubDate>Tue, 05 May 2026 20:31:02 GMT</pubDate>
            <atom:updated>2026-05-05T20:31:02.889Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6_vQeJigNlEp99wHq94z6g.png" /></figure><h3>Adobe Stack Daily #005 — You Set a Frequency Cap in AJO. Your Customers Are Still Getting 5 Emails a Day. Here’s Why.</h3><p>Frequency capping in AJO has four failure modes, two separate systems that don’t automatically talk to each other, one documented behavior that bypasses your rules on every immediately-activated campaign, and a mid-journey suppression behavior that most engineers get wrong. All of them are silent.</p><p>The marketing ops team was confident. The rule was set. One email per day, per customer, across all channels. They tested it. It worked. They went live.</p><p>Three weeks later, a customer complained they received four promotional emails in a single day. Then another. Then the opt-out rate started climbing and someone finally pulled the delivery logs.</p><p>The cap was configured correctly. The rule set existed. It was active. But two of the four journeys that fired that day had never had the rule set applied to them. The third fired immediately upon activation and the counter hadn’t populated yet. The fourth was an API-triggered campaign — a documented limitation. And in all of it, not one error, not one warning.</p><p>This is the AJO frequency capping problem. Not one bug. Four distinct failure modes, each with its own cause and fix.</p><h3>How AJO Frequency Capping Actually Works</h3><p>AJO frequency capping runs through <strong>Rule Sets</strong>. A Rule Set is a container — Adobe calls it a folder — that holds one or more capping rules. You define the rule, activate it, and then manually apply the rule set to each journey or campaign individually.</p><p>That last part is where most teams get burned. The rules don’t apply automatically. The rule set doesn’t watch your journeys. It does nothing until you open each journey’s Properties panel, find the Capping Rules dropdown, and explicitly attach it.</p><p><strong>Two types of rule sets:</strong></p><p><strong>Global Default Rule Set</strong> — automatically applies to all channel-level communications once activated. Rules in this set cover all journeys and campaigns without per-journey application. The catch: the Global Default Rule Set covers channel capping only. Journey entry capping always requires explicit application, regardless of which rule set type you use.</p><p><strong>Custom Rule Sets</strong> — local rule sets scoped to specific communication types (promotional, newsletter, VIP tier). Must be manually applied to every journey and campaign individually. Every single one — no exceptions, no inheritance.</p><p><strong>Two types of capping rules — different domains, cannot be mixed:</strong></p><p><strong>Channel capping</strong> — limits how many messages a profile receives on a specific channel within a period (daily/weekly/monthly). Lives in a rule set with the <strong>Channel domain</strong>.</p><p><strong>Journey entry capping</strong> — limits how many journeys a profile can be enrolled in simultaneously, or how many times they can enter journeys in a period. Lives in a rule set with the <strong>Journey domain</strong>. You cannot put journey entry rules in a channel rule set, and vice versa.</p><p>Understanding this architecture upfront prevents most of the failure modes below.</p><h3>Failure Mode 1 — The Rule Set Was Never Applied to the Journey</h3><p>The most common failure. No warning when it happens.</p><p>A team creates a custom rule set, activates everything correctly, then builds six more journeys over the next two months. They apply the rule set to the first three. The next three get built by someone who didn’t know about the rule set — or assumed it was global. Those three journeys fire with zero capping enforcement.</p><p>AJO publishes the journey cleanly. It fires cleanly. The profile counter never gets evaluated. Customers get messages from uncapped journeys with no indication in the journey canvas that capping isn’t active.</p><p><strong>How to catch it:</strong> After every journey goes live, open the journey report and navigate to the <strong>Journey Exclusions</strong> table. This table shows profiles excluded from delivery due to frequency capping, broken down by rule set and rule name. If a journey has fired to a large audience and shows zero exclusions from your capping rule set, either the rule set isn’t applied or nobody in that audience has hit the cap yet.</p><p>There is no “Applied to” view in the Business Rules UI that shows which journeys a rule set covers. That reverse-lookup doesn’t exist. The only reliable check is opening each journey’s Properties panel individually.</p><p><strong>The fix is process, not configuration.</strong> Add a pre-publish checklist item: verify the capping rule set is applied before every journey goes live. The platform will not stop you from publishing without it.</p><h3>Failure Mode 2 — Immediate Activation Bypasses the Counter</h3><p>This is documented by Adobe. Most teams don’t read it until after it burns them.</p><p>The behavior differs slightly between campaigns and journeys — both have the same root cause, but different manifestations.</p><p><strong>For campaigns:</strong> Adobe’s documentation states directly: <em>“If you activate the campaign immediately, the rule set counter values will not populate on the profiles of the recipients, and the message will not be counted toward their frequency capping rules for the custom rule sets.”</em> The counter needs time to be set before the first send. Activating immediately fires the first batch before the counter exists. Those messages go out uncapped. The counter starts updating after delivery — so subsequent sends in the same period are capped correctly — but the initial wave is unprotected.</p><p><strong>For journeys:</strong> The mechanism is slightly different. Adobe states: <em>“If a journey is activated immediately, it can take up to 10 minutes for the system to begin suppressing customers.”</em> The counter exists, but suppression logic isn’t enforced until the 10-minute window passes. Profiles that qualify and enter the journey in that window bypass the cap check.</p><p>In both cases, AJO displays a soft warning when you try to publish with a start time under 10 minutes. It is a warning, not a block. You can dismiss it.</p><p>For a large audience, this initial unprotected window can mean tens or hundreds of thousands of messages that don’t count against the cap and don’t get suppressed as they should.</p><p><strong>The fix:</strong> Always schedule campaigns and journeys at least 10 minutes in the future. For automated publishing pipelines, build the lead time into the workflow. Never activate immediately when a capping rule set is applied.</p><h3>Failure Mode 3 — API-Triggered Campaigns Are Partially Exempt</h3><p>This is buried in a limitations note and easy to miss.</p><p>Adobe states: <em>“Capping may not work correctly for journeys and campaigns activated immediately and API-triggered campaigns.”</em></p><p>The frequency counter evaluation at message delivery behaves differently when a campaign is triggered via API. In high-throughput API-triggered scenarios — transactional confirmations, real-time event-triggered notifications — the same profile can receive multiple messages in a short window before the counter catches up with the delivery confirmation.</p><p>This is a documented platform limitation, not a configuration error. If your implementation relies heavily on API-triggered campaigns and you’re depending on frequency capping to protect customers from over-communication, the native counter mechanism alone is insufficient.</p><p><strong>The mitigation:</strong> Build a secondary gate into API-triggered journeys. The most reliable approach is an <strong>audience-based exclusion</strong>: maintain a streaming segment of profiles who have received a communication in the current capping window, based on AJO message feedback events flowing into AEP Experience Event datasets. Gate journey entry with a condition node checking segment membership. This works at entry — before any channel send happens — and doesn’t depend on counter timing.</p><p>This is not a quick build. It requires your AJO message feedback events to be reaching your AEP datasets reliably (verify this in your datastream configuration), a streaming segment definition, and a condition node in every relevant API-triggered journey. But it’s the only approach that holds at scale for API-triggered campaigns.</p><h3>Failure Mode 4 — Counter Updates Require Time Between Sends to Be Reliable</h3><p>The counter value updates after the communication is delivered — not when it’s scheduled, not when it leaves AJO’s delivery engine. Confirmed delivery writes back to the profile counter.</p><p>Adobe’s documentation notes: <em>“We suggest spacing communications apart by at least two hours where possible to give sufficient time for the recipient to receive the communication and the counter value to update accordingly.”</em></p><p>If two journeys fire to the same audience within minutes of each other, both reads of the counter may return the same starting value before either delivery has confirmed and updated it. Both sends go through. The cap is effectively bypassed for the overlap window.</p><p>This is most visible on high-pressure send days — Black Friday, product launches, coordinated multi-channel campaigns that fire in close sequence. A customer in two journeys firing within 30 minutes can receive both messages even if the cap should have blocked the second.</p><p><strong>The fix:</strong> Use <strong>Journey Entry Capping</strong> alongside Channel Capping in high-concurrency scenarios. Limit the number of journeys a profile can be enrolled in simultaneously. Entry capping operates at journey entry — before any channel send happens — and is not dependent on counter write-back timing. It’s a more reliable guard when multiple journeys are firing close together.</p><h3>What Happens to a Profile When a Message Is Suppressed Mid-Journey</h3><p>This is the behavior most engineers get wrong, and it has direct consequences for journey design.</p><p>When channel capping suppresses a message mid-journey — the profile is already in the journey, it reaches the message action node, and the cap blocks the send — <strong>the profile is discarded from the journey at that node.</strong> It does not silently skip the message and continue to the next step. It exits.</p><p>Adobe’s journey properties documentation names this explicitly as the <em>“discard people by capping rule”</em> error type. You can handle it. In the journey canvas, set up a <strong>timeout and error path</strong> on your message action node. Add a condition node that filters on the error type “discard people by capping rule.” From there you can route those profiles to a logging custom action, hold them in a wait node for retry later, or branch them to an alternative communication path.</p><p>If you have post-message logic in your journey — conditions that evaluate engagement, wait nodes, follow-up actions — and you haven’t set up this error path, all profiles suppressed by capping silently exit before reaching that logic. You may be missing a significant portion of your audience in downstream journey steps and not know it.</p><p><strong>Check the Journey Exclusions table</strong> after every significant send. Profiles listed there were discarded at entry or at a node. The breakdown by rule set and rule name tells you exactly which cap triggered the discard.</p><h3>The Namespace Problem Nobody Mentions During Setup</h3><p>Buried in the frequency capping documentation:</p><blockquote>“To ensure channel level capping works correctly, make sure you choose the highest priority namespace while authoring a campaign or journey.”</blockquote><p>When authoring a journey or campaign, there is a profile identity type selection in the properties. If you select a lower-priority namespace, or one that doesn’t match the namespace your profiles are primarily identified by, the counter evaluation produces identity mismatches. AJO evaluates the cap against the selected namespace. If a profile was seen under a different namespace in a previous send, the counter doesn’t link up. The cap treats it as a different profile. Counter starts at zero. Cap bypassed.</p><p>The symptom looks like this in the Journey Exclusions table: a known customer appears as a new entry on every send — not as a returning capped profile. This looks exactly like new customer acquisition data, not a capping failure. It’s easy to misread.</p><p><strong>The fix:</strong> In every journey and campaign authoring flow, select the highest-priority namespace. The dropdown is sorted by priority — choose the top item. This connects directly to the Identity Graph Linking Rules configuration covered in Article #004. Consistent namespace selection across all journeys ensures the counter evaluates against the same profile identity every time.</p><h3>The Deactivation Trap</h3><p>When you deactivate a rule or a rule set, AJO does not reset the profile counters. Profiles that were already capped remain capped until the period resets. Deactivating the rule stops future enforcement. It does not clear accumulated counts.</p><p>There is no self-serve way to reset a profile’s frequency counter before the period ends. Adobe explicitly recommends using freshly created test profiles for capping QA — once a profile hits the cap, the only reset is the calendar period turning over.</p><p>The production consequence that matters most: <strong>transactional messages are not automatically exempt from channel capping.</strong> If your Global Default Rule Set caps all email and your transactional journey — order confirmations, password resets, support responses — uses the same channel, those messages are suppressed too when a profile has hit the cap. The rule has no concept of message importance or type unless you explicitly scope it.</p><p>Design your rule sets with this in mind. Transactional journeys should either use a separate channel configuration excluded from your capping rule sets, or transactional communications should be exempt by design — meaning your global and promotional caps are scoped only to journeys explicitly marked as marketing communications. If you discover later that transactional messages have been silently suppressed, there is no retroactive fix. The messages weren’t sent.</p><h3>How to Verify Capping Is Actually Working at Scale</h3><p>Checking the Journey Exclusions table tells you about individual journeys. It doesn’t tell you whether your overall multi-journey, multi-channel exposure is staying within your intended limits across your entire AJO implementation.</p><p>For that, use <strong>Query Service</strong>.</p><p>Adobe’s own journey capping documentation confirms this: <em>“You can use the Adobe Experience Platform Query Service to build queries to identify which rule caused a profile to not enter into a given journey.”</em></p><p>Go further than that. Build a profile-level exposure count query across all AJO message feedback datasets for a given time window. Count sends per profile per channel per day. Identify profiles whose actual received count exceeds the cap you set. This is the only way to catch cross-journey exposure drift — where no single journey is over-sending, but the combined output across three journeys is putting the same customer over the intended limit.</p><p>Run this query weekly against your production data. If profiles are appearing above your cap threshold despite active rule sets, you have either a rule set application gap, a namespace mismatch, or the counter-timing issue in Failure Mode 4. The query tells you the scope. The Journey Exclusions table per journey tells you the cause.</p><h3>The Correct Architecture for Frequency Capping at Scale</h3><p>The teams that get frequency capping right don’t rely on a single rule set. They layer it.</p><p><strong>Layer 1 — Global Default Rule Set</strong> Hard ceiling across all channel communications. Example: maximum 3 emails per day, maximum 10 per week. Applies automatically to all journeys and campaigns. It’s the backstop. Does not cover journey entry — that’s Layer 3.</p><p><strong>Layer 2 — Custom Rule Sets per communication type</strong> Promotional: 1 per day. Newsletter: 1 per week. VIP tier: separate rules. Each applied explicitly to the relevant journeys before publish. Checked via the Properties panel before every journey goes live.</p><p><strong>Layer 3 — Journey Entry Capping</strong> Maximum concurrent journey enrollments: 2. Maximum journey entries per day: 1. Handles the counter-timing edge case and the API-triggered scenario by blocking entry upstream — before any channel send happens.</p><p><strong>Layer 4 — Error path on message action nodes</strong> Capture profiles discarded by capping rules. Route them to a logging action, a retry wait, or an alternative communication path. Don’t let them exit silently.</p><p><strong>Operational baseline:</strong> Schedule everything at least 10 minutes in the future. Select the highest-priority namespace on every journey and campaign. Check Journey Exclusions after every major send. Run a cross-journey Query Service exposure count weekly.</p><h3>The Mental Model</h3><p>Frequency capping in AJO works exactly as well as your deployment process. The rules are correct. The gaps are in the steps between configuration and delivery that nobody checks consistently.</p><p>Rule sets are opt-in per journey. Counter population requires lead time. Entry capping and channel capping are separate systems. Mid-journey suppression discards profiles, it doesn’t skip them. Transactional messages aren’t exempt unless you explicitly scope them out.</p><p>Every one of those behaviors is documented. None of them announce themselves when they’re breaking.</p><p>Fix the process. Check the Journey Exclusions table. Run the Query Service count. The platform does the rest.</p><p><strong>Adobe Stack Daily — Problem #005 of 39</strong></p><p>One real Adobe stack problem, every day for 40 days — AEP, AJO, Adobe Target, Data Collection, and CJA. No theory. No fluff. Problems from real enterprise implementations, written down so you don’t spend 4 hours finding the answer.</p><p>🔗 Previous: <a href="https://medium.com/@pranavmandlik8/adobe-stack-daily-004-aeps-identity-graph-has-two-failure-modes-most-teams-only-know-one-6b673deef6d7">Adobe Stack Daily #004 — AEP’s Identity Graph Has Two Failure Modes. Most Teams Only Know One.</a> 🔗 Follow me on Medium to get the next one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70cb1a253ac4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Adobe Stack Daily #004 — AEP’s Identity Graph Has Two Failure Modes. Most Teams Only Know One.]]></title>
            <link>https://medium.com/@pranavmandlik8/adobe-stack-daily-004-aeps-identity-graph-has-two-failure-modes-most-teams-only-know-one-6b673deef6d7?source=rss-299b705c3096------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b673deef6d7</guid>
            <category><![CDATA[rt-cdp]]></category>
            <category><![CDATA[martech]]></category>
            <category><![CDATA[adobe-experience-platform]]></category>
            <category><![CDATA[aep-identity-graph]]></category>
            <category><![CDATA[adobe-journey-optimizer]]></category>
            <dc:creator><![CDATA[Pranav Mandlik]]></dc:creator>
            <pubDate>Fri, 01 May 2026 03:34:06 GMT</pubDate>
            <atom:updated>2026-05-01T03:34:06.776Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1WBIKhxW1_VsWx9vJwMxqA.png" /></figure><p>Profile collapse and profile splitting are opposite problems. Both show up as broken AJO journeys. Here’s how to tell them apart, diagnose them, fix them — and understand the trade-offs Identity Graph Linking Rules introduces that Adobe’s documentation buries in a footnote.</p><h3>Two Identity Graph Failure Modes and the Fix</h3><p>The two distinct identity failure modes separated clearly. Profile collapse on the left: multiple people become one graph. Profile splitting on the right: one person becomes multiple graphs. The 50-node hard limit shown as a third failure condition that affects both. The fix section at the bottom shows Identity Graph Linking Rules for collapse and Data Prep normalization for splitting. The Experience Event re-attribution behavior is called out separately — this is the trade-off that the fix introduces and that most engineers don’t discover until it causes a reporting problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g5HriF2IpZOmAK-tuXOJxw.png" /><figcaption><strong>AEP Identity Graph: Two Failure Modes and the Fix</strong></figcaption></figure><p>The analytics dashboard showed 14,300 journey entrants for an audience of 10,000 profiles. No re-entry enabled. Same customers receiving two and three emails from the same journey. Suppression wasn’t working consistently.</p><p>“Ghost profiles” started appearing in Slack.</p><p>Two weeks later, a separate investigation on a loyalty campaign found that members who had upgraded tiers were still receiving old-tier messaging. The profile data was correct in AEP. Two customers in the same household had merged into one graph because they shared a phone number marked as an identity field. Every segment evaluation was being applied against the wrong combined profile.</p><p>Same team. Same platform. Two different identity problems. Neither was a journey configuration issue.</p><p>This is what most teams don’t know until they’ve been burned: <strong>the identity graph has two failure modes that produce opposite symptoms.</strong> Profile collapse merges too many people into one graph. Profile splitting breaks one person into multiple graphs. Both are silent. Both produce no errors. Both surface as broken AJO behavior. And their fixes are completely different.</p><h3>Failure Mode 1 — Profile Collapse</h3><h3>Cause: Shared Device</h3><p>Alice logs into your website on a shared laptop. AEP generates an ECID for that browser session. After authentication, Alice’s CRMID is linked to the ECID.</p><p>Bob uses the same laptop, same browser, same ECID. Bob’s CRMID links to the same ECID. Both CRMIDs are now in the same identity graph. AEP has no concept of “shared device” — it sees a matching identifier and merges.</p><p>Result: one graph containing Alice’s purchase history, Bob’s loyalty tier, Alice’s email preferences, Bob’s shipping address. Neither profile is correct. Both people qualify for each other’s segments. Both receive personalization built for someone else.</p><p>This doesn’t just happen in homes. It happens in call centers where agents cycle through customer accounts on the same browser, retail kiosks, and QA environments where engineers log in as multiple test customers on the same machine.</p><h3>Cause: Non-Unique Identifiers as Identity Fields</h3><p>Phone numbers. Loyalty IDs that get recycled after account closure. Order confirmation IDs accidentally marked as identity fields during a rushed implementation.</p><p>Mark a phone number as an identity namespace and two customers share it — a parent and adult child on a family plan, a business landline used by multiple employees — AEP merges those profiles. There is no quick undo.</p><p>Undoing this requires disabling the dataset for profile. That cascades into every segment, journey, and destination depending on it. In large implementations, untangling takes days.</p><p><strong>The rule:</strong> only mark a field as an identity if it is guaranteed unique per person across your entire data estate, in all current and future source systems. If you have any doubt, keep it as a profile attribute.</p><h3>The 50-Node Hard Limit</h3><p>AEP limits identity graphs to 50 identities per graph. When a graph reaches that ceiling — a call center ECID accumulating links to dozens of customer CRMIDs — Identity Service removes an existing identity before adding the new one. Adobe describes this generally as FIFO behavior, though deletion logic may also account for identity type and timestamp.</p><p>No error. No alert. Profile associations disappear without explanation. The customers whose links were dropped lose their behavioral event history. This gets misdiagnosed as an ingestion problem until someone traces it to the identity graph structure.</p><p>If your call center agents use web-based tools in a browser they don’t clear between customers, this is not a theoretical risk. It is a production condition.</p><h3>The Null Identity Bug</h3><p>One more collapse trigger that shows up repeatedly in production and is almost always introduced by a mobile SDK implementation.</p><p>When a mobile SDK can’t capture a valid IDFA — because the user hasn’t granted ATT permission, or because the permission check isn’t handled correctly — some implementations pass placeholder strings like &quot;user_null&quot;, &quot;null&quot;, &quot;unknown&quot;, or &quot;not_available&quot; instead of omitting the field. AEP treats any string value as a valid identity. Every profile with that same placeholder IDFA collapses into one graph.</p><p>The rule is simple: if an identity value isn’t available, omit the field from identityMap entirely. Do not send a fake value as a substitute. If your identity graph contains a profile with 50+ IDFA-linked identities, this is almost certainly the cause.</p><h3>Failure Mode 2 — Profile Splitting</h3><p>This is the opposite problem — and it’s the one causing the inflated journey entrant counts.</p><p>AEP identity values are <strong>case-sensitive</strong>. AEP does not automatically normalize identity values. This is documented behavior. And it creates a widespread silent failure with email addresses.</p><p>Your CRM stores John.Doe@company.com. It ingests to AEP and is stored exactly as received: John.Doe@company.com. Your marketing team uploads a CSV audience from a different system that outputs lowercase: john.doe@company.com. AEP receives it, checks the Email namespace for that exact value — and doesn&#39;t find a match. Different strings. AEP creates a second profile.</p><p>John now has two profiles. He enters AJO journeys twice. He receives duplicate emails. One profile fragment has his most recent opt-out. The other still shows opted-in from an older ingestion. His licensed profile count is being consumed twice.</p><p>The fix is normalization at ingestion — not something AEP does automatically.</p><p><strong>In AEP Data Prep, apply </strong><strong>lower() to any field mapped to the Email identity namespace:</strong></p><pre>Data Prep mapping rule:<br>Source field:  email<br>Target field:  identityMap.Email[0].id<br>Transform:     lower(email)</pre><p>Apply this in every dataset that ingests email as an identity — CRM batch files, CSV uploads, API-based ingestion. One pipeline missing this rule re-introduces the split.</p><p>If you control the source system, enforce lowercase at the point of capture. Data Prep is the right fallback for systems you don’t control.</p><h3>Diagnosing a Collapsed Graph Before You Fix It</h3><p>Before enabling Identity Graph Linking Rules, confirm which graphs are actually collapsed and how badly.</p><p><strong>IIdentity Graph Viewer</strong> — AEP → Customer → Identities → Browse. Enter a namespace + identity value for a suspect profile. A healthy retail profile has 2–5 nodes. A collapsed profile shows 20–50. If you see multiple CRMIDs in one graph, you have collapse.</p><p><strong>Identity Dashboard</strong> — Platform → Dashboards → Profiles → Identity Overlap. High overlap on a CRMID namespace means multiple CRMIDs are sharing graphs. Use this to gauge scope across your sandbox.</p><p><strong>Query Service</strong> — The most precise option. Query identity_graph datasets directly to count graphs with more than one CRMID. Do this before enabling Linking Rules so you know what you&#39;re walking into.</p><h3>The Fix — Identity Graph Linking Rules (GA April 2026)</h3><p>The concept is simple: declare a namespace as unique, and AEP enforces a maximum of one identity per graph for that namespace. If a second identity in that namespace attempts to link, the Identity Optimization Algorithm removes the oldest conflicting link.</p><p><strong>Step 1 — Graph Simulation first. This is mandatory.</strong></p><p>Go to Identity Service → Graph Simulation. Build event sequences using your actual namespace combinations. Test every scenario you can think of: shared device, family shared account, multiple logins, bad data values.</p><p>The simulation shows which links the algorithm removes and what the resulting graphs look like. The interaction between multiple namespaces grows exponentially complex. A configuration that handles two namespaces correctly can produce unexpected collapses when a third is introduced. You need to see the behavior before you apply it to production.</p><p><strong>Step 2 — Configure Identity Settings.</strong></p><p>Navigate to Identity Service → Settings (AEP left nav → Customer → Identities → Settings).</p><p>Drag namespaces in priority order. Check <strong>“Unique per graph”</strong> for namespaces with one value per person. Maximum <strong>three unique namespaces</strong>. Your highest priority namespace must be marked unique.</p><pre>Example — retail implementation:<br>Priority 1: CRMID     [✓ Unique per graph]   ← primary person identifier<br>Priority 2: Email     [✓ Unique per graph]   ← if one email per person<br>Priority 3: Phone     [ ] Not unique          ← family plan risk<br>Priority 4: ECID      [ ] Not unique          ← shared devices expected<br>Priority 5: AAID      [ ] Not unique</pre><p>Device and cookie namespaces (ECID, AAID, IDFA, GAID) should never be marked unique. It is normal and expected for one person to have multiple ECIDs across devices and browsers.</p><p><strong>Step 3 — Wait 24 hours. Then ingest.</strong></p><p>Settings take at minimum 24 hours to propagate through Identity Service. Ingesting before this window produces graphs that don’t respect the configured rules. Block a 24-hour hold window in your rollout plan.</p><p><strong>Step 4 — Dev sandbox first, then production.</strong></p><p>Your development and production sandboxes are independent Identity Service configurations. Enable and validate in dev first. Monitor the Identity Dashboard → Graphs with Multiple Identities by Namespace report. This updates every 24 hours. Confirm the graph count in your unique namespaces is decreasing as new events come in and graphs rebuild. Only then configure production.</p><p>Do not enable production rules before a weekend. The 24-hour propagation window and any unexpected graph behavior needs business-hours monitoring.</p><p><strong>Step 5 — Authenticated events must include your person namespace on every event.</strong></p><p>This is an implementation requirement that Linking Rules makes non-negotiable. Once namespace priority is configured, AEP uses it to determine the primary identity for experience event fragments. If an authenticated event doesn’t include the CRMID — only the ECID — AEP treats it as anonymous. It gets attributed to the ECID’s current graph, not the authenticated person’s graph.</p><p>Validate that every authenticated event payload includes CRMID (or your equivalent person namespace) in the identityMap, not just ECID.</p><h3>The Trade-Off Adobe Buries in the Documentation</h3><p>When Identity Graph Linking Rules split a previously collapsed graph, the re-attribution of Experience Events follows a specific rule that has real reporting consequences.</p><p><strong>Authenticated events</strong> — events where CRMID is the primary identity — stay with the correct person. Alice’s purchase history stays with Alice. Bob’s browsing sessions where he was authenticated stay with Bob.</p><p><strong>Anonymous events</strong> — events where ECID is the primary identity, typically pre-login browsing — transfer to the <strong>last authenticated user on that ECID</strong>. Since the ECID stays linked to Bob’s graph (as the most recent authenticated user), all of Alice’s pre-login anonymous browsing on that shared device gets attributed to Bob.</p><p>Adobe’s troubleshooting documentation acknowledges this explicitly: anonymous events will transfer to the last authenticated user because the ECID is linked to the last authenticated user’s CRMID.</p><p>This is a deliberate design decision. There is no way to know with certainty which pre-login anonymous events belong to Alice vs Bob — any attribution is a guess. Adobe’s algorithm makes the practical choice: assign to the most recent authenticated user.</p><p>The consequence is that historical anonymous event data will be re-attributed when graphs split. If your attribution models, CJA workspaces, or AJO journey eligibility rules depend on historical anonymous behavioral data, audit them after enabling Linking Rules. Some profiles will have more anonymous event history than they “should.” Others will have less.</p><h3>B2B Implementations: Why One CRMID Namespace Doesn’t Work</h3><p>The B2C model — one CRMID namespace, marked unique — doesn’t map cleanly to B2B. A person may have both a business identity and a consumer identity, and forcing both under the same CRMID namespace creates problems: mark it unique and you split them into two profiles; don’t mark it unique and you risk collapse.</p><p>The cleaner approach is separate namespaces for separate identity types — B2BCRM for business identities, B2CCRM for consumer identities — each marked unique within its own namespace.</p><p>If you’re running a B2B implementation, don’t copy the B2C identity configuration and adjust the data. Treat the namespace strategy as a separate design decision.</p><h3>Historical Graphs Don’t Auto-Fix</h3><p>Enabling Identity Graph Linking Rules does not correct your existing collapsed graphs.</p><p>Adobe’s documentation is explicit: existing graphs remain as they are. They rebuild only when new events are ingested and touch those graphs. Graphs that receive no new events stay collapsed indefinitely.</p><p>If you need existing collapsed graphs corrected immediately — contact <strong>Adobe Account Team or Adobe Support</strong> and request a graph re-processing job specifically for your sandbox. Ask for collapsed graphs to be “un-collapsed” after enabling identity settings. This is a manual operation on Adobe’s side, not a self-serve function.</p><h3>The Mental Model</h3><p>AEP sees matching identity values within a namespace and links them. That’s the complete logic. It doesn’t reason. It doesn’t verify. It merges.</p><p>Identity Graph Linking Rules gives you the configuration layer to constrain that logic. Simple mechanism. Large downstream consequence — including anonymous event re-attribution when graphs split, which will affect your historical behavioral data.</p><p>Design the identity strategy before you build the schemas. Simulate before you configure production. If you already have collapsed graphs, call Adobe Support before you spend three days explaining to the business why segment counts changed overnight.</p><p>The identity graph is the foundation everything else runs on. Get it wrong in the design phase and you’re correcting it in production.</p><p>───────────────────</p><p><strong>Adobe Stack Daily — Problem #004 of 40</strong></p><p>One real Adobe stack problem, every day for 40 days — AEP, AJO, Adobe Target, Data Collection, and CJA. No theory. No fluff. Problems from real enterprise implementations, written down so you don’t spend 4 hours finding the answer.</p><p>🔗 Previous: <a href="https://medium.com/@pranavmandlik8/adobe-stack-daily-003-your-ajo-journey-is-sending-emails-with-yesterdays-data-here-s-why-5719d592534d">Adobe Stack Daily #003 — Your AJO Journey Is Sending Emails With Yesterday’s Data. Here’s Why.</a> 🔗 Follow me on Medium to get the next one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b673deef6d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Adobe Stack Daily #003 — Your AJO Journey Is Sending Emails With Yesterday’s Data. Here’s Why.]]></title>
            <link>https://medium.com/@pranavmandlik8/adobe-stack-daily-003-your-ajo-journey-is-sending-emails-with-yesterdays-data-here-s-why-5719d592534d?source=rss-299b705c3096------2</link>
            <guid isPermaLink="false">https://medium.com/p/5719d592534d</guid>
            <category><![CDATA[audience-segmentation]]></category>
            <category><![CDATA[adobe-experience-platform]]></category>
            <category><![CDATA[ajo]]></category>
            <category><![CDATA[aep]]></category>
            <category><![CDATA[adobe-journey-optimizer]]></category>
            <dc:creator><![CDATA[Pranav Mandlik]]></dc:creator>
            <pubDate>Thu, 30 Apr 2026 03:38:57 GMT</pubDate>
            <atom:updated>2026-05-01T03:27:05.128Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EuRBa8scYO4FOdxKkPfuDg.png" /></figure><p>The Read Audience snapshot model, the consent gap that only exists in specific architectures, and the exact fixes — including the one journey node that forces a live profile refresh.</p><h3>Read Audience Data Flow: Snapshot vs Live Profile</h3><p><strong>What this diagram shows:</strong> Two parallel flows. Left: what most engineers assume — AJO reads from the live Unified Profile Service at send time. Right: what actually happens — AJO freezes a snapshot at evaluation time and personalizes from that frozen data. The Wait node section shows how the UPS refresh is triggered. The consent architecture section shows the two different consent models and where the compliance gap actually exists.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*unYnoI6U5GZ8N2Tmykoqyw.png" /><figcaption><strong>Read Audience Data Flow: Snapshot vs Live Profile</strong></figcaption></figure><p>The journey published cleanly. Emails went out. Open rates looked normal.</p><p>Then a marketer noticed something. A customer who had upgraded to Gold loyalty tier two days ago was still receiving Silver messaging. Another customer had updated their product preferences that morning and the campaign didn’t reflect it. And one customer — a VIP who had their loyalty tier downgraded three days earlier — was still receiving VIP offers they no longer qualified for.</p><p>No errors in AJO. No failed deliveries. No warnings in the journey canvas. Just wrong personalization, quietly delivered at scale.</p><p>This is the Read Audience snapshot problem. And it catches every team at least once.</p><h3>How Read Audience Actually Works</h3><p>Most engineers assume AJO reads from the Unified Profile Service — the live, real-time profile store — when it executes a journey. That’s a reasonable assumption. AEP profiles update in near real-time. Why would the journey use anything else?</p><p>Because Read Audience doesn’t work that way.</p><p>When a Read Audience journey fires, AJO requests an <strong>audience snapshot export</strong> from AEP. This is a high-throughput batch export of every profile that qualified for the audience at evaluation time. AJO streams these profiles into an internal queue and processes them — but it processes from that frozen snapshot, not from the live profile store.</p><p>The snapshot was produced by AEP’s batch segmentation job. That typically completes overnight or in the early morning. By the time your journey fires at 8 AM, the snapshot data is potentially six, eight, ten hours old depending on when segmentation ran and how large your audience is.</p><p>Every profile attribute used for personalization — loyalty tier, first name, product preferences, last purchase date — comes from that snapshot. Whatever the profile looked like at evaluation time is what AJO uses. Changes that happened after evaluation are invisible to the journey.</p><p>Adobe documented this explicitly in the Wait activity documentation precisely because enough engineers were surprised by it. The problem isn’t that it’s undocumented. The problem is that the gap between expected behavior and actual behavior is wide enough to cause production failures and, in specific architectures, compliance incidents.</p><h3>The Compliance Risk — But Only in Specific Architectures</h3><p>Profile staleness causing the wrong loyalty tier in an email is a data quality problem. Measurable, fixable, someone eventually notices.</p><p>The consent question is different — but it depends entirely on how your organization manages consent.</p><p><strong>If you use AJO’s native consent management</strong> — one-click unsubscribe links, AJO-hosted preference landing pages — this is handled. When a customer clicks AJO’s unsubscribe link, consent is updated in near real-time via API call directly to the profile. More importantly, AJO performs a <strong>last-mile consent check against the live Unified Profile Service at send time</strong>, not against the snapshot. The consents.marketing.email.val attribute is read from the live profile immediately before dispatch. A customer who opts out at 3 AM via an AJO unsubscribe link will be caught by this check and suppressed from a 4 AM journey. No gap.</p><p><strong>If you manage consent externally</strong> — a CRM, a third-party preference center, any system that syncs opt-outs to AEP via batch ingestion — this is where the compliance risk lives.</p><p>The flow: customer opts out in your external preference center at 3 AM. Your nightly batch sync runs at 6 AM. Journey fires at 4 AM. AJO’s last-mile check reads the live profile — which still shows opted-in because the batch hasn’t run yet. Email goes out.</p><p>Depending on your geography and industry, this isn’t a data quality problem. It’s a GDPR or CAN-SPAM problem. And it produces no errors, no alerts, and no indication in AJO that anything went wrong.</p><p>The fix is architectural: move external consent updates to <strong>streaming ingestion</strong> or <strong>AEP Streaming API</strong> rather than batch. If that’s not feasible, the Wait node approach described below forces a live profile re-read at send time — but only helps if the opt-out has reached the live profile before the Wait node completes.</p><h3>Fix #1 — The Wait Node (Minimum 1 Minute in Production)</h3><p>Add a <strong>Wait activity</strong> between your Read Audience node and your first action node.</p><p>When a profile is parked at a Wait activity in a Read Audience journey, AJO automatically discards the snapshot attributes and performs a fresh lookup against the Unified Profile Service. When the profile exits the Wait and continues into the email or SMS action, it’s using live profile data.</p><p><strong>Important on duration:</strong> The minimum configurable Wait duration in production is <strong>1 minute</strong>. “A few seconds” is not achievable in production — that number comes from test mode, where the journey canvas defaults all waits to 10 seconds for fast testing. In live execution, 1 minute is the floor. For data freshness use cases, 1 minute is sufficient to trigger the UPS lookup. For timing-sensitive journeys, factor this minimum into your send window.</p><p><strong>The trade-off you must understand:</strong> Profile attributes can change between journey entry and the Wait node exit. If a profile entered as Silver but upgraded to Gold during the wait, the action node sees Gold. In most cases that’s correct — you want current data. But if your journey logic evaluates conditions at entry and expects those conditions to hold through execution, the Wait node breaks that assumption. Design branching logic after the Wait, not before, if attribute consistency matters.</p><h3>Fix #2 — Trigger After Batch Audience Evaluation (For Recurring Journeys)</h3><p>The Wait node solves attribute freshness. A separate problem is the journey firing before the batch segmentation job has finished producing the snapshot.</p><p>Real community scenario: audience “Last updated” timestamp showed 7:47 AM, journey scheduled for 8:00 AM, journey ran with the previous day’s members. The reason: “Last updated” reflects when evaluation completed, not when the snapshot export to AJO’s queue finished. That export can take another 30–60 minutes depending on audience size and sandbox load.</p><p>AJO has a native fix: <strong>“Trigger after batch audience evaluation”</strong> (also labeled “Synchronize read audience schedule with batch segmentation job” depending on UI version).</p><p>Enable this in your Read Audience activity settings. Set a time window of up to 6 hours. When the journey fires, AJO checks whether a fresh audience snapshot exists. If it does, the journey runs immediately. If not, it waits up to the defined window. If the snapshot isn’t available within the window, the journey skips that execution rather than running with the previous day’s data.</p><p>For daily batch journeys this is the correct default pattern — schedule for when you want it to fire, enable this option, set a 2–4 hour buffer, and let AJO handle the timing dependency.</p><h3>Fix #3 — Audience Qualification for Time-Critical Sends</h3><p>If your use case can’t tolerate any snapshot delay, Read Audience is the wrong activity.</p><p><strong>Audience Qualification</strong> listens for streaming segment membership changes in real time. When a profile enters or exits an audience, AJO starts the profile through the journey using live profile data — no snapshot, no batch delay.</p><p>Two caveats before you commit to this pattern:</p><p>First, Audience Qualification requires your audience to be evaluated via <strong>streaming segmentation</strong>. Not all audience definitions qualify. Complex boolean logic with long lookback windows, XDM schema joins, or AEP-native computed attributes often force evaluation back to batch mode regardless of which activity you use. Check your audience’s evaluation method in AEP’s Audience portal before building the journey.</p><p>Second, streaming segmentation is not instantaneous. Adobe’s documentation notes that streaming segmentation can have <strong>up to 2-hour latency</strong> before a membership change triggers a qualification event in AJO. For truly time-critical journeys — sub-minute responsiveness — Audience Qualification with streaming segmentation is still the right pattern, but “real-time” here means minutes to an hour or two, not seconds.</p><h3>Edge Cases That Will Catch You</h3><p><strong>Wrong personalization data despite correct snapshot timing — check your merge policy.</strong></p><p>A Read Audience journey requires a Merge Policy to be selected in the journey settings. The merge policy determines which attribute value wins when a profile has conflicting data across multiple datasets — for example, a loyalty tier ingested from your CRM dataset vs. a loyalty tier ingested from your mobile app dataset. If the merge policy is wrong, AJO will personalize using the wrong attribute value even when all the timing and snapshot mechanics are working correctly. Verify the merge policy is the same one used to build the audience — inconsistent merge policies between audience creation and journey execution produce different attribute values for the same profile.</p><p><strong>Audience Composition enrichment attributes are not refreshed by the Wait node.</strong></p><p>If your audience was built using AEP Audience Composition — enriching it with non-profile attributes from the composition workflow — those enrichment attributes do not live in the Unified Profile Service. They exist only in the snapshot. A Wait node refreshes standard profile attributes from UPS, but enrichment attributes stay as they were at snapshot time because there is no UPS record to read them from. If you need enrichment attributes to reflect current values, you need to re-evaluate the audience and rerun the composition workflow, not add a Wait node.</p><p>To use enrichment attributes from Audience Composition in personalization, they must be added to a Field Group within the <strong>ExperiencePlatform Data Source</strong> in AJO. If this configuration step is missing, the attributes will not be available in the personalization editor.</p><p><strong>Healthcare Shield or Privacy and Security Shield.</strong></p><p>Enrichment attributes from Audience Composition and Custom Upload are not available for use in journeys on Healthcare Shield or Privacy and Security Shield instances. The journey will fail to publish with an explicit error message. The only resolution is to move required attributes into the standard profile schema so they live in UPS and are available as regular profile attributes.</p><p><strong>More than 5 Read Audience journeys at the same start time.</strong></p><p>AJO caps simultaneous Read Audience job starts at 5 per sandbox. A sixth journey scheduled for the same time queues and starts late — sometimes significantly late depending on audience sizes and current sandbox load. Stagger journey start times by a few minutes each if you have multiple concurrent Read Audience journeys. The delay compounds the snapshot staleness problem for any journeys that rely on time-sensitive data.</p><p><strong>91-day journey timeout for long Wait configurations.</strong></p><p>A profile can remain in a journey for a maximum of 91 days (the journey global timeout). If you configure a multi-week or multi-month wait sequence in a Read Audience journey, ensure the total Wait durations don’t exceed 91 days for any profile path. Profiles that hit the timeout exit the journey silently — no error, no alert.</p><h3>The Mental Model That Prevents This Failure</h3><p>Read Audience is a batch mechanism. It was built for scale, not freshness. AJO can process millions of profiles through a journey because it works from a static export — not by hitting the live profile store at every node for every profile.</p><p>The Wait node is the release valve. It’s the point where AJO pauses batch processing and re-engages with the live system. Use it before any action node where attribute freshness matters. For consent, know your architecture first: if consent is AJO-native, the last-mile check has you covered. If consent is externally managed via batch ingestion, the Wait node helps only if the batch has already run.</p><p>Read Audience is a batch pipeline with a predictable data freshness model. Once you design within that model — Wait nodes for freshness, sync option for timing, Audience Qualification for streaming use cases, merge policy consistency between audience and journey — the behavior is completely predictable.</p><p>The teams that get burned find out about the snapshot model from a compliance incident, not from architecture planning. By then the question isn’t how to fix the journey — it’s how to explain to legal why a suppressed customer got an email.</p><p><strong>Adobe Stack Daily — Problem #003 of 40</strong></p><p>One real Adobe stack problem, every day for 40 days — AEP, AJO, Adobe Target, Data Collection, and CJA. No theory. No fluff. Problems from real enterprise implementations, written down so you don’t spend 4 hours finding the answer.</p><p>🔗 Previous: <a href="https://medium.com/@pranavmandlik8/adobe-stack-daily-002-mboxtrace-isnt-gone-in-web-sdk-you-re-just-looking-in-the-wrong-place-e8e6fea1daff">Adobe Stack Daily #002 — mboxTrace Isn’t Gone in Web SDK. You’re Just Looking in the Wrong Place. </a>🔗 Follow me on Medium to get the next one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5719d592534d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Adobe Stack Daily #002 — mboxTrace Isn’t Gone in Web SDK. You’re Just Looking in the Wrong Place.]]></title>
            <link>https://medium.com/@pranavmandlik8/adobe-stack-daily-002-mboxtrace-isnt-gone-in-web-sdk-you-re-just-looking-in-the-wrong-place-e8e6fea1daff?source=rss-299b705c3096------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8e6fea1daff</guid>
            <category><![CDATA[adobe-experience-platform]]></category>
            <category><![CDATA[adobe-target]]></category>
            <category><![CDATA[web-sdk]]></category>
            <category><![CDATA[martech]]></category>
            <category><![CDATA[target-recommendations]]></category>
            <dc:creator><![CDATA[Pranav Mandlik]]></dc:creator>
            <pubDate>Wed, 29 Apr 2026 01:56:18 GMT</pubDate>
            <atom:updated>2026-05-01T03:27:50.263Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J6z61J0GMBNQY4ngXyCeFg.png" /></figure><p>Three debugging tools, one real production risk nobody talks about, and why your Recs algorithms quietly degrade after migration.</p><h3>Three Debugging Paths for Target Recs in Web SDK</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*d362enCpIHch3YExod-Vyw.jpeg" /></figure><p><strong>What this diagram shows:</strong> The full debugging surface after migrating to Web SDK. mboxTrace via data.__adobe.target still works — it&#39;s just under documented. Assurance is the primary tool most teams skip. Edge Trace fills the structural gaps. All three sit on top of the same Edge Network layer. The bottom section shows the behavioral pipeline split — the silent production risk no one talks about during migration planning.</p><p>The migration looked clean. Web SDK firing, Target decisions coming through, Recs rendering on the page. Everything seemed fine.</p><p>Then a recommendation stopped making sense — wrong category, wrong algorithm, items that should’ve been excluded weren’t. You opened the browser, looked for the Recs Box, and got nothing. Just network calls and a JSON blob you’d never had to read before.</p><p>That’s not a bug. That’s the debugging model changing completely under you.</p><p>But here’s the part nobody documents clearly: <strong>mboxTrace is not gone.</strong> It still works in Web SDK. You just trigger it differently. More on that in a moment — but first, you need to understand why the surface changed at all.</p><h3>What mboxTrace Actually Gave You</h3><p>With at.js, mboxTrace was a debug layer bolted directly onto the Target response. Add the token to the URL, refresh, and Target appended a full diagnostic payload to every mbox response. The Recs Box was in there.</p><p>That Recs Box gave you:</p><ul><li>Which algorithm and criteria set ran — criteria ID, algorithm type (collaborative filtering, item-based, popularity-based, user-based)</li><li>How many entities were in the catalog at query time</li><li>Which items were returned before filtering</li><li>Exactly why items were excluded — inventory rules, profile attribute mismatch, max price filter, recent purchase exclusion, all of it with per-entity reason strings</li><li>The final ranked list before rendering</li></ul><p>Verbose, sometimes enormous, completely readable. One JSON object. You could grep it, share it, paste it into a Slack thread.</p><p>Web SDK changed where that data lives. Not whether it exists.</p><h3>Why the Surface Changed</h3><p>With at.js, the browser called Target’s delivery API directly. The mboxTrace payload came from Target’s backend, packaged into that same direct response.</p><p>Web SDK calls the <strong>Edge Network</strong>. Target runs as one internal service inside the Edge. The browser never talks to Target directly. Every request hits /ee/v2/interact on edge.adobedc.net, the Edge orchestrates which services run, and Target&#39;s output comes back wrapped in the Edge response structure.</p><p>mboxTrace as a URL parameter hitting Target’s delivery endpoint doesn’t apply in the same way. But the underlying Target trace capability still exists. The Edge just mediates it now.</p><h3>Debug Tool #1 — mboxTrace Still Works. Here’s How.</h3><p>This is the part that isn’t documented clearly anywhere.</p><p><strong>Authentication first.</strong> mboxTrace in Web SDK still requires your browser to be authenticated against the Adobe Experience Cloud org that owns the Target instance. Open Experience Cloud (experience.adobe.com) and confirm you&#39;re logged in before proceeding. Without this, the parameter is silently ignored — no error, no trace, nothing.</p><p><strong>The right parameter value.</strong> Pass &quot;mboxTrace&quot;: &quot;json&quot; — not &quot;windows&quot;. The windows value opens a popup, which is the at.js browser UI experience. In Web SDK you&#39;re reading the trace through AEP Debugger&#39;s Edge Trace, so you need &quot;json&quot; to get a machine-readable payload embedded in the Edge response.</p><pre>alloy(&quot;sendEvent&quot;, {<br>  renderDecisions: true,<br>  data: {<br>    __adobe: {<br>      target: {<br>        &quot;mboxTrace&quot;: &quot;json&quot;,<br>        &quot;entity.id&quot;: &quot;SKU-1234&quot;,<br>        &quot;entity.categoryId&quot;: &quot;electronics&quot;<br>      }<br>    }<br>  }<br>}).then(result =&gt; {<br>  console.log(result.propositions);<br>});</pre><p><strong>Where to find the output.</strong> Open AEP Debugger → Edge tab → click Connect → reload the page → find your interact request → expand com.adobe.target in Edge Path Trace. The Target trace payload is embedded in the Target service&#39;s response node. It&#39;s not as clean as the old Recs Box UI — it&#39;s raw JSON — but the data is the same: criteria ID, entities evaluated, filters applied, exclusion reasons per entity, final ranked output.</p><p>This is the closest equivalent to the original mboxTrace workflow. Use it when you need per-entity exclusion detail.</p><h3>Debug Tool #2 — Adobe Experience Platform Assurance</h3><p>Most teams don’t use this. It’s the right primary tool for Web SDK debugging.</p><p><strong>Access it</strong> via the AEP UI: experience.adobe.com → left nav → Data Collection → Assurance. Create a new session, give it a name, and enter the base URL of the page you want to debug. Assurance generates a deep link — a version of your page URL with session parameters appended. Open that link fresh in your browser. Alloy detects the session parameters, establishes a WebSocket connection to Assurance, and from that point every event is streamed into your session view.</p><p><strong>What Assurance shows that AEP Debugger doesn’t:</strong></p><ul><li><strong>Activity name</strong> — not just a numeric ID you have to look up in Target UI</li><li><strong>Experience name</strong> — which variation qualified</li><li>The full <strong>proposition payload</strong> for Recs, including the entity list in a readable format</li><li><strong>Proposition ID</strong> — useful when troubleshooting A4T stitching</li><li>A clean <strong>event timeline</strong> with labels — you can see exactly which sendEvent triggered which Target decision</li></ul><p><strong>The failure mode to know about.</strong> Assurance sometimes shows a Target event fired and a proposition returned — but the page isn’t rendering the Recs. When this happens, the problem is not in delivery. It’s client-side rendering. The offer came back correctly; something in your subscribeRulesetItems handler or applyPropositions call is failing silently. Assurance tells you the boundary: if the proposition is in Assurance, the delivery layer is clean. Look at your rendering code.</p><p>For day-to-day Recs debugging — wrong items, wrong criteria, activity not qualifying — start with Assurance. Move to mboxTrace only when you need exclusion detail per entity.</p><h3>Debug Tool #3 — Edge Trace in AEP Debugger</h3><p>Right tool for understanding scope routing and request/response structure. Not the first place to look for a Recs content problem, but necessary for certain failure modes.</p><p><strong>Enable it:</strong> AEP Debugger → Edge tab → click Connect. The Debugger injects a trace session token into subsequent requests. Reload the page.</p><p><strong>Find the right event:</strong> The events list shows every request Alloy made. You’re looking for type interact. If multiple fire on load, cross-reference the timestamp with your browser&#39;s network tab.</p><p><strong>Navigate to Target data:</strong> Expand the interact event → Edge Path Trace → com.adobe.target. That&#39;s the service node. Not com.adobe.target.recommendations — just com.adobe.target. Recs data is inside it.</p><p><strong>What the Recs payload looks like:</strong></p><pre>{<br>  &quot;type&quot;: &quot;personalization:decisions&quot;,<br>  &quot;payload&quot;: [<br>    {<br>      &quot;id&quot;: &quot;AT:eyJhY...&quot;,<br>      &quot;scope&quot;: &quot;recs-homepage&quot;,<br>      &quot;scopeDetails&quot;: {<br>        &quot;activity&quot;: { &quot;id&quot;: &quot;123456&quot; },<br>        &quot;experience&quot;: { &quot;id&quot;: &quot;0&quot; },<br>        &quot;strategies&quot;: [<br>          {<br>            &quot;algorithmID&quot;: &quot;popularity&quot;,<br>            &quot;trafficType&quot;: &quot;0&quot;<br>          }<br>        ]<br>      },<br>      &quot;items&quot;: [<br>        {<br>          &quot;schema&quot;: &quot;https://ns.adobe.com/personalization/html-content-item&quot;,<br>          &quot;data&quot;: {<br>            &quot;content&quot;: &quot;[{\&quot;entity.id\&quot;:\&quot;SKU-001\&quot;,\&quot;entity.name\&quot;:\&quot;Blue Running Shoe\&quot;,...}]&quot;<br>          }<br>        }<br>      ]<br>    }<br>  ]<br>}</pre><p>scopeDetails.strategies[].algorithmID is where the algorithm type lives. &quot;popularity&quot; is the value for popularity-based algorithms (Most Viewed, Top Sellers, etc.). For collaborative filtering algorithms — People Who Viewed This Viewed That, People Who Bought This Bought That — the value will be a different identifier. Cross-reference what you see in the trace against the algorithm type shown in your Target Recs criteria configuration in the Target UI. If they don&#39;t match, your behavioral signal pipeline is the likely cause.</p><p>The entity list is in items[].data.content as a JSON-encoded string. Parse it to read it. Exclusion reasons are not in this payload — for those, use mboxTrace.</p><p><strong>The scope problem you’ll hit.</strong> The scope in the proposition must match what your sendEvent is requesting. Form-based Recs activities: scope equals the mbox name, direct mapping. VEC-based activities: scope is __view__ for page load, or the SPA view name for single-page views. If you filter result.propositions by p.scope === &quot;recs-homepage&quot; and get nothing, your Recs activity is VEC-based. Check p.scope === &quot;__view__&quot; instead.</p><p>To verify what scopes your request is actually sending: check query.personalization.decisionScopes in the Edge request payload in AEP Debugger.</p><h3>The Real Production Risk: Behavioral Data Migration</h3><p>This is the failure mode that shows up weeks after go-live, produces no errors, and takes engineers days to diagnose.</p><p><strong>How it worked in at.js (1.x):</strong></p><pre>// at.js 1.x — behavioral signals sent directly to Target<br>// at.js 2.x uses adobe.target.sendNotifications() instead<br>adobe.target.trackEvent({<br>  mbox: &quot;orderConfirmPage&quot;,<br>  params: {<br>    &quot;orderId&quot;: &quot;ORD-9999&quot;,<br>    &quot;productPurchasedId&quot;: &quot;SKU-001,SKU-002&quot;,<br>    &quot;orderTotal&quot;: &quot;149.00&quot;<br>  }<br>});</pre><p>Target’s collaborative filtering (CF) and user-based (UB) algorithms trained on those signals directly — product views, cart adds, purchases. The algorithm knew what each user did and built associations from it.</p><p><strong>How it works in Web SDK — use both XDM and </strong><strong>data.__adobe.target:</strong></p><p>XDM commerce events alone are not guaranteed to reach Target Recs behavioral signal processing. They do only if your datastream is explicitly configured to map productListItems[].SKU to entity.id for Target — which is not the default. The most reliable approach is dual-path: send XDM for Analytics and AEP, and send entity parameters via data.__adobe.target for Target.</p><pre>// Purchase event — behavioral signal for Recs algorithms<br>alloy(&quot;sendEvent&quot;, {<br>  xdm: {<br>    eventType: &quot;commerce.purchases&quot;,<br>    commerce: {<br>      purchases: { value: 1 },<br>      order: {<br>        purchaseID: &quot;ORD-9999&quot;,<br>        priceTotal: 149.00<br>      }<br>    },<br>    productListItems: [<br>      { SKU: &quot;SKU-001&quot; },<br>      { SKU: &quot;SKU-002&quot; }<br>    ]<br>  },<br>  data: {<br>    __adobe: {<br>      target: {<br>        &quot;orderId&quot;: &quot;ORD-9999&quot;,<br>        &quot;productPurchasedId&quot;: &quot;SKU-001,SKU-002&quot;,<br>        &quot;orderTotal&quot;: &quot;149.00&quot;<br>      }<br>    }<br>  }<br>});<br><br>// Product view — behavioral signal for CF and UB algorithms<br>alloy(&quot;sendEvent&quot;, {<br>  xdm: {<br>    eventType: &quot;commerce.productViews&quot;,<br>    commerce: { productViews: { value: 1 } },<br>    productListItems: [{ SKU: &quot;SKU-001&quot;, name: &quot;Blue Running Shoe&quot; }]<br>  },<br>  data: {<br>    __adobe: {<br>      target: {<br>        &quot;entity.id&quot;: &quot;SKU-001&quot;,<br>        &quot;entity.categoryId&quot;: &quot;shoes&quot;<br>      }<br>    }<br>  }<br>});</pre><p><strong>If you’re relying on XDM-only behavioral tracking:</strong> go to Data Collection → Datastreams → your datastream → Adobe Target configuration. Verify that your entity field mappings are explicitly configured. If there are no field mappings defined for entity.id, entity.categoryId, and similar parameters, Target is not receiving the entity context it needs from XDM events alone. Add the dual-path approach above while you sort out the datastream mapping.</p><p><strong>Why the degradation is delayed — the lookback window.<br></strong>CF and UB algorithms don’t train on real-time data. They operate on a rolling behavioral lookback window — typically 14 to 30 days depending on the algorithm type. While at.js is still running, that window stays full of good behavioral data, and your algorithms keep serving accurate recommendations.</p><p>The moment you remove at.js without a functioning Web SDK behavioral pipeline, the window starts draining. For the first week or two, recommendations still look right — the algorithm is drawing on historical data. Then, as old data ages out of the window and no new data replaces it, the algorithm starts falling back toward popularity-based outputs. By the time the full lookback window has turned over with no new behavioral signals, you’re effectively serving the same popular items to everyone.</p><p>No errors. No monitoring alerts. Just gradually worse recommendations, and an investigation that starts two weeks after go-live when someone finally asks why the “Recommended for You” section looks the same for every user.</p><p><strong>How to catch it before it’s a problem:</strong> After migration and before removing at.js, verify that product view and purchase events are firing in Web SDK AND reaching Target. Open Assurance and confirm you see commerce.productViews and commerce.purchases events with entity parameters in the payload. Then check that the Target node in Assurance shows the behavioral events being processed — not just the Recs delivery. If you see delivery working but no behavioral event acknowledgment from Target, your signal pipeline is broken and your algorithms will degrade on a 14–30 day delay.</p><h3>Edge Cases That Will Catch You</h3><p><strong>Recs not appearing at all — activity is active, scope looks right.</strong></p><p>Check data.__adobe.target in the Alloy request payload in AEP Debugger. If you&#39;re not passing entity.id and entity.categoryId for context-based criteria, algorithms that depend on current item context won&#39;t execute. In at.js these were mbox parameters. In Web SDK they go in data.__adobe.target — they don&#39;t come from XDM automatically.</p><pre>alloy(&quot;sendEvent&quot;, {<br>  renderDecisions: true,<br>  data: {<br>    __adobe: {<br>      target: {<br>        &quot;entity.id&quot;: &quot;SKU-1234&quot;,<br>        &quot;entity.categoryId&quot;: &quot;electronics&quot;<br>      }<br>    }<br>  }<br>});</pre><p><strong>Multi-workspace implementations — Recs silently not qualifying.</strong></p><p>If your Target instance uses at_property tokens to scope activities to specific workspaces, that token must be passed in data.__adobe.target. Activities in non-default workspaces will not qualify without it. No error. No fallback. Just no Recs.</p><pre>data: {<br>  __adobe: {<br>    target: {<br>      &quot;at_property&quot;: &quot;your-workspace-token&quot;,<br>      &quot;entity.id&quot;: &quot;SKU-1234&quot;,<br>      &quot;entity.categoryId&quot;: &quot;electronics&quot;<br>    }<br>  }<br>}</pre><p><strong>Entity IDs from behavioral events not matching the catalog.</strong></p><p>If the entity.id in your behavioral tracking event doesn&#39;t exactly match the entity.id in your catalog feed, Target registers the behavioral event but can&#39;t link it to the product. The algorithm sees activity but builds no associations from it. Check case sensitivity — catalog feeds are often generated from backend systems with uppercase SKUs, while the front end sends lowercase. Silent mismatch, no error, algorithm trains on garbage associations.</p><p><em>───────────────────</em></p><p><strong>Adobe Stack Daily — Problem #002 of 40</strong></p><p>One real Adobe stack problem, every day for 40days — AEP, AJO, Adobe Target, Data Collection, and CJA. No theory. Problems from real enterprise implementations, written down so you don’t spend 4 hours finding the answer.</p><p>🔗 Previous: <a href="https://medium.com/@pranavmandlik8/adobe-stack-daily-001-you-cant-store-mm-dd-yyyy-in-aep-here-s-what-s-actually-happening-607016cff0ff">Adobe Stack Daily #001 — You Can’t Store MM-DD-YYYY in AEP. Here’s What’s Actually Happening.</a> 🔗 Follow me on Medium to get the next one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8e6fea1daff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Adobe Stack Daily #001 — You Can’t Store MM-DD-YYYY in AEP. Here’s What’s Actually Happening.]]></title>
            <link>https://medium.com/@pranavmandlik8/adobe-stack-daily-001-you-cant-store-mm-dd-yyyy-in-aep-here-s-what-s-actually-happening-607016cff0ff?source=rss-299b705c3096------2</link>
            <guid isPermaLink="false">https://medium.com/p/607016cff0ff</guid>
            <category><![CDATA[martech]]></category>
            <category><![CDATA[adobe-journey-optimizer]]></category>
            <category><![CDATA[aep-data-ingestion]]></category>
            <category><![CDATA[adobe-data-engineering]]></category>
            <category><![CDATA[adobe]]></category>
            <dc:creator><![CDATA[Pranav Mandlik]]></dc:creator>
            <pubDate>Tue, 28 Apr 2026 03:56:53 GMT</pubDate>
            <atom:updated>2026-04-28T03:56:53.527Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Broken in prod. Fixed in writing.</em></p><p>I’ve spent a lot of time staring at AEP ingestion failures.</p><p>Most of them aren’t loud. No red alert, no system crash. You map a field, run the batch, check the dataset — and the timestamp column is full of nulls. No error. Just null.</p><p>That’s what makes datetime issues in AEP particularly frustrating. They fail quietly, they break downstream systems in ways that take days to trace, and the fix is usually one format string — once you understand what AEP is actually doing under the hood.</p><p>This week I saw this question on Experience League:</p><blockquote>“From the source file, we receive the datetime value as a string: 2026-04-10 14:23:56. My requirement is to ingest it into AEP as a datetime field, but with the date in MM-DD-YYYY order. Is it technically possible in AEP Data Prep to store a datetime in MM-DD-YYYY format?&quot;</blockquote><p>Reasonable ask. I’ve seen it — or a version of it — in almost every AEP implementation I’ve touched. The answer reveals something important about how the platform actually works.</p><h3>The Trap</h3><p>When most people ask “can I store dates as MM-DD-YYYY in AEP?”, they’re actually asking one of two completely different things:</p><p><strong>Question A:</strong> Can I tell AEP how to <em>read</em> my source datetime string? — Yes. That’s exactly what Data Prep is for.</p><p><strong>Question B:</strong> Can AEP <em>store</em> the date value in MM-DD-YYYY order internally? — No. And it shouldn’t.</p><p>The trap is that Data Prep’s date() function looks like a formatter. It takes a format string. It feels like you&#39;re controlling output. You&#39;re not. You&#39;re controlling <em>input parsing</em>.</p><p>If you’re trying to control format in Data Prep, you’re solving the wrong problem.</p><h3>What You Probably Try First</h3><p>You open Data Prep, create a calculated field, and write:</p><pre>date(dateField, &quot;MM-dd-yyyy HH:mm:ss&quot;)</pre><p>The UI preview looks fine. You map it. You run the ingestion.</p><p>One of two things happens.</p><p><strong>Scenario A — Silent null.</strong> The field lands as null in your dataset. No error in the monitoring dashboard. No alert. You find it three days later when a segment isn’t qualifying anyone, or a CJA report has a gap nobody can explain. I’ve seen this in production more than once — most recently it wiped out a campaign audience overnight with zero alert. Took half a day to trace back to a single format string.</p><p><strong>Scenario B — Explicit error.</strong> You get lucky and AEP throws:</p><pre>Error transforming data for required destination path timestamp.<br>Unable to resolve function/method &#39;date&#39; with the specified parameters.</pre><p>Scenario B is easier. At least you know something broke. Scenario A is the dangerous one.</p><h3>What AEP Actually Does With Timestamps</h3><p>AEP does not store timestamps in any human-readable format. Every datetime field in an XDM schema is stored as <strong>epoch milliseconds</strong> — a single integer representing the number of milliseconds since January 1, 1970 UTC.</p><p>2026-04-10 14:23:56 UTC becomes 1744291436000.</p><p>No slashes, no dashes, no month-day-year ambiguity. Just a number. Epoch milliseconds are timezone-agnostic, globally unambiguous, and sortable — which is exactly what a platform running segmentation, journey evaluation, and attribution across millions of profiles needs.</p><p>The date() function in Data Prep is a <strong>parser</strong>. It reads your source string using the format pattern you provide and converts it into a ZonedDateTime object. That object gets stored as epoch. The format string describes your <em>input</em>, not your desired <em>output</em>.</p><h3>How to Fix It</h3><h3>Step 1 — Match the format string to what your source actually sends</h3><p>Source: 2026-04-10 14:23:56 (space separator, no timezone)</p><pre>date(dateField, &quot;yyyy-MM-dd HH:mm:ss&quot;)</pre><p>Source: 2026-04-10T14:23:56 (ISO 8601 with T)</p><pre>date(dateField, &quot;yyyy-MM-ddTHH:mm:ss&quot;)</pre><p>Source: 04/10/2026 14:23:56 (US format, slash separator)</p><pre>date(dateField, &quot;MM/dd/yyyy HH:mm:ss&quot;)</pre><p>Source: 20260410 (no separators)</p><pre>date(dateField, &quot;yyyyMMdd&quot;)</pre><p>The format string must mirror your source exactly — separators, zero-padding, T vs space, all of it. Not what you want the output to look like. What your source actually looks like.</p><h3>Step 2 — Check your XDM field type before you map</h3><p>The date() function returns a ZonedDateTime object. Your destination XDM field must be typed as <strong>DateTime</strong>. Not String. Not Date.</p><p>If there’s a type mismatch, AEP won’t always throw an error. It may silently accept the mapping and then null the field during batch execution. Five-second check. Saves hours.</p><h3>Step 3 — Format for display downstream</h3><p>This is where MM-DD-YYYY actually belongs.</p><p><strong>In Query Service:</strong></p><p>sql</p><pre>SELECT<br>  date_format(timestamp_field, &#39;MM-dd-yyyy HH:mm:ss&#39;) AS formatted_date,<br>  user_id,<br>  event_type<br>FROM your_dataset</pre><p><strong>In CJA Derived Fields:</strong> Use the Format Date function. Set whatever display format your stakeholders need. The underlying epoch stays untouched — you can change the display format anytime without re-ingesting anything.</p><h3>The Timezone Problem That Nobody Mentions</h3><p>This is where silent data corruption actually lives. Most articles skip it entirely.</p><p>When your source string has no timezone — like 2026-04-10 14:23:56 — AEP doesn&#39;t throw an error. It assumes UTC and stores accordingly.</p><p>If that timestamp was from a system running in US Central time (UTC-5), AEP just stored 2026-04-10 19:23:56 UTC. Your event is now 5 hours off.</p><p>In a journey, that’s the difference between someone qualifying for a “day of” message versus a “day after” message. In segmentation, that’s the difference between a user being inside or outside a time-windowed audience. And there’s no error message. The data just lands wrong.</p><p><strong>Fix:</strong> Always include timezone in your source if possible, or normalize to UTC upstream.</p><p>If your source includes an offset like +05:30 or -05:00:</p><pre>date(dateField, &quot;yyyy-MM-dd HH:mm:ssXXX&quot;)</pre><p>If your source is always a specific timezone:</p><pre>toTimestamp(date(dateField, &quot;yyyy-MM-dd HH:mm:ss&quot;), &quot;America/Chicago&quot;)</pre><p>Datetime issues are one of the top silent data corruption causes in AEP production. Timezone handling is where most of that corruption hides.</p><h3>Batch vs Edge: The Behavior Is Different</h3><p>This one catches people who run both ingestion paths.</p><p><strong>Batch ingestion (CSV, Parquet, S3 source connector):</strong></p><ul><li>Data Prep runs as a transformation layer during ingestion</li><li>Failures surface in the Monitoring section after the batch completes</li><li>Partial ingestion lets you set an error threshold and continue past bad rows</li><li>Preview mode lets you validate format strings before running the full batch</li></ul><p><strong>Edge / Streaming ingestion (Web SDK, Mobile SDK, HTTP API):</strong></p><ul><li>There is no Data Prep transformation layer on the edge path</li><li>Timestamps must arrive already formatted as ISO 8601: 2026-04-10T14:23:56Z</li><li>A malformed timestamp on the edge path fails silently at the event level — no batch monitoring, nothing in the dashboard</li><li>You find it later as null timestamps or missing events in Query Service</li></ul><p>If you’re debugging datetime issues and can’t find them in Monitoring, check whether the data came through edge. That’s a completely separate failure path.</p><h3>Real Payload: Before and After</h3><p><strong>What your source system sends:</strong></p><p>json</p><pre>{<br>  &quot;userId&quot;: &quot;user_12345&quot;,<br>  &quot;eventType&quot;: &quot;purchase&quot;,<br>  &quot;timestamp&quot;: &quot;2026-04-10 14:23:56&quot;,<br>  &quot;orderValue&quot;: 149.99<br>}</pre><p><strong>Data Prep transformation:</strong></p><pre>date(timestamp, &quot;yyyy-MM-dd HH:mm:ss&quot;)</pre><p><strong>What lands in AEP:</strong></p><p>json</p><pre>{<br>  &quot;userId&quot;: &quot;user_12345&quot;,<br>  &quot;eventType&quot;: &quot;purchase&quot;,<br>  &quot;timestamp&quot;: 1744291436000,<br>  &quot;orderValue&quot;: 149.99<br>}</pre><p><strong>What Query Service returns when you ask for MM-DD-YYYY:</strong></p><p>sql</p><pre>SELECT date_format(timestamp, &#39;MM-dd-yyyy HH:mm:ss&#39;) AS formatted_date<br>-- Returns: 04-10-2026 14:23:56</pre><p>1744291436000 is the ground truth. Everything else is a view on top of it.</p><h3>XDM Schema Nuance: timestamp vs Custom DateTime Fields</h3><p>Not all DateTime fields behave the same.</p><p><strong>timestamp (the required XDM ExperienceEvent field):</strong> Must be ISO 8601 with UTC timezone. If this field is malformed, the entire event is rejected — not just the field. Be especially careful here. Validate in preview mode before running anything at scale.</p><p><strong>Custom DateTime fields (your own schema fields):</strong> More forgiving. Data Prep transformations apply. Type mismatches cause field-level failures rather than event-level rejections.</p><p>The practical implication: treat your timestamp field differently. Don&#39;t experiment on it.</p><h3>How to Catch It Before It Breaks Production</h3><p>Don’t wait for a segment to go to zero.</p><p><strong>After every batch, run this in Query Service:</strong></p><p>sql</p><pre>-- Null check<br>SELECT COUNT(*) AS null_timestamps<br>FROM your_dataset<br>WHERE timestamp IS NULL<br><br>-- Sanity check on range<br>SELECT<br>  MIN(timestamp) AS earliest,<br>  MAX(timestamp) AS latest,<br>  COUNT(*)       AS total_records<br>FROM your_dataset</pre><p><strong>In the Monitoring dashboard:</strong> Check failed rows after every batch — not just the success count. Download diagnostic files for any batch with failures. The actual error detail is in those files, not in the UI summary.</p><p><strong>In Data Prep Preview:</strong> Run at least five sample values through your format string before executing the full batch. Include edge cases: records with single-digit months, records near midnight, records with different separators.</p><p>Five minutes in preview catches what two hours of debugging finds after the fact.</p><h3>What Not To Do</h3><p><strong>Don’t try to format the output in Data Prep.</strong> The date() function is a parser. Using it to produce MM-DD-YYYY output doesn&#39;t work the way you&#39;d expect. Format downstream in Query Service or CJA.</p><p><strong>Don’t store datetime as String.</strong> It maps, nothing fails, data lands. But String timestamps break every AEP feature that depends on time — segmentation windows, journey scheduling, CJA date functions. You’ve just moved the problem to someone else’s sprint.</p><p><strong>Don’t ignore timezone.</strong> “We’ll fix it later” is how you end up with six months of events that are 5 hours off with no retroactive fix that doesn’t involve full re-ingestion.</p><p><strong>Don’t skip the preview step.</strong> Every time. Five minutes.</p><p>Store once. Display however you need. Never format in Data Prep.</p><p><em>───────────────────</em></p><p><strong>Adobe Stack Daily — Problem #001 of 40</strong></p><p>I’m solving one real Adobe stack problem every day for 40 days — AEP, AJO, Adobe Target, Data Collection, and CJA. No theory. Problems from real enterprise implementations, written down so you don’t spend 4 hours finding the answer.</p><p>Follow me on Medium to get the next one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=607016cff0ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>