<?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 Alvin Collins on Medium]]></title>
        <description><![CDATA[Stories by Alvin Collins on Medium]]></description>
        <link>https://medium.com/@alvin.collins?source=rss-3c42a89c3960------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*UYF50BbyIA2Tdxo2NNKgeg.jpeg</url>
            <title>Stories by Alvin Collins on Medium</title>
            <link>https://medium.com/@alvin.collins?source=rss-3c42a89c3960------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 07:50:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alvin.collins/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[CDP Implementations — Things to think about]]></title>
            <link>https://medium.com/adobe-experience-platform/cdp-implementations-things-to-think-about-daef25d522f5?source=rss-3c42a89c3960------2</link>
            <guid isPermaLink="false">https://medium.com/p/daef25d522f5</guid>
            <category><![CDATA[implementation]]></category>
            <category><![CDATA[customer-data-platform]]></category>
            <dc:creator><![CDATA[Alvin Collins]]></dc:creator>
            <pubDate>Mon, 01 Apr 2024 20:48:54 GMT</pubDate>
            <atom:updated>2024-04-02T14:10:58.403Z</atom:updated>
            <content:encoded><![CDATA[<h3>CDP Implementations — The Implementation “Gotchas”</h3><p>One of the areas I get questions from prospects looking at implementing a new CDP is “What do I need to think about both in terms of the implementation getting off the ground smoothly, and ensure the project is successful.”</p><p>From the various implementations that I have seen over the years, here are the buckets I would create in response to this question.</p><p>· Access</p><p>· Resource Availability</p><p>· Data Relationships</p><p>· Campaign/ Activation Requirements</p><p>· Integrations</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*46e_eQUFrmNP2fG75dzmQA.png" /></figure><h3>Access</h3><p>How will vendors access your environment?</p><p>Are there any Requirements to go through Citrix or VPN. If so, every attempt should be made to setup these resources in the first few weeks of the project if not before the project kicks off. Another issue with these types of access setups is they can lead to a delay in rolling resources on a project if additional resources are needed. Proper planning is key to minimize the impact of resources leaving unexpectedly and not having a resource onboarded in time. There is nothing worse than having resources available to work on your solution, but not having access to do it.</p><p>Background checks and fingerprinting are another area that needs to be done as soon as possible, as access to the systems is typically dependent on these checks, the sooner a resource can go through the processes the better. I have seen these checks take weeks with all the back and forth as requests for additional information are processed.</p><h3>Resource Availability</h3><p>A vendor only knows as much about your current solutions and future vision as you tell them. The are some things that can be gathered from looking at current setups including campaigns and data sources, but the gaps can only be filled in by someone that understands your business and the technical components. This is where the availability of those resources who hold the knowledge become so critical.</p><p>Resources are busy and we all get that, but a CDP can in some ways make their lives easier and the only way to get there is to assist in knowledge transfer.</p><p>In discovery sessions, the resources need to be available that can speak to areas such as:</p><p>· Data Sources</p><p>· Current Campaigns</p><p>· Current Integrations</p><p>Missing information related to the above topics can cause errors or rework in CDP data model design.</p><p>To get around this, I recommend clearing the calendars of resources that would need to play a role in knowledge transfer. If possible, delay campaigns for those days that discovery is set to take place and or nominate a backup for the resources required in the discovery sessions.</p><h3>Identities/ Data Relationships</h3><p>Identities are at the core of the CDP. It is the identity that brings together different pieces of data to create the complete 360 view of the customer.</p><p>The data model needs to be designed around those attributes or keys that stitch the data together across the various systems as well as those identities that are needed for activation.</p><p>Understanding how data sources relate to one another is imperative before the data gets ingested. A vendor will ask questions such as these to determine how to design your CDP data model:</p><p>· What is the join key?</p><p>· What is the cardinality between different objects?</p><p>· Is it a one-one or a one-to-many or a many-to-many?</p><p>. Real world example that the vendor is trying to uncover are situation such as:</p><p>· A customer having multiple accounts.</p><p>· Two customers using the same email address.</p><p>· A targeted Business having multiple points of contact or a third party acting on behalf of multiple targeted business.</p><p>Relationships like these need to be documented, understood, and verified in the source systems.</p><p>What I have seen is organizations do a great job documenting their core identities and understanding how the data should join, but issue arise when a CDP vendor starts to look at the data.</p><p>Issues upstream in the CRM system, web site code or even human input could introduce relationships that do not match those expected.</p><p>Missing an identity, having an incomplete understanding of how the identities are used, and bad data that does not conform to the expected definitions are cause redesign. It can set your project back weeks if issues in the data are identified only after ingestion into the CDP.</p><p>To minimize this issue the following activities can help:</p><p>· Reviewing an ERD with the current Primary/Foreign Keys</p><p>· Campaign activation requirements help in identifying required keys for activation</p><p>· Perform an analysis on source system data. Does the data match what is expected?</p><h3>Campaign / Activation Requirements</h3><p>Probably the most important thing to think about is <strong>what is needed to successfully execute your marketing initiatives</strong>. Understanding the logic required by campaigns becomes critical in designing a CDP data model as well as flushing out any potential gaps in functionality.</p><p>In situations where the organization is migrating from an older solution to CDP, the older system might have functionality that doesn’t map completely to CDP and thus custom solutions need to be explored. There will always be gaps between two products. Identifying these before the implementation starts will help in tracking those blockers and assigning the correct resources to them before they become blockers.</p><p>Examples of these might be:</p><p>· Aggregates post filtering criteria</p><p>· Ranking or trimming of a list</p><p>· Specific Output formats</p><p>To minimize this issue the following activities can help:</p><p>· Understanding the requirements for the campaigns and activation help to design a solution that can address them sooner. Simply have a third-party vendor come in and assess the current campaigns, the integrations, functionality, and processes be leveraged. Then produce a mapping and gap analysis between the current tool set and the future one.</p><h3>Integrations</h3><p>Integrations are an often-overlooked topic. By integrations, I am referring to the data exchange between two platforms. Maybe a website sending customer behavioral data to a CDP or the forwarding of events from the CDP to a social media platform.</p><p>In most of these situations, there is work to be done setting up and configuring those integrations.</p><p>I have seen organizations wait until the activation stage of a project to talk about how they want to capture events from the website in real-time. These integrations can become major projects of their own with separate discovery, design, implementation phases.</p><p>Although most of this will be uncovered in discovery, the impact can still be huge to the project timeline if these integrations are key to day one activations.</p><p>To help minimize the impacts the following should be considered before implementation.</p><p>· What channels do I want to activate to?</p><p>· What are my short-term and long-term roadmap look for in terms of campaigns and technology?</p><p>· Are the systems I want to integrate with already configured to send or receive data from a new platform?</p><h3><strong>Get Ready</strong></h3><p>There are so many things to thing about before your CDP implementation even starts and we didn’t even talk about the actual requirements around data sources, audiences, file formats. The topics above are some of the more commonly overlooked areas when kicking off a CDP project as well as those that I have seen derail or delay the successful launch.</p><p>Finding a partner that can walk you through these areas before they become issues can really set your project on a good path.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=daef25d522f5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/adobe-experience-platform/cdp-implementations-things-to-think-about-daef25d522f5">CDP Implementations — Things to think about</a> was originally published in <a href="https://medium.com/adobe-experience-platform">Adobe Experience Platform</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Views to Audit in Adobe Experience Platform]]></title>
            <link>https://medium.com/adobe-experience-platform/using-views-to-audit-in-adobe-experience-platform-191cd3471d44?source=rss-3c42a89c3960------2</link>
            <guid isPermaLink="false">https://medium.com/p/191cd3471d44</guid>
            <category><![CDATA[adobe-experience-platform]]></category>
            <category><![CDATA[query-service]]></category>
            <dc:creator><![CDATA[Alvin Collins]]></dc:creator>
            <pubDate>Mon, 01 Apr 2024 20:47:18 GMT</pubDate>
            <atom:updated>2024-04-02T14:10:10.425Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Creating a Better View into Segment Audits</em></p><p>Auditing your segmentation and verifying it is correct is a critical step before going live with any segmentation strategy. This is also true when building segments out in Adobe Experience Platform (AEP) RTCDP. In AEP, one approach to auditing a segment is to use Query Services (QS) to construct a similar select statement having the <em>where</em> clause use the same field names and values as the segment. Organizations can leverage QS to confirm the segment counts or construct SQL to help identify any issues with the segmentation.</p><p>I use this approach almost any time I build a segment that has new logic. <em>New Logic</em> meaning, the segment has not been changed to simply tweak a value, but a new segment is being constructed for a new use case.</p><p>With advanced planning and prep, the counts can match exactly between a query and a segment. There are always caveats such as the segment may need to be refreshed either through the API or during a scheduled batch job at roughly the same time the audit query is being executed. However, in almost every case, the counts of a segment can be verified and matched.</p><p>Replicating the selection logic for a segment is not always the easiest with results being wildly off. A core reason for this is simply the differences between the data source a segment executes off verses that of a query in QS.</p><p>In this article, I want to explain the key differences between the data in a data lake and the data in the profile, explain why counts against those two objects can and should be expected to differ, and how to overcome this situation through both inline SQL and easier to use database objects such as views.</p><p><strong>Profile verses Data Lake</strong></p><p>Profile</p><p>To start, the two objects (Query and segment) run against two totally different data sources. The segment runs against the profile and considers the merge policy rules such as most recent data fragments. The result is the profile will have a single row for each identity with the most recent information for an identity (by default).</p><p>Take the example of a customer Demo123. The customer has an attribute called <em>value</em>. This attribute records the single <em>best product</em>. Additionally, this attribute is contained in an Individual Profile class dataset using the default time-based profile merge rule. At any one time the customer can only have 1 best product. If yesterday, that product was <em>Product1</em>, but today the best product is <em>product2</em>, then today the profile will see the best product as <em>Product2</em></p><p>This single most recent value can be seen in the below screenshot for Value1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/342/1*lzJhCvzGpqMOarkOtcnXuA.png" /></figure><p>Data Lake</p><p>The Query, on the other hand, is executed against the data lake. A dataset can have any number of rows for an identity depending on however many batches have been loaded. Simply executing a similar where clause to the segment will result in counts that are not inline. Even a distinct on the identity could cause counts to be off as there could be any number of rows that satisfy the criteria in the data lake, yet the most recent in the profile may not.</p><p>Using our example above, the data lake has a continual history of all the values the identity has had. Let’s assume the batches are daily. So, for yesterday, a batch would have been loaded into the data lake with a value of Product 1 and today a different batch would have been loaded with a value of Product 2. In the Data Lake, a user can see both values for the customer. In this case, the identity has two records verses the one in the profile.</p><p>These two records can be seen in the screenshot below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/372/1*fx6o6j_lEh-oXwva3yxVIg.png" /></figure><p><strong>Segment verses Query Service</strong></p><p>The result of these two different data sources manifests when an end user creates a segment (off of the profile) and tries mirror the logic in a SQL query in QS (off of the data lake)</p><p>Let’s add a few more records to our example but use similar logic. Below is a screenshot of all the records in the dataset. The blue box represents the identity that has a most recent value of Product 1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*vwjseGljAkOrNkleaR6UCA.png" /></figure><p>The following are the results off this dataset, both from a segment and a query</p><p>Segment</p><p>Example of segmentation where the Value = Product 1. Results in 1 record</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*tfNCehRcLgcwEzqrtmU0lA.png" /></figure><p>Profile</p><p>Example of query executes against the data lake Data Lake where the Value = Product 1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/1*RSaxHyMHPUjZe_AdxqxyOw.png" /></figure><blockquote><em>select count(*) from abc_demo a</em></blockquote><blockquote><em>where a._dentsuglobalpartnersbx.abcDemo.value1 = ‘Product1’</em></blockquote><p>The result is very different. This is off a dataset with 6 records as we start to build up volume the variance in counts can increase as well.</p><p><strong>Mirror the Merge Policy</strong></p><p>Let’s look at the data and why this would be. Again, remember the profile is taking the most recent value but the data lake is selecting any row where there is a value = product1.</p><p>If we were to take all the customers and, for each, rank their rows by timestamp descending, we would see that only 1 record matches the segment criteria of having the most recent value of product 1. This is what the blue box was representing and is essentially what the combination of merge policy and segmentation is doing.</p><p>To mirror the logic being applied by the profile, the query can be altered to always take the most recent row from the data lake’s dataset. This can be done by leveraging an inline view and creating a row number for each row of an identity based on an insert timestamp or some other data creation time in a descending fashion. This will allow an organization to identity the most recent row in a dataset.</p><p>Adobe documentation discusses this functionality in the windowing functions section of the <a href="https://experienceleague.adobe.com/docs/experience-platform/query/sql/adobe-defined-functions.html?lang=en#window-functions">Query Service documentation</a></p><p>Altering the <em>where</em> clause to select from the newly created inline view <em>where</em> <em>row number = 1 </em>will tell the query to only consider the most recent row in the dataset for an identity when applying the criteria.</p><p>As a side note, the same logic can be applied to experience event datasets. If a segment is looking for the most recent event for an identity, the same logic can be applied to take where the row number = 1 for the identity in the datasets</p><p>An example of this code is</p><blockquote><em>select</em></blockquote><blockquote><em>*</em></blockquote><blockquote><em>from</em></blockquote><blockquote><em>(</em></blockquote><blockquote><em>select</em></blockquote><blockquote><em>a.*,</em></blockquote><blockquote><em>ROW_NUMBER() over (</em></blockquote><blockquote><em>partition by a._dentsuglobalpartnersbx.abcdemo.custid</em></blockquote><blockquote><em>order by</em></blockquote><blockquote><em>a._dentsuglobalpartnersbx.abcdemo.createtime desc nulls last</em></blockquote><blockquote><em>) as rownum</em></blockquote><blockquote><em>from</em></blockquote><blockquote><em>abc_demo a</em></blockquote><blockquote><em>)</em></blockquote><blockquote><em>where</em></blockquote><blockquote><em>rownum = 1</em></blockquote><p>Although the code solves the issue of taking the most recent record in the data lake for an identity. The code can be very complex and if you need to join multiple datasets together each having to take the most recent record for an identity, it can become difficult to manage.</p><p><strong>Simplify with a View</strong></p><p>This is where a view can be help. Query Service allows for the creation of data views.</p><p>Documentation can be found <a href="https://experienceleague.adobe.com/docs/experience-platform/query/sql/syntax.html?lang=en#create-view">here</a>.</p><p>The view is essentially nothing more than a database object similar to a table/dataset but helps to hide the complexity of the where clause.</p><p>The logic looks like the below:</p><p><em>create view abc_demo_view as</em></p><blockquote><em>select</em></blockquote><blockquote><em>*</em></blockquote><blockquote><em>from</em></blockquote><blockquote><em>(</em></blockquote><blockquote><em>select</em></blockquote><blockquote><em>a.*,</em></blockquote><blockquote><em>ROW_NUMBER() over (</em></blockquote><blockquote><em>partition by a._dentsuglobalpartnersbx.abcdemo.custid</em></blockquote><blockquote><em>order by</em></blockquote><blockquote><em>a._dentsuglobalpartnersbx.abcdemo.createtime desc nulls last</em></blockquote><blockquote><em>) as rownum</em></blockquote><blockquote><em>from</em></blockquote><blockquote><em>abc_demo a</em></blockquote><blockquote><em>)</em></blockquote><blockquote><em>where</em></blockquote><blockquote><em>rownum = 1</em></blockquote><p>The result is a view that already has the complex logic to pick the most recent record.</p><p>Executing the SQL Audit logic against this view now results in similar counts to the segmentation. The reasoning is we have replicated the logic being applied by the profile to select the most recent record for a customer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/431/1*brTYlHnbwG2_fP2JfbTNig.png" /></figure><p>This allows an end user to worry about authoring the SQL code that will validate the segment logic and not worry about how to deal with the differences between data lake and profile represent data.</p><p>The same concepts can be applied to datasets where upsert is enabled. Various inline queries maybe needed for the individual attributes that are updated and then brought together in a series of left outer joins, hidden behind a view, the end user doesn’t need to worry about the code.</p><p>In the end, auditing a segment is critical before publishing that segment to downstream systems.</p><p>Understanding the differences between the profile and data lake will allow you to harness the power of Query Service to server as that audit checkpoint. Further leveraging the database objects and functionality available in AEP will allow the code to be standardized and the complexity hidden from end users.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=191cd3471d44" width="1" height="1" alt=""><hr><p><a href="https://medium.com/adobe-experience-platform/using-views-to-audit-in-adobe-experience-platform-191cd3471d44">Using Views to Audit in Adobe Experience Platform</a> was originally published in <a href="https://medium.com/adobe-experience-platform">Adobe Experience Platform</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>