<?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[Station10 - Medium]]></title>
        <description><![CDATA[www.station10.co.uk - Medium]]></description>
        <link>https://medium.com/station10?source=rss----55b3457a2d36---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Station10 - Medium</title>
            <link>https://medium.com/station10?source=rss----55b3457a2d36---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 05:38:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/station10" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Two Years Into GA4 - Do You Trust Your Data?]]></title>
            <link>https://medium.com/station10/two-years-into-ga4-do-you-trust-your-data-05064d9bc077?source=rss----55b3457a2d36---4</link>
            <guid isPermaLink="false">https://medium.com/p/05064d9bc077</guid>
            <category><![CDATA[google-analytics]]></category>
            <category><![CDATA[web-analytics]]></category>
            <category><![CDATA[digital-marketing]]></category>
            <category><![CDATA[digital-analytics]]></category>
            <dc:creator><![CDATA[Michael Down]]></dc:creator>
            <pubDate>Fri, 16 Jan 2026 15:13:18 GMT</pubDate>
            <atom:updated>2026-01-16T15:15:15.269Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*27KrhysjyXA_JcSlTUAFmg.png" /></figure><p>GA4 has now been the default analytics platform for over two years. And yet, one question that is still asked by clients:</p><p><strong>“Can we trust this data?”</strong></p><p>In many cases, the honest answer is not entirely.</p><p>We regularly see GA4 properties that technically work, events are firing and reports are populated but underneath there can be implementation issues that undermine confidence in the data. These issues make analysis harder, marketing decisions riskier, and reporting slower than it needs to be.</p><p>That’s exactly why we developed a structured GA4 audit process. It’s not a surface-level checklist, and it’s not just about spotting obvious bugs. It’s a technical, end‑to‑end review designed to answer one core question:</p><p><strong>Is your GA4 implementation fit for making decisions?</strong></p><p>Below is a walkthrough of how we approach a GA4 audit, what we look for, and why each stage matters.</p><h3>Why Do You Need a GA4 Audit?</h3><p>Most GA4 properties we see aren’t completely broken but they are quietly undermining confidence.</p><p>Teams tell us things like:</p><ul><li>“The numbers don’t quite match what we expect.”</li><li>“We’re not sure which events we can rely on.”</li><li>“We’re spending too much time checking the numbers.”</li></ul><p>This isn’t always because GA4 is wrong. It can be because the implementation has grown organically, added to by multiple teams or quick fixes over time. A GA4 audit creates a reset point.</p><p>It answers questions such as:</p><ul><li>Can we trust this data enough to make decisions?</li><li>Do our events and conversions map to real user behaviour and business KPIs?</li><li>Does our current setup support the analysis and reporting we need to do?</li></ul><p>Without an audit, inconsistencies compound. But with an audit, you will get clarity, confidence, and a measurement foundation that actually supports your reporting needs.</p><h3>Our GA4 Audit Process</h3><p>Our audit is broken into clearly defined stages. Each one builds on the previous, moving from the basics through to the more complex implementation and architecture.</p><h4><strong>1. Property &amp; Account Configuration</strong></h4><p>We start with the basics - if these are wrong, it can have a knock on affect to everything else.</p><p>We review:</p><ul><li>Property configuration (reporting identity, attribution settings, data retention)</li><li>Stream setup (web vs app, enhanced measurement usage, cross-domain)</li><li>Linked account integrations (Google Ads, BigQuery, Search Console)</li></ul><p>This stage often surfaces legacy decisions made during rushed GA4 migrations that no longer make sense today.</p><h4>2. Event, Parameter &amp; Conversion Architecture</h4><p>This stage is key and where GA4 implementations most commonly break down.</p><p>We analyse:</p><ul><li>Event naming conventions and consistency</li><li>Use of recommended vs custom events</li><li>Parameter design, reuse, and registration</li><li>Alignment between events, conversions, and business KPIs</li></ul><p>We’re looking for architectural clarity:</p><ul><li>Consistency of tracked behaviour across events and conversions</li><li>An event schema that allows analysts to understand it without extra explanation</li></ul><p>Poor event and conversion design doesn’t just affect reporting, it limits what can be analysed and trusted over time.</p><h4>3. Reporting &amp; Data Integrity</h4><p>This stage focuses on the parts of the implementation that most directly impact reporting trust.</p><p>We will look for common issues and asses their causes:</p><ul><li>Traffic source inconsistency which can include high volumes of Unassigned or (not set) traffic</li><li>Unusual traffic patterns, common with spikes in Direct traffic</li><li>Assess session accuracy, could see fragmentation due to redirects, consent or tag configuration</li><li>Dimension completeness issues such as key dimensions frequently returning (not set)</li></ul><p>Issues here don’t always look dramatic in the interface, but they quietly undermine analysis. When acquisition, page context, or session data is unreliable, even well-designed events and conversions become harder to interpret with confidence.</p><h4>4. Ecommerce &amp; Revenue Validation</h4><p>For ecommerce clients, this stage is critical.</p><p>We validate:</p><ul><li>Event collection for the full ecommerce funnel</li><li>Item‑scoped parameter consistency across events (name, id, category)</li><li>Revenue reconciliation against backend systems</li><li>Validation of custom ecommerce parameters</li></ul><p>Many GA4 ecommerce implementations collect data but fail basic validation checks, which can lead to inaccurate revenue reporting and flawed item tracking.</p><h3>What Comes Next</h3><p>A GA4 audit is just the beginning.</p><p>Once issues have been identified and understood, the focus shifts from diagnosis to addressing the underlying causes of data quality problems. Common next steps often include:</p><ul><li>A deeper <strong>GTM implementation review</strong> to resolve event sequencing issues, trigger logic problems and data layer inconsistencies identified during the audit.</li><li><strong>Consent mode and privacy alignment</strong>, ensuring data collection is compliant without compromising data quality.</li><li>Introducing <strong>measurement governance </strong>so that tracking standards, naming conventions and documentation are maintained going forward.</li></ul><p>The goal isn’t to fix everything at once, but to move from reactive troubleshooting to a stable, well-governed measurement setup.</p><h3>What Clients Get at the End</h3><p>A GA4 audit shouldn’t just identify problems. It should provide a clear path forward.</p><p>Our audits deliver:</p><ul><li>A prioritised list of issues (impact vs effort)</li><li>Clear explanations of why each issue matters</li><li>Technical recommendations for GA4 and GTM</li><li>Strategic guidance on measurement design</li></ul><p>The outcome is giving you confidence in your data so that it can be trusted and used.</p><p><em>If you’d like to discuss how a GA4 audit could work for your organisation, feel free to reach out or connect with us on LinkedIn.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=05064d9bc077" width="1" height="1" alt=""><hr><p><a href="https://medium.com/station10/two-years-into-ga4-do-you-trust-your-data-05064d9bc077">Two Years Into GA4 - Do You Trust Your Data?</a> was originally published in <a href="https://medium.com/station10">Station10</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Everything I know about Schema Design in Adobe Experience Platform]]></title>
            <link>https://medium.com/station10/everything-i-know-about-schema-design-in-adobe-experience-platform-d5c5bc638b53?source=rss----55b3457a2d36---4</link>
            <guid isPermaLink="false">https://medium.com/p/d5c5bc638b53</guid>
            <category><![CDATA[adobe-cja]]></category>
            <category><![CDATA[digital-analytics]]></category>
            <category><![CDATA[adobe-experience-platform]]></category>
            <dc:creator><![CDATA[Steve Webb]]></dc:creator>
            <pubDate>Thu, 04 Sep 2025 15:48:36 GMT</pubDate>
            <atom:updated>2025-09-06T18:02:27.155Z</atom:updated>
            <content:encoded><![CDATA[<h3>Best practises for Schema design in Adobe Experience Platform</h3><p>Schemas are a key component of Adobe Experience Platform (AEP), and it’s very important to get them right early on in the process. Making changes to Schema designs after you’ve started collecting data in a live environment can be quite tricky, if not impossible.</p><p>Adobe offers <a href="https://experienceleague.adobe.com/en/docs/experience-platform/xdm/schema/composition">a lot of information</a> and resources on schema design, but I found a many things a bit unintuitive during my first go at it on a complex project. So here’s everything I’ve learned so far 🙂</p><h3>Before you get started</h3><p>You should not embark on Schema design without first having a really detailed and clear understanding of:</p><ul><li>Your use cases for the AEP tools downstream of the Schemas (i.e. CJA, CDP, AJO)</li><li>What your data sources are</li><li>What is in your data sources</li></ul><p>If you try to jump into Schema design without these things, you’ll likely end up in a mess!</p><h3>Key concepts</h3><h4>Types of data</h4><p>AEP broadly supports two types of data:</p><p><strong>Record data.</strong> This is data about a subject, where each row contains data about one subject.</p><ul><li>Most commonly this is a <strong>customer</strong> record, so each row would contain information about an individual customer.</li><li>But it could also be something else, like a product SKU or a marketing campaign ID. Like a lookup table or a classification set, if you’re familiar with Adobe Analytics.</li></ul><p><strong>Timeseries data</strong>. This is data about actions performed over time by a record subject, usually a customer. Examples would be your website events from Web SDK, call centre events, etc.</p><p><strong>Note: AEP is not a relational database.</strong> The ‘lookup’ behaviour of record datasets does not work with multiple levels. You should avoid defining multiple level relationships, instead ‘lookups’ should only be used in relation to a customer record or timeseries data.</p><h3>Schema paths</h3><p>This might seem obvious, but it’s not really called out explicitly in Adobe’s documentation: <strong>One of the main objectives when designing Schemas is to ensure that the same ‘thing’ always appears in the same Schema path no matter what data source it’s in.</strong></p><p>You’ve likely got ‘customer first name’ in various data sources; e.g. your CRM data, call centre data, website data, etc. These probably live in different Datasets with different Schemas. You want to ensure that wherever this is, it’s <em>always</em>located in the same path: e.g. person.name.firstName, to use an example from Adobe’s standard Field Groups (more on <a href="https://station10.atlassian.net/wiki/spaces/AE/blog/edit-v2/1777598486#Field-Groups">Field Groups</a> later).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2SYJ2LK2xxIdR4rN-OZC5w.png" /><figcaption>Person name field group</figcaption></figure><p>Why is this necessary? AEP performs unions between datasets in various places in the platform. For example;</p><ul><li>In Customer Journey Analytics (CJA), events from different timeseries Datasets are unioned together. So, if your ‘customer first name’ is always in the same Schema path, the customer names in different datasets will appear as a single Dimension in CJA. If they’re in different paths, you’ll get multiple dimensions for the same thing.</li><li>In Customer Data Platform, record Datasets about profiles (usually customers) are unioned together. So again, you want to ensure that ‘customer first name’ is always in the same Schema path across different profile datasets so there there is only one ‘customer first name’ field in the <a href="https://experienceleague.adobe.com/en/docs/platform-learn/tutorials/profiles/union-schemas-overview">unioned schema</a>.</li></ul><p>To illustrate this we can steal a couple of diagrams from <a href="https://experienceleague.adobe.com/en/docs/experience-platform/xdm/schema/composition#union">Adobe’s documentation</a>.</p><p>Say we’ve got two Profile-class Schemas, one from our Customer database and one from our Loyalty Members database. They both contain First Name and Last Name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I4PPGJ44voq3Us0lk_eizQ.png" /><figcaption>Individual Profile Schemas</figcaption></figure><p>Assuming you’ve done your Schema design correctly and these fields share the same paths, if these two Schemas are enabled for Profile, then Union Schema in Profile will look like this, with First Name and Last Name merged into a single Schema:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mXBY7n0s3ZDd9X-uW18C2A.png" /><figcaption>The Union Schema merges the underlying Schemas</figcaption></figure><p>This doesn’t just apply to Profile, it applies to any Schemas that share the same Class and are enabled for Profile (more on Classes below).</p><h3>Schema changes</h3><p>One last thing to explain before going further: You want to get the Schema design correct up front before you start doing anything serious in production, because:</p><ul><li>Once a Schema has data in it, you cannot remove fields from it, you can only add new fields. (Technically you can <a href="https://experienceleague.adobe.com/en/docs/experience-platform/xdm/tutorials/field-deprecation-ui">deprecate a field</a>, but at the time of writing this isn’t well supported in the UI in all scenarios)</li><li>You can delete the Dataset(s) associated with a Schema and then make edits to it, but that’s only helpful if you can easily reload the data again once you’re done. This is feasible if you’re loading data from another system where it’ll still exist, but for something like a web dataset where events are being collected via AEP Web SDK, this isn’t really possible.</li><li>Once a Schema/Dataset is enabled for Profile, the fields in that can’t be edited, because they form part of the <a href="https://experienceleague.adobe.com/en/docs/experience-platform/profile/union-schemas/union-schema">Union Schema</a> that represents all your Profile information.</li></ul><p>For all these reasons and more, it’s crucial you really nail down your use cases before you embark on an AEP implementation. Or you might find yourself stuck with a sub-optimal data structure that you can’t do anything about.</p><p>With that all out of the way, let’s dive into the details!</p><h3>Schema Building Blocks</h3><h3>Classes</h3><p>Earlier I mentioned that AEP supports two types of data, records and timeseries. The next level below this is a Class.</p><p>A Schema is always assigned a single Class.</p><p>The two most common Classes you’ll use are:</p><p><strong>Experience Event</strong>. This is timeseries data, where a <em>customer</em> is doing something. So your website events data will be Experience Event data, as that data is about customers doing things on your website. This data will need to have two things in it, at minimum:</p><ul><li>Some sort of customer ID or IDs. In the web data example, probably ECID for unauthenticated users and a first-party ID for logged in users</li><li>A timestamp.</li></ul><p><strong>Individual Profile</strong>. This is record data about your customers. So each row will be a customer and at minimum they’ll each have a unique ID.</p><p>But there are plenty of <strong>other Classes</strong>, and you can create your own. Some examples of things you might use a different Class for would be the ‘lookup’ type datasets that we mentioned earlier, like a ‘Product Class’ for info about products your company sells, an ‘Insurance Plan Class’, etc. Or some function-specific classes like the Summary Metrics Class if you want to import <a href="https://experienceleague.adobe.com/en/docs/analytics-platform/using/cja-dataviews/summary-data">Summary data</a> into CJA (i.e. timeseries data that <em>isn’t </em>linked to a customer, like advertising campaigns clicks or performance targets).</p><h3>Field Groups</h3><p>The next Schema component is the Field Group. This is the main component that’s going to help us ensure path consistency across different Schemas. It’s a reusable component that contains some fields and can be used across multiple Schemas of the same Class.</p><p>For example, we might have some customer information in multiple data sources and, like we said before, we want to ensure that the same info is in the same Schema paths every time. So we could create a Field Group for that customer info, which we then use across multiple Schemas.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zfjzzz8St9qbobCpB3fLQw.png" /><figcaption>Demgraphic Details field group</figcaption></figure><p>You can create your own Field Groups from within the Schema UI, but first you should check to see if there are any default Adobe ones that fit your use case. Adobe have a huge number of pre-configured ones, and it’s beneficial to use them where possible for a few reasons:</p><ul><li>It’ll save you time not having to create them from scratch.</li><li>Some AEP functionality assumes you’ve used the default ones, for example the ‘Profiles &gt; Browse’ page assumes you’ve used the default <a href="https://experienceleague.adobe.com/en/docs/experience-platform/xdm/field-groups/profile/demographic-details">Demographic Details</a> Field Group. You also must use the <a href="https://experienceleague.adobe.com/en/docs/experience-platform/xdm/field-groups/profile/consents">Consents and Preferences</a> Field Group to use the consent features of CDP.</li><li>Adobe have indicated it’s likely they’ll be building more functionality on top of the default Field Groups in the future. I’d assume particularly AI stuff where consistency across their clients would be useful.</li></ul><p>One thing you might be thinking is that the Adobe-provided Field Groups are <em>massive </em>and full of junk you don’t need (who needs <a href="https://experienceleague.adobe.com/en/docs/experience-platform/xdm/field-groups/profile/personal-contact-details">fax phone numbers</a> in 2025?).</p><p>Well, you can choose which of a Field Group’s fields you use in a particular Schema, using these two options in the Schema UI:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tD1vu00u5CtsEPDwrTg0ig.png" /><figcaption>Add/remove fields from a Field Group</figcaption></figure><p>This means you can pick only the fields that are relevant to your Dataset, while being sure that whatever fields you do pick, they’ll align with other Schemas that are using the same Field Group. (And you definitely do want to remove any unused fields, so that your Schema and downstream tools aren’t cluttered with empty fields)</p><h3>Data Types</h3><p>There is a level below Field Groups and these are called Data Types.</p><p>This was a source of some confusion to me, because Data Types sort of cover two sorts of functionality. You select the Data Type from a dropdown in the Schema UI that’s located at the level of a particular field.</p><p>In here you see ‘basic’ Data Types, which are things you might expect to describe what sort of data goes into a field (strings, dates, integers, booleans, etc):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B_oNWCXNNBt8jiFYGHeiQw.png" /><figcaption>Basic Data Types</figcaption></figure><p>But Data Types can <em>also </em>be groups of fields (and those fields themselves will have Data Types…)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EaTLF3GYckbhCOAvAN1otA.png" /><figcaption>Data Types as groups of other fields</figcaption></figure><p>This is pretty confusing, why not just use a Field Group for this? Well there are some important differences in how Field Groups and Data Types function:</p><h3>Field Groups vs Data Types</h3><p>When should you use Field Groups and when should you use Data Types?</p><h4>Position</h4><ul><li><strong>Field Groups</strong> always go at the root of the Schema.</li><li><strong>Data Types</strong> can be used in any position in the Schema.</li></ul><h4>Repeatability</h4><ul><li><strong>Field Groups </strong>can only be used once in each Schema</li><li><strong>Data Types </strong>can be used multiple times in the same Schema</li></ul><h4>What they can contain</h4><ul><li><strong>Field Groups</strong> can contain Data Types, but not other Field Groups</li><li><strong>Data Types</strong> can contain other Data Types</li></ul><h4>Class Compatibility</h4><ul><li><strong>Field Groups</strong> are not necessarily compatible with all Classes</li><li><strong>Data Types</strong> can be used in any Class</li></ul><p>Ok, that makes some sense, but let’s illustrate this with the example of Adobe’s Demographic Details Field Group:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/882/1*pF74tGUWuXAGgYjrnuhHHg.png" /><figcaption>Adobe’s ‘Demographic Details’ Field Group includes the ‘Person name’ Data Type</figcaption></figure><ul><li>It’s highly likely that your Schema only ever has one ‘customer’ per row at a time, so you don’t need to have these ‘person’ demographic details more than once in the same Schema. So a <strong>Field Group</strong> works for this.</li><li>However it’s possible that a ‘person name’ could be used more than once in the same Schema. Maybe your customer has an assigned support person, and you want to record their name too. Here’s where using a <strong>Data Type</strong> (as Adobe have done) makes sense because you might want to use ‘person name’ elsewhere in the same Schema.</li></ul><h3>Fields</h3><p>Lastly, below Data Types we have Fields. These are basic things that define a single field, like a string or an integer, and will represent the actual columns in your datasets.</p><p>There’s a bunch of configuration available on these such as defining string length, regex matches, enforced enums, etc. I won’t go into these in detail as the <a href="https://experienceleague.adobe.com/en/docs/experience-platform/xdm/ui/fields/overview#type-specific-properties">Adobe documentation</a> has that covered.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/1*O9ESiYyldXUcByAh6MgqOg.png" /><figcaption>Field validation options</figcaption></figure><p><strong>Note that you should be careful with these validation fields</strong>: They’re useful for ensuring incorrect data doesn’t get into your datasets, but be aware that any field that fails data validation will cause the <em>entire row</em> to be dropped. This may or may not be what you want to happen.</p><p>Say, you accidentally publish a change to your web tracking that causes a string to be an integer in a single dimension? Every event that affects will be lost 😬</p><h3>Nested vs Flat Schema Structures</h3><p>Another decision to make is how to structure your Schemas in terms of how nested or not they are. This is a somewhat aesthetic choice, but there are some pros and cons to be aware of:</p><h4>Benefits of nested fields (objects)</h4><ul><li>Lets you organise your data into logical groups, rather than just a giant list in alphabetical order.</li><li>Makes your Schemas more readable and easier to navigate.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wCBins4DKwlrgpqz0r5wmA.png" /><figcaption>Some nested fields to keep all your URL query strings neatly organised</figcaption></figure><h4>Benefits of non-nested fields (free-form)</h4><ul><li>Results in shorter Schema paths, which can make working with Query Service and some parts of the UI easier.</li><li>Has benefits to performance, specifically for IDs where Adobe recommend that <a href="https://experienceleague.adobe.com/en/docs/experience-platform/profile/guardrails#:~:text=The%20recommended%20maximum%20JSON%20depth%20for%20an%20ID%20field%20used%20in%20multi%2Dentity%20relationships%20is%204.%20This%20means%20that%20in%20a%20highly%20nested%20schema%2C%20fields%20that%20are%20nested%20more%20than%204%20levels%20deep%20should%20not%20be%20used%20as%20an%20ID%20field%20in%20a%20relationship.">IDs used in relationships are no more than 4 levels deep</a> as a performance guardrail.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AVp8cr8r5cK2PNbOgHWOLA.png" /><figcaption>Long Schema path names can be annoying in Query Service</figcaption></figure><h3>Identities</h3><p>Identities are a core part of AEP; they are the things you’ll be using to stitch your data together. Most often these are customer identifiers, things like a cookie ID, an email address, or a phone number.</p><p>But confusingly, ‘Identities’ also include the keys that are used to join non-customer data together: So, in the example where we have a Product SKU in an events dataset and then a lookup dataset of Product info, the Product SKU in this scenario would also be an Identity (just a ‘non-person identity’).</p><p>Identities are a whole blog-post in themselves, but in terms of Schema design there are a few key things to remember:</p><ul><li>Field in your Schemas marked as ‘person identities’ are inserted into the Identity Graph, and that is used to provide a single stitched together view of an individual customer.</li><li>Identities can be set in either normal Schema fields or the identityMap</li><li>For Schemas where you have a consistent identity on all rows (e.g. a Customer ID in your CRM Dataset) you can just use a specific field in the Schema.</li><li>Identities used in <a href="https://experienceleague.adobe.com/en/docs/experience-platform/xdm/tutorials/relationship-ui">relationships</a> need to be Schema fields and <em>not</em> in the identityMap.</li><li>The identityMap is primarily used in scenarios where you have a shifting ‘primary identity’. A common example is a website dataset, where you want to use the ECID as the Primary Identity on rows where the user <em>is not</em> logged in, but you have a first-party ID that you want to use as the Primary Identity on rows where the user <em>is</em>logged in. <strong>The </strong><strong>identityMap lets you define which ID is the primary Identity on a row-by-row basis, rather than at the level of the Schema.</strong></li><li>As mentioned above, avoid heavily nesting your identity fields for performance reasons.</li></ul><p>Identity fields are super important to the functionality of the rest of AEP, so a good idea is to have a specific Field Group which contains all your companies’ identities. This will make them easier to manage, rather than having them spread all over your Schemas in different places.</p><h3>Style guide</h3><p>This is basically what Adobe use in their default Field Groups, but I thought it useful to articulate the principles here:</p><ul><li><strong>Field Names should be camel-case</strong>, e.g. dateOfBirth. (Note that ID fields or similar should be userID and not userId)</li><li><strong>Display Name should be human readable (title-case)</strong>, e.g. Date Of Birth.</li><li><strong>Dimensions should be singular</strong>, e.g. formFieldName, videoName, pageName, applicationID, etc.</li><li><strong>Metrics should be plural</strong>, e.g. formFieldCompletes, videoStarts, pageViews, etc.</li></ul><p>Though it’s bit verbose, we should follow Adobe’s lead when creating fields in our Schemas that are to be used as metrics:</p><ul><li>Metric fields are Objects</li><li>Inside the Object is an int field called value. Usually this value will be populated with a 1, to count that this thing happened. This also supports the equivalent of Adobe Analytics ‘numeric’ events, where you might want to track a number other than 1. For example, you might have a coreWebVitals.lcpScore.value of 2000.</li><li>Optionally, you can include a field called id. This is to support easy <a href="https://experienceleague.adobe.com/en/docs/analytics-platform/using/cja-dataviews/component-settings/metric-deduplication">metric deduplication</a>, where you might want to track an event only once per a unique ID. For example, only tracking a ‘purchase’ metric once per unique ‘purchase id’.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8SFIWHb7acTCqknN_1RnLQ.png" /><figcaption>Metrics in a Schema</figcaption></figure><h3>Wrapping up</h3><p>And there we go! Hopefully that was useful to someone, would love to hear other people’s thoughts or opinions.</p><p>And as always, if you’re looking for a partner to support you anything AEP-related, do reach out to us on <a href="/service/mailto:hello@station10.co.uk">hello@station10.co.uk</a> 🙂</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5c5bc638b53" width="1" height="1" alt=""><hr><p><a href="https://medium.com/station10/everything-i-know-about-schema-design-in-adobe-experience-platform-d5c5bc638b53">Everything I know about Schema Design in Adobe Experience Platform</a> was originally published in <a href="https://medium.com/station10">Station10</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Anatomy of an Election, The 2024 Labour landslide Part 1:   Digital Marketing Strategy]]></title>
            <link>https://medium.com/station10/anatomy-of-an-election-the-2024-labour-landslide-part-1-digital-marketing-strategy-f53c79dd6e3d?source=rss----55b3457a2d36---4</link>
            <guid isPermaLink="false">https://medium.com/p/f53c79dd6e3d</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[digital-marketing]]></category>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[elections]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Tom Ewing]]></dc:creator>
            <pubDate>Mon, 08 Jul 2024 12:25:34 GMT</pubDate>
            <atom:updated>2024-07-08T12:25:34.760Z</atom:updated>
            <content:encoded><![CDATA[<h3>Anatomy of an Election, The 2024 Labour landslide Part 1: Digital Marketing Strategy</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A7TbsbPcPWo3M3WcdUl1Sw.png" /><figcaption>UK General Election Results 2024</figcaption></figure><h4>Analysing the story of the 2024 General Election through data.</h4><p>As expected, The Labour Party won the 2024 UK General Election by a landslide and opinions on why and how this has happened are flying around social media without much in the way of data to back them up.</p><p>This is the first in a series of posts that aim to bridge that gap and start to tell the story of <strong>how</strong> and <strong>why</strong> Labour won the 2024 Election through data and analysis.</p><h4>Overall Digital Marketing Strategy</h4><p>Meta introduced <a href="https://www.facebook.com/ads/library/">Ad Library</a> in 2019 as a direct result of the <a href="https://www.bbc.co.uk/news/topics/c81zyn0888lt">Cambridge Analytica scandal</a> in a bid to make digital advertising more transparent. Covering both Facebook and Instagram ads it gives us a great insight into the digital marketing strategies of the various parties.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b65fe8f1f0a8ad4c5a33e9f110c61882/href">https://medium.com/media/b65fe8f1f0a8ad4c5a33e9f110c61882/href</a></iframe><p>As expected, both Labour and the Conservatives spent more than their rivals, however they adopted very different strategies in doing so.</p><h4>Labour’s Digital Marketing Strategy</h4><p>Labour used Meta’s inbuilt targeting tools to target their ads most notably through <strong>Age</strong> and <strong>Location</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yBWQmRw8evbUtPqvCamfoQ.png" /><figcaption>Labour’s Age-based targeting in Meta Ads: 4th June 2024–3 July 2024</figcaption></figure><ul><li>Labour spent less on the <strong>18–29 demographic</strong>. This demographic is traditionally 50–55% Labour voters anyway so has less yield than other demographics.</li><li>The bulk of their spend was on the <strong>30–64 demographic</strong>. The demographic is more contested and offers the most ‘bang for their buck’</li><li>They spent much less on the <strong>65+ demographic</strong>. These people traditionally skew 60–70% Conservative, are entrenched in their views and unlikely to defect to Labour.</li></ul><h4>Labour’s Digital Marketing Strategy: Geotargeting</h4><p>Labour also heavily geotargeted their Ads, targeting individual Postcode sectors and towns. The detail of this will be analysed in <strong>Part Two </strong>of this series, however there are still some interesting high level trends:</p><ul><li>The biggest targets for spend were key ‘battleground’ constituencies which had a history of voting Tory, rather than recently lost constituencies such as the “Red Wall”.</li><li>London and other traditional Labour strongholds were either not targeted or not prioritised.</li><li>Labour aimed to “fight battles they can win”. Constituencies that ended up voting Liberal Democrat or Reform UK weren’t high on their agenda.</li></ul><p>Labour clearly prioritised constituencies they felt they could win including Aldershot, Kettering, Southend East and Rochford alongside ‘blue wall’ constituencies such as Rochester and Strood and Canterbury.</p><h4><strong>The Conservatives Digital Marketing Strategy: Audiences</strong></h4><p>The Convervatives opted for a different strategy using Audiences and Lookalikes. Geotargeting through Meta Ads only accounted for a small fraction of their spend.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ERC8vlnlS14EAl-81Jn4iw.png" /><figcaption>Conservative Party Custom Audience and Lookalike Audiences Spend</figcaption></figure><p>Through using a Customer List (details of those who have previously shared their data) they created lookalikes; people who aren’t necessarily on the customer list but share characteristics with those who are.</p><p>Evidence from the Financial Times indicates that in the final days of the campaign the Conservatives <a href="https://archive.is/HvHXa#selection-3603.0-3603.170"><em>“appear to target prospective Lib Dem and Reform voters in an attempt to minimise the party bleeding votes to smaller rivals”</em></a><em> </em>and the content of their ads backs this up:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/454/1*46lu1eYRCTjLatz6nZkfTQ.png" /><figcaption>Conservative Ad for the 2024 UK General Election</figcaption></figure><p>Similar to how Labour focused on key demographics, the Conservatives did so too, albeit through a Custom Audience:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JyNil1uCHYNwIQZ8Rl2RfA.png" /><figcaption>Age and Gender breakdown for the “Make a Plan to Stop the Supermajority” Convervative Ad.</figcaption></figure><p>Lastly, throughout the Campaign they also used Meta Ads detailed targeting feature to target people with interests including:</p><ul><li>Monarchy</li><li>Vehicles and Vehicle communities (e.g. Top Gear)</li><li>The Armed Forces</li><li>Football Fans</li></ul><p>Whilst the amount of money spent on this form of targeting was relatively small, it still provides some insight into the people the Conservatives were trying to appeal to and why.</p><p>Overall, we can surmise the following from their strategy:</p><ul><li>The Conservatives place most emphasis in England, likely because they were unlikely to win seats in Scotland, Wales or Northern Ireland.</li><li>The <strong>55–64</strong> and <strong>65+</strong> demographics were key. In line with their literature, they were likely trying to limit their losses to the Liberal Democrats and Reform.</li><li>They didn’t appear to Geo-target their approach in the latter stages of the campaign, opting instead to appeal to key demographics in a bid to limit their losses to the Lib Dems and Reform.</li></ul><h4>Conclusions</h4><p>There has been a lot of focus on Labour’s vote share under the UK’s First Past the Post (FPTP) system with commentators pointing out that they received higher percentages of the vote in previous elections (which they lost). Labour’s strategy has contributed to this</p><ul><li>Labour “played the game” very well. They knew the constituencies they were either going to win anyway or would have no hope of winning and placed little emphasis on these.</li><li>This allowed them to commit more resources to key battleground constituencies, thus maximising their ROI in terms of seats won.</li><li>The British political landscape has become more fragmented with the Reform and Green parties in particular making large gains in terms of the popular vote. Many of these gains were in Labour seats, perhaps best illustrated by Kier Starmer receiving around half the votes in his Holborn and St Pancras constituency as he did in 2019 with Reform and the Greens being key beneficiaries.</li></ul><h4>Next Up…</h4><p>There’s a wealth of data and questions around the UK 2024 election. In future Blog posts, we’ll be using Station10’s <strong>Scientia</strong> data product, a large collection of UK data and statistics to analyse some of these and provide some analysis, answers and, no doubt, more questions.</p><h3>About</h3><p><a href="http://www.linkedin.com/comm/mynetwork/discovery-see-all?usecase=PEOPLE_FOLLOWS&amp;followMember=tom-s10">Tom Ewing</a> is Head of AI and Data Engineering at <a href="https://station10.co.uk/">Station10</a> and likes making maps more than he cares to admit so loves a good election.</p><p>Check out Station10&#39;s <a href="https://github.com/station-10/awesome-marketing-machine-learning">Awesome-Marketing-Machine-Learning list</a> repository on Github which contains a list of open-source AI tools with applications in marketing.</p><p><a href="http://www.station10.co.uk/">Station10</a> believe in open source and sharing knowledge and our Medium content is never paywalled, so please leave a clap if you’ve found this useful. This helps motivate us to write more content and gives us a better idea of what to write more about.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f53c79dd6e3d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/station10/anatomy-of-an-election-the-2024-labour-landslide-part-1-digital-marketing-strategy-f53c79dd6e3d">Anatomy of an Election, The 2024 Labour landslide Part 1:   Digital Marketing Strategy</a> was originally published in <a href="https://medium.com/station10">Station10</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Marketeers! We Need to Talk About First Party Data… (Part 1)]]></title>
            <link>https://medium.com/station10/marketeers-we-need-to-talk-about-first-party-data-part-1-1a35984893d7?source=rss----55b3457a2d36---4</link>
            <guid isPermaLink="false">https://medium.com/p/1a35984893d7</guid>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[digital-marketing]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[martech]]></category>
            <dc:creator><![CDATA[Tom Ewing]]></dc:creator>
            <pubDate>Thu, 16 May 2024 14:55:16 GMT</pubDate>
            <atom:updated>2024-05-16T14:13:58.662Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TcCWL4ldw0l2HFMF7FOEXQ.png" /><figcaption>All aboard the First Party Data hype train! Choo Choo! 🚂</figcaption></figure><p>After an endless wait, with twists, turns and delays, the cookie apocalypse is finally here! <a href="https://www.thedrum.com/news/2024/04/24/google-doing-what-it-does-best-delaying-third-party-cookie-deprecation-again">Or nearly is. Again.</a></p><p>Stripping away all the bluff and bluster, the cookie apocalypse boils down to three main things:</p><ol><li>Ads won’t be able to follow users around the internet anymore and pre-built audiences will change.</li><li>Website analytics (e.g. GA4, Adobe Analytics) will still work as before.</li><li>You’re going to have to do more work to learn about, find and engage with existing and potential customers.</li></ol><p>The prophesied solution is “First Party Data” and there’s a horde of LinkedIn experts telling you that you NEED to start doing more with it to avoid armageddon and financial ruin.</p><h4>So You’re Saying that First Party is Data Snake Oil? 🐍🛢️</h4><p>No, absolutely not. As a career data geek, I’m not here to knock First Party Data.</p><p>Back in the day, we used to call it ‘data’ and it was (and still is) really useful for a whole bunch of stuff. But it’s not like it’s a five minute fix either. Some issues:</p><ol><li>When you ask the LinkedIn experts <strong>‘How?’ </strong>First Party data is the solution, the answer is either vague or expensive depending on whether said expert wants your eyeballs or your money.</li><li>It comes with baggage. Complex baggage. CDPs, DMPs, Data Lakehouses, Pipelines, Management, Governance, GDPR, PII, Data &amp; AI Regulation etc.</li><li>On its own First Party data isn’t a panacea. There is a limit to what a customer is willing to, or indeed can, share with you.</li></ol><p>I’m not going to sit here and say that I have all the answers as there’s still a lot we don’t know and the tale of the Cookie Apocalypse likely has some more twists and turns prior to it’s conclusion.</p><p>But what I can do is offer is some ways to adapt to the new world. We’ll be exploring these in more detail over the course of my upcoming blogs, but for now, here’s a taster👇🏻.</p><h4>1. Open Data</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*vlcnoHyDrlab1LCIICKHIQ.png" /><figcaption>Age 20–24 Population Deciles: Wales (Source: 2021 UK Census)</figcaption></figure><p>As I alluded to earlier, First Party Data can only tell you so much. One thing that I don’t see is people talking is Open Data.</p><p>There are reasons for that, with the <a href="https://www.economist.com/britain/2023/06/14/how-to-make-britains-ai-dreams-reality">Economist calling UK Open Data ‘Unrefined Ore, Not Sparkling Treasure’</a>, but it’s an untapped resource with a lot of potential and let’s face it, if it were too easy your competitors would be using it too.</p><p>The recent UK census data is particularly rich containing for including demographic, housing, health and socio-economic data at regional, sub-regional and granular levels.</p><p>The price of entry? Customer postcode. We are where we live after all. With a postcode, you can merge census data with your own data. This opens up a lot of possibilities and it also makes your existing First Party Data more useful.</p><p>What’s not to like ?Well… one thing . The Economist weren’t wrong. UK Open Data IS a mess. At Station10 we’re collecting, curating and combining it and to cut a long story short, it’s worth the effort. Give us a shout if you want to know more 🤙🏻.</p><h4>2. Customer Journey</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eehhdL3h3Pbzanfi1qsL_A.png" /><figcaption>A Marketing Channel Customer Journey</figcaption></figure><p>I’ve blogged before about <a href="https://medium.com/station10/multi-touch-attribution-for-a-cookie-less-world-f26356fe0770">Multi-Touch Attribution</a> for marketing, and the best way to think about the Customer Journey is along the same lines. Touchpoints make a chain of interactions which you can explore and analyse to determine habits. And we’re not just talking marketing touchpoints either… Website interactions, phone calls, logging onto in store Wifi, complaints are all valid touchpoints that can help tell us more about the Customer Journey from start to finish.</p><p>On a recent project of mine, a few days of Customer Journey analysis revealed an inefficiency costing our client £1.8m a year. There’s gold in them there hills, if you dig deep enough.</p><h4>3. Segmentation &amp; Personalisation</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jTZU5t8V5X-xpD3CIKXdmw.png" /></figure><p>Behemoths like Netflix and Amazon have build their brands entirely on being able to appeal to individuals through personalisation with <a href="https://www.businessinsider.com/netflix-recommendation-engine-worth-1-billion-per-year-2016-6">Netflix valuing their recommendation engine at $1Bn per Year</a>.</p><p>Personalisation starts with Segmentation… Breaking your customers into homogenous groups that you can tailor communications and experiences to. There are a lot of platforms that offer this as a service, but building your own segments is easier than you might think, provided you have a well trained and motivated data geek.</p><p>The best part? These segments will also form the basis of those new Audiences you’re going to need for that Cookie Apocalypse thing.</p><h3>About</h3><p><a href="http://www.linkedin.com/comm/mynetwork/discovery-see-all?usecase=PEOPLE_FOLLOWS&amp;followMember=tom-s10">Tom Ewing</a> is Head of AI and Data Engineering at <a href="https://station10.co.uk/">Station10</a> and doesn’t think third-party cookie deprecation will happen in his lifetime.</p><p>Also, Check out Station10’s <a href="https://github.com/station-10/awesome-marketing-machine-learning">Awesome-Marketing-Machine-Learning list</a> repository on Github which contains a list of open-source AI tools with applications in marketing.</p><p><a href="http://www.station10.co.uk/">Station10</a> believe in open source and sharing knowledge and our Medium content is never paywalled, so please leave a clap if you’ve found this useful. This helps motivate us to write more content and gives us a better idea of what to write more about.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1a35984893d7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/station10/marketeers-we-need-to-talk-about-first-party-data-part-1-1a35984893d7">Marketeers! We Need to Talk About First Party Data… (Part 1)</a> was originally published in <a href="https://medium.com/station10">Station10</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Multi-Touch Attribution for a Cookie-less world]]></title>
            <link>https://medium.com/station10/multi-touch-attribution-for-a-cookie-less-world-f26356fe0770?source=rss----55b3457a2d36---4</link>
            <guid isPermaLink="false">https://medium.com/p/f26356fe0770</guid>
            <category><![CDATA[martech]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[digital-marketing]]></category>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Tom Ewing]]></dc:creator>
            <pubDate>Tue, 13 Feb 2024 12:20:43 GMT</pubDate>
            <atom:updated>2024-02-13T12:01:22.682Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oCo9yryYdZQtyjzsBvPHZQ.jpeg" /><figcaption>Probability, Game-theory and Survival based approaches to intelligent Data Driven Multi-Touch Attribution</figcaption></figure><p>In <a href="https://medium.com/station10/ai-improve-marketing-outcomes-pt1-95e4ef30ca3d">my previous blog</a>, I used the oft-quoted line <em>“Reports of my death are greatly exaggerated” </em>popularly attributed to Mark Twain to describe the perceptions around Multi-Touch Attribution (MTA).</p><p>The truth is: As long as you have first-party data, you can use AI-based MTA to understand what parts of your marketing work and this will still apply post cookie-apocalypse. Standard heuristic methods — first click, last click, linear — <strong>apply set patterns</strong> to your data whereas AI methods <strong>learn patterns</strong> from your data.</p><p>In this blog we’ll crack open the bonnet of the three most popular MTA algorithms and take a deeper look at how they work in layman&#39;s terms.</p><h4>Markov Chains (Probability)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*ja3QVQnCaOlN5BIYRJ4T7w.png" /><figcaption>An example of how Markov chains work across multiple marketing channels</figcaption></figure><p>Markov Chains assign credit to different marketing channels or touchpoints based on their influence in leading to a conversion, like a purchase or a sign-up. They’re a popular concept in weather forecasting, ranking algorithms, and predictive text.</p><p>To simplify, imagine a customer’s journey as a series of steps leading to a purchase. Each step is a touchpoint — an interaction with a marketing channel such as a Google ad, a social media post, or an email campaign. The Markov Chain model views this journey as a sequence of transitions from one state (or touchpoint) to another. The goal is to determine the probability of moving from each state to the next, ultimately leading to a conversion.</p><p>Here’s how it works:</p><p><strong>1. Transition Probability Matrix:</strong> Using source data, a transition probability matrix is created. This matrix shows the likelihood of moving from one touchpoint to another.</p><p><strong>2. Removal Effect:</strong> The model then calculates the ‘removal effect’ by temporarily removing a touchpoint and measuring the impact on conversion rates. This helps in understanding how important each touchpoint is. If removing a touchpoint significantly lowers the conversion probability, it’s considered highly influential.</p><p><strong>3. Attribution:</strong> Finally, the model assigns an ‘attribution score’ to each touchpoint based on its removal effect. Touchpoints that greatly reduce the likelihood of conversion when removed are given higher scores, indicating their greater importance in the conversion process.</p><p>This approach offers a more nuanced view of the customer journey compared to more traditional models like first-touch or last-touch attribution accounting for complex and interconnected nature of modern marketing landscapes, where customers often interact with multiple channels before making a decision.</p><h4>Shapely Values (Game Theory)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y1eikYxMmyxFP27HHPz-_A.png" /><figcaption>Game theory based SHAP values treat channels as players in a game in order to assign output fairly</figcaption></figure><p>Shapley Values, originating from cooperative game theory, offer a unique approach to Multi-Touch Attribution (MTA) in marketing analytics. This method provides a fair distribution of credit to various marketing touchpoints in a customer’s journey, ensuring each channel’s contribution towards a conversion is accurately acknowledged.</p><p>In the context of MTA, each ‘player’ is a marketing channel, and the ‘payoff’ is the conversion (like a sale or a signup). The Shapley Value formula considers all possible combinations of channels and their respective contributions to conversions.</p><p>Let’s break down how Shapley Values are applied:</p><p><strong>1. Data Collection:</strong> The process starts with collecting detailed data on customer interactions across all marketing channels throughout their journey, leading to conversions.</p><p><strong>2. Calculating Contributions: </strong>For each conversion, the Shapley Value method calculates the marginal contribution of each channel. It does this by considering every possible order in which the channels could appear in a customer’s journey. For example, if the journey was Email -&gt; Social Media -&gt; Conversion, it would consider Social Media -&gt; Email -&gt; Conversion as well.</p><p><strong>3. Fair Attribution:</strong> The key aspect of Shapley Values is fairness. It averages out the contributions across all permutations, ensuring that each channel gets credit proportional to its actual impact. This means channels that are consistently helpful will be valued higher, even if they don’t directly precede a conversion.</p><p>The Shapley Value approach in MTA acknowledges the intricate and interdependent nature of marketing channels. It avoids biases inherent in other models, providing a more balanced and accurate reflection of each channel’s value in driving conversions.</p><h4>Additive Hazard (Survival Analysis)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rWFuPtjQgn5pX_mm5-FRKQ.png" /><figcaption>Vroom vroom! Survival analysis offers a unique approach to MTA through incorporating temporal data.</figcaption></figure><p>Traditionally used in medical research, Additive Hazard, a concept from Survival Analysis, provides a distinctive angle for Multi-Touch Attribution (MTA). This approach focuses on understanding the probability of a conversion event (like a sale or signup) over time via analysing the expected duration until one or more events happen</p><p>In the context of MTA, the ‘event’ is a customer’s conversion, and the analysis aims to understand how different channels influence the timing of this conversion.</p><p>Let’s delve into how Additive Hazard is applied to MTA:</p><p><strong>1. Data Collection and Preparation:</strong> Similar to other MTA methods, it begins with collecting comprehensive data on customer interactions across all channels over time. This includes time-stamped data on when each touchpoint occurred in relation to the conversion.</p><p><strong>2. Additive Hazard Model:</strong> This model assesses the risk (hazard) of a conversion occurring at any given time point, considering the cumulative effect of all prior marketing touchpoints. It’s ‘additive’ because it assumes that each touchpoint adds (or subtracts) a certain amount to the hazard of converting at any given time.</p><p><strong>3. Evaluating Touchpoints Over Time:</strong> Unlike models that give credit based on the position of a touchpoint in the journey (like first or last-click), the Additive Hazard model assesses how the timing and sequence of touchpoints contribute to the likelihood of conversion. It recognizes that some channels might be more influential at the early stages of the journey, while others might play a crucial role closer to the conversion event.</p><p>In summary, an Additive Hazard approach offers a time-sensitive perspective, providing insights into how the timing and sequence of marketing touchpoints impact the likelihood of a conversion.</p><h3>About</h3><p><a href="http://www.linkedin.com/comm/mynetwork/discovery-see-all?usecase=PEOPLE_FOLLOWS&amp;followMember=tom-s10">Tom Ewing</a> is Head of AI and Data Engineering at <a href="https://station10.co.uk/">Station10</a> and attributes 90% of the success in his career to Organic Google Search.</p><p>Check out Station10’s <a href="https://github.com/station-10/awesome-marketing-machine-learning">Awesome-Marketing-Machine-Learning list</a> repository on Github which contains a list of open-source AI tools with applications in marketing.</p><p><a href="http://www.station10.co.uk/">Station10</a> believe in open source and sharing knowledge and our Medium content is never paywalled, so please leave a clap if you’ve found this useful. This helps motivate us to write more content and gives us a better idea of what to write more about.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f26356fe0770" width="1" height="1" alt=""><hr><p><a href="https://medium.com/station10/multi-touch-attribution-for-a-cookie-less-world-f26356fe0770">Multi-Touch Attribution for a Cookie-less world</a> was originally published in <a href="https://medium.com/station10">Station10</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tracking Core Web Vitals in Adobe Analytics]]></title>
            <link>https://medium.com/station10/tracking-core-web-vitals-in-adobe-analytics-538e03a9ea17?source=rss----55b3457a2d36---4</link>
            <guid isPermaLink="false">https://medium.com/p/538e03a9ea17</guid>
            <category><![CDATA[core-web-vitals]]></category>
            <category><![CDATA[adobe-launch]]></category>
            <category><![CDATA[adobe-analytics]]></category>
            <category><![CDATA[adobe-experience-platform]]></category>
            <dc:creator><![CDATA[Steve Webb]]></dc:creator>
            <pubDate>Thu, 01 Feb 2024 15:00:11 GMT</pubDate>
            <atom:updated>2024-02-01T15:07:36.170Z</atom:updated>
            <content:encoded><![CDATA[<p>Google’s <a href="https://web.dev/articles/vitals#core_web_vitals">core web vitals</a> are the industry standard for measuring a website&#39;s performance and its impact on user experience. They measure things like loading performance, interactivity, and the stability of content as it loads.</p><p>You can see Core Web Vitals for a page using the Lighthouse tab in the Chrome developer console:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*becUmQQgrVOPbjRU9Qi2VQ.png" /></figure><p>This is useful for a one-off snapshot, but what if you want to track these metrics over time? Or break them down by different user segments or any of the other things you might be tracking in Adobe Analytics? This blog will guide you through the steps you can take to measure Core Web Vitals in Adobe Analytics!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*obA8YbES7HiAUbd_cK4OmQ.png" /><figcaption>Web Vitals metrics over time, split by Device Type</figcaption></figure><h3>The web vitals library</h3><p>Happily, Google provides the tools to measure core web vitals in a handy JavaScript library which you can find here: <a href="https://github.com/GoogleChrome/web-vitals">https://github.com/GoogleChrome/web-vitals</a></p><p>This library is a tiny modular library for measuring all the <a href="https://web.dev/articles/vitals">Web Vitals</a> metrics on real users, in a way that accurately matches how they’re measured by Chrome and reported to other Google tools (e.g. <a href="https://developers.google.com/web/tools/chrome-user-experience-report">Chrome User Experience Report</a>, <a href="https://developers.google.com/speed/pagespeed/insights/">Page Speed Insights</a>, <a href="https://webmasters.googleblog.com/2019/11/search-console-speed-report.html">Search Console’s Speed Report</a>).</p><h3>Setting up the tracking in Adobe Launch</h3><h4>Adding the library to Adobe Launch</h4><p>The examples in the GitHub docs either load the library as an NPM package or from a CDN, and I’d recommend using these methods if you can. But, if you have no support from your website developers and want to achieve this 100% in Adobe Launch custom code, the library is small enough to just copy and paste the whole thing into a Launch custom code action.</p><p>So for this example, that’s what we’re doing:</p><ol><li>Create a new rule that executes on ‘Core — Library Loaded (Page Top)’</li><li>Navigate to <a href="https://unpkg.com/web-vitals@3/dist/web-vitals.iife.js">https://unpkg.com/web-vitals@3/dist/web-vitals.iife.js</a> and paste the whole script into a Custom Code action:</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NT_GK-9HNIyliEtqAGUq3A.png" /><figcaption>Quick and dirty way to load the Web Vitals library via Adobe Launch</figcaption></figure><h3>Writing our script</h3><p>Now what we’re going to do is take a couple of examples from the GitHub docs that are intended for sending the data to Google Analytics, and mash them together to create our own script for sending the data to Adobe Analytics instead.</p><p>We can start with <a href="https://github.com/GoogleChrome/web-vitals?tab=readme-ov-file#send-the-results-to-google-analytics">this example</a> where we’re simply sending some data to Google Analytics:</p><pre>import {onCLS, onFID, onLCP} from &#39;web-vitals&#39;;<br><br>function sendToGoogleAnalytics({name, delta, value, id}) {<br>  // Assumes the global `gtag()` function exists, see:<br>  // https://developers.google.com/analytics/devguides/collection/ga4<br>  gtag(&#39;event&#39;, name, {<br>    // Built-in params:<br>    value: delta, // Use `delta` so the value can be summed.<br>    // Custom params:<br>    metric_id: id, // Needed to aggregate events.<br>    metric_value: value, // Optional.<br>    metric_delta: delta, // Optional.<br><br>    // OPTIONAL: any additional params or debug info here.<br>    // See: https://web.dev/articles/debug-performance-in-the-field<br>    // metric_rating: &#39;good&#39; | &#39;needs-improvement&#39; | &#39;poor&#39;,<br>    // debug_info: &#39;...&#39;,<br>    // ...<br>  });<br>}<br><br>onCLS(sendToGoogleAnalytics);<br>onFID(sendToGoogleAnalytics);<br>onLCP(sendToGoogleAnalytics);</pre><p>This is a simple script that just sends an event to GA4 on each of the CLS, FID and LCP events, with a few dimensions that come from the web vitals event.</p><p>To repurpose this for Adobe Analytics, we can do the following:</p><h4>Variable Definitions</h4><p>First, let&#39;s set a couple of objects that we can use to define which evars and events we want to put our data in, when we send it to Analytics:</p><pre>// define which evars and events to use<br>var eventMap = {<br>    &#39;CLSvalue&#39;: &#39;event100&#39;,<br>    &#39;FIDvalue&#39;: &#39;event101&#39;,<br>    &#39;LCPvalue&#39;: &#39;event102&#39;,<br>    &#39;FCPvalue&#39;: &#39;event103&#39;,<br>    &#39;TTFBvalue&#39;: &#39;event104&#39;,<br>    &#39;INPvalue&#39;: &#39;event105&#39;,<br>};<br><br>var evarMap = {<br>    &#39;CLSrating&#39;: &#39;eVar110&#39;,<br>    &#39;FIDrating&#39;: &#39;eVar111&#39;,<br>    &#39;LCPrating&#39;: &#39;eVar112&#39;,<br>    &#39;FCPrating&#39;: &#39;eVar116&#39;,<br>    &#39;TTFBrating&#39;: &#39;eVar118&#39;,<br>    &#39;INPrating&#39;: &#39;eVar120&#39;,<br>    &#39;CLSnavigationType&#39;: &#39;eVar113&#39;,<br>    &#39;FIDnavigationType&#39;: &#39;eVar114&#39;,<br>    &#39;LCPnavigationType&#39;: &#39;eVar115&#39;,<br>    &#39;FCPnavigationType&#39;: &#39;eVar117&#39;,<br>    &#39;TTFBnavigationType&#39;: &#39;eVar119&#39;,<br>    &#39;INPnavigationType&#39;: &#39;eVar121&#39;,<br>};</pre><ol><li>eventMap: A mapping of Core Web Vitals metric names to their corresponding Adobe Analytics event number.</li><li>evarMap: A similar mapping, but for Adobe Analytics eVars, where we want to put some of the dimensions that we get back from the web vitals library.</li></ol><h4>Functions</h4><p>Next, we want to create a couple of functions that handle setting the s.events string and the s.eVar values.</p><p><strong>createEventsString(requestBody, eventMap)</strong></p><pre>// function to set s.event string<br>function returnEventsString(requestBody, eventMap) {<br>    var eventString = &#39;&#39;;<br>    for (var i = 0; i &lt; requestBody.length; i++) {<br>        var entry = requestBody[i];<br>        var eventName = eventMap[entry.name + &#39;value&#39;];<br>        if (eventName) {<br>            eventString = (eventString ? eventString + &#39;,&#39; : &#39;&#39;) + eventName + &#39;=&#39; + entry.value;<br>        }<br>    }<br>    _satellite.logger.log(&quot;Core Web Vitals Handler: s.events set to &quot;, eventString);<br>    return eventString;<br>}</pre><ul><li>This function iterates over the requestBody (More on that later, but in short, it&#39;s an array of Core Web Vitals metrics that we get back from the library).</li><li>For each metric, it finds the corresponding event in eventMap and adds it to the eventString.</li></ul><p><strong>returnEvars(requestBody, evarMap):</strong></p><pre>// function to return the evars we want as an object<br>function returnEvars(requestBody, evarMap) {<br>    var evars = {};<br>    for (var i = 0; i &lt; requestBody.length; i++) {<br>        var entry = requestBody[i];<br>        var evarName = evarMap[entry.name + &#39;rating&#39;];<br>        if (evarName) {<br>            evars[evarName] = entry.rating;<br>        }<br>        var evarName = evarMap[entry.name + &#39;navigationType&#39;];<br>        if (evarName) {<br>            evars[evarName] = entry.navigationType;<br>        }<br>    }<br>    return evars;<br>}</pre><ul><li>Similar to createEventsString, but this function constructs an object of eVars instead of a string of events.</li><li>It iterates over requestBody, and for the rating and navigationType dimensions, it sets the corresponding eVar names and values in the returned object.</li></ul><h4>Batching multiple reports together</h4><p>Rather than reporting each individual Web Vitals metric separately, we want to minimize the number of server calls we send to Adobe, so we can follow <a href="https://github.com/GoogleChrome/web-vitals?tab=readme-ov-file#batch-multiple-reports-together">this example in the docs</a> where we batch multiple metric reports together in a single network request.</p><p>This is done by creating a ‘queue’ to which we add the events, and then we send off all the events as the user navigates away from the page.</p><p><strong>addToQueue(metric)</strong></p><pre>const queue = new Set();<br>function addToQueue(metric) {<br>    queue.add(metric);<br>}</pre><ul><li>This adds a metric to the queue, a Set used to store Core Web Vitals metrics before they are sent to Adobe Analytics.</li></ul><p><strong>flushQueue():</strong></p><pre>function flushQueue() {<br>    if (queue.size &gt; 0) {<br>        try {<br>            const requestBody = [...queue];<br><br>            // set the s.events object<br>            s.events = returnEventsString(requestBody, eventMap)<br><br>            // for the events in the event string, set s.linkTrackEvents to a comma separeated list of the events<br>            s.linkTrackEvents = s.events.split(&#39;,&#39;).map(function (event) {<br>                return event.split(&#39;=&#39;)[0];<br>            }).join(&#39;,&#39;);<br><br>            // set the evars<br>            evars = returnEvars(requestBody, evarMap);<br>            for (var evarName in evars) {<br>                if (evars.hasOwnProperty(evarName)) {<br>                    // set evar<br>                    s[evarName] = evars[evarName];<br>                    // add to linkTrackVars<br>                    s.linkTrackVars = s.linkTrackVars ? s.linkTrackVars + &#39;,&#39; + evarName : evarName;<br>                    _satellite.logger.log(&quot;Core Web Vitals Handler: s.&quot; + evarName + &quot; set to&quot;, s[evarName]);<br>                }<br>            }<br><br>            // call function to send data to Adobe<br>            s.tl(true, &#39;o&#39;, &#39;Core Web Vitals&#39;);<br><br>            //console logging<br>            _satellite.logger.log(&quot;Core Web Vitals Handler: requestBody&quot;, requestBody);<br>            _satellite.logger.log(&quot;Core Web Vitals Handler: event sent&quot;);<br><br>            queue.clear();<br>        } catch (err) {<br>            _satellite.logger.log(&quot;Core Web Vitals Handler: error&quot;, err);<br>        }<br>    }<br>}</pre><ul><li>This function is called to send the collected metrics to Adobe Analytics.</li><li>It converts the queue to an array (this is the requestBodythat we referenced earlier) and uses createEventsString and returnEvars functions to set up the s.events and s.eVars objects.</li><li>s.linkTrackEvents and s.linkTrackVars are updated for tracking in Adobe Analytics.</li><li>s.tl() function is called to send the data to Adobe Analytics.</li><li>The function logs the sent data and finally clears the queue.</li></ul><h4>Add Event Listeners</h4><pre>webVitals.onCLS(addToQueue);<br>webVitals.onFID(addToQueue);<br>webVitals.onLCP(addToQueue);<br>webVitals.onFCP(addToQueue);<br>webVitals.onTTFB(addToQueue);<br>webVitals.onINP(addToQueue);</pre><ul><li>Add event listeners for Core Web Vitals so they are added to the queue when they are available.</li></ul><h4>Page Visibility and Unload Handling</h4><pre>// Report all available metrics whenever the page is backgrounded or unloaded.<br>addEventListener(&#39;visibilitychange&#39;, () =&gt; {<br>    if (document.visibilityState === &#39;hidden&#39;) {<br>        flushQueue();<br>    }<br>});<br><br>// NOTE: Safari does not reliably fire the `visibilitychange` event when the<br>// page is being unloaded. If Safari support is needed, you should also flush<br>// the queue in the `pagehide` event.<br>addEventListener(&#39;pagehide&#39;, flushQueue);</pre><ul><li>Then lastly we add an event listener to the visibilitychange event. So that when the page is hidden (i.e. the user navigates away from the page) flushQueue is called to send off all the metrics to Adobe.</li><li>As per Google’s example code, we also add another event listener to better support Safari.</li></ul><h3>Sampling</h3><p>Now, with Adobe Analytics we likely don’t want to increase our server calls too much as that can increase costs. You’ll notice if you start tracking these events, even with the batching method detailed above, that you’ll likely be getting at least a couple of events per page.</p><p>To mitigate this I recommend adding a Sampling condition to your Adobe Launch rule so that it only fires in something like 5% of page loads. In my experience, this is more than enough to get useful metrics, without significantly driving up your server call volumes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*m3FCNYvsJD--pBLsW-NqeQ.png" /><figcaption>A sampling condition on our Launch rule</figcaption></figure><h3>Putting that all together</h3><p>So we should end up with a rule that looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*sdIRoD0RfYqI_HM8iOcYzg.png" /></figure><p>And within the ‘Custom Code’ action, we have the following script:</p><pre>// load the standard core web vitals library<br>// copied from &#39;https://unpkg.com/web-vitals@3/dist/web-vitals.iife.js&#39;;<br>// reference: https://github.com/GoogleChrome/web-vitals<br>var webVitals = function (e) { &quot;use strict&quot;; var n, t, r, i, o, a = -1, c = function (e) { addEventListener(&quot;pageshow&quot;, (function (n) { n.persisted &amp;&amp; (a = n.timeStamp, e(n)) }), !0) }, u = function () { return window.performance &amp;&amp; performance.getEntriesByType &amp;&amp; performance.getEntriesByType(&quot;navigation&quot;)[0] }, f = function () { var e = u(); return e &amp;&amp; e.activationStart || 0 }, s = function (e, n) { var t = u(), r = &quot;navigate&quot;; return a &gt;= 0 ? r = &quot;back-forward-cache&quot; : t &amp;&amp; (r = document.prerendering || f() &gt; 0 ? &quot;prerender&quot; : document.wasDiscarded ? &quot;restore&quot; : t.type.replace(/_/g, &quot;-&quot;)), { name: e, value: void 0 === n ? -1 : n, rating: &quot;good&quot;, delta: 0, entries: [], id: &quot;v3-&quot;.concat(Date.now(), &quot;-&quot;).concat(Math.floor(8999999999999 * Math.random()) + 1e12), navigationType: r } }, d = function (e, n, t) { try { if (PerformanceObserver.supportedEntryTypes.includes(e)) { var r = new PerformanceObserver((function (e) { Promise.resolve().then((function () { n(e.getEntries()) })) })); return r.observe(Object.assign({ type: e, buffered: !0 }, t || {})), r } } catch (e) { } }, l = function (e, n, t, r) { var i, o; return function (a) { n.value &gt;= 0 &amp;&amp; (a || r) &amp;&amp; ((o = n.value - (i || 0)) || void 0 === i) &amp;&amp; (i = n.value, n.delta = o, n.rating = function (e, n) { return e &gt; n[1] ? &quot;poor&quot; : e &gt; n[0] ? &quot;needs-improvement&quot; : &quot;good&quot; }(n.value, t), e(n)) } }, v = function (e) { requestAnimationFrame((function () { return requestAnimationFrame((function () { return e() })) })) }, p = function (e) { var n = function (n) { &quot;pagehide&quot; !== n.type &amp;&amp; &quot;hidden&quot; !== document.visibilityState || e(n) }; addEventListener(&quot;visibilitychange&quot;, n, !0), addEventListener(&quot;pagehide&quot;, n, !0) }, m = function (e) { var n = !1; return function (t) { n || (e(t), n = !0) } }, h = -1, g = function () { return &quot;hidden&quot; !== document.visibilityState || document.prerendering ? 1 / 0 : 0 }, y = function (e) { &quot;hidden&quot; === document.visibilityState &amp;&amp; h &gt; -1 &amp;&amp; (h = &quot;visibilitychange&quot; === e.type ? e.timeStamp : 0, E()) }, T = function () { addEventListener(&quot;visibilitychange&quot;, y, !0), addEventListener(&quot;prerenderingchange&quot;, y, !0) }, E = function () { removeEventListener(&quot;visibilitychange&quot;, y, !0), removeEventListener(&quot;prerenderingchange&quot;, y, !0) }, C = function () { return h &lt; 0 &amp;&amp; (h = g(), T(), c((function () { setTimeout((function () { h = g(), T() }), 0) }))), { get firstHiddenTime() { return h } } }, L = function (e) { document.prerendering ? addEventListener(&quot;prerenderingchange&quot;, (function () { return e() }), !0) : e() }, b = function (e, n) { n = n || {}, L((function () { var t, r = [1800, 3e3], i = C(), o = s(&quot;FCP&quot;), a = d(&quot;paint&quot;, (function (e) { e.forEach((function (e) { &quot;first-contentful-paint&quot; === e.name &amp;&amp; (a.disconnect(), e.startTime &lt; i.firstHiddenTime &amp;&amp; (o.value = Math.max(e.startTime - f(), 0), o.entries.push(e), t(!0))) })) })); a &amp;&amp; (t = l(e, o, r, n.reportAllChanges), c((function (i) { o = s(&quot;FCP&quot;), t = l(e, o, r, n.reportAllChanges), v((function () { o.value = performance.now() - i.timeStamp, t(!0) })) }))) })) }, w = function (e, n) { n = n || {}, b(m((function () { var t, r = [.1, .25], i = s(&quot;CLS&quot;, 0), o = 0, a = [], u = function (e) { e.forEach((function (e) { if (!e.hadRecentInput) { var n = a[0], t = a[a.length - 1]; o &amp;&amp; e.startTime - t.startTime &lt; 1e3 &amp;&amp; e.startTime - n.startTime &lt; 5e3 ? (o += e.value, a.push(e)) : (o = e.value, a = [e]) } })), o &gt; i.value &amp;&amp; (i.value = o, i.entries = a, t()) }, f = d(&quot;layout-shift&quot;, u); f &amp;&amp; (t = l(e, i, r, n.reportAllChanges), p((function () { u(f.takeRecords()), t(!0) })), c((function () { o = 0, i = s(&quot;CLS&quot;, 0), t = l(e, i, r, n.reportAllChanges), v((function () { return t() })) })), setTimeout(t, 0)) }))) }, S = { passive: !0, capture: !0 }, P = new Date, I = function (e, i) { n || (n = i, t = e, r = new Date, M(removeEventListener), A()) }, A = function () { if (t &gt;= 0 &amp;&amp; t &lt; r - P) { var e = { entryType: &quot;first-input&quot;, name: n.type, target: n.target, cancelable: n.cancelable, startTime: n.timeStamp, processingStart: n.timeStamp + t }; i.forEach((function (n) { n(e) })), i = [] } }, F = function (e) { if (e.cancelable) { var n = (e.timeStamp &gt; 1e12 ? new Date : performance.now()) - e.timeStamp; &quot;pointerdown&quot; == e.type ? function (e, n) { var t = function () { I(e, n), i() }, r = function () { i() }, i = function () { removeEventListener(&quot;pointerup&quot;, t, S), removeEventListener(&quot;pointercancel&quot;, r, S) }; addEventListener(&quot;pointerup&quot;, t, S), addEventListener(&quot;pointercancel&quot;, r, S) }(n, e) : I(n, e) } }, M = function (e) { [&quot;mousedown&quot;, &quot;keydown&quot;, &quot;touchstart&quot;, &quot;pointerdown&quot;].forEach((function (n) { return e(n, F, S) })) }, D = function (e, r) { r = r || {}, L((function () { var o, a = [100, 300], u = C(), f = s(&quot;FID&quot;), v = function (e) { e.startTime &lt; u.firstHiddenTime &amp;&amp; (f.value = e.processingStart - e.startTime, f.entries.push(e), o(!0)) }, h = function (e) { e.forEach(v) }, g = d(&quot;first-input&quot;, h); o = l(e, f, a, r.reportAllChanges), g &amp;&amp; p(m((function () { h(g.takeRecords()), g.disconnect() }))), g &amp;&amp; c((function () { var c; f = s(&quot;FID&quot;), o = l(e, f, a, r.reportAllChanges), i = [], t = -1, n = null, M(addEventListener), c = v, i.push(c), A() })) })) }, k = 0, B = 1 / 0, x = 0, R = function (e) { e.forEach((function (e) { e.interactionId &amp;&amp; (B = Math.min(B, e.interactionId), x = Math.max(x, e.interactionId), k = x ? (x - B) / 7 + 1 : 0) })) }, H = function () { return o ? k : performance.interactionCount || 0 }, N = function () { &quot;interactionCount&quot; in performance || o || (o = d(&quot;event&quot;, R, { type: &quot;event&quot;, buffered: !0, durationThreshold: 0 })) }, O = 0, _ = function () { return H() - O }, j = [], q = {}, V = function (e) { var n = j[j.length - 1], t = q[e.interactionId]; if (t || j.length &lt; 10 || e.duration &gt; n.latency) { if (t) t.entries.push(e), t.latency = Math.max(t.latency, e.duration); else { var r = { id: e.interactionId, latency: e.duration, entries: [e] }; q[r.id] = r, j.push(r) } j.sort((function (e, n) { return n.latency - e.latency })), j.splice(10).forEach((function (e) { delete q[e.id] })) } }, z = function (e, n) { n = n || {}, L((function () { var t = [200, 500]; N(); var r, i = s(&quot;INP&quot;), o = function (e) { e.forEach((function (e) { (e.interactionId &amp;&amp; V(e), &quot;first-input&quot; === e.entryType) &amp;&amp; (!j.some((function (n) { return n.entries.some((function (n) { return e.duration === n.duration &amp;&amp; e.startTime === n.startTime })) })) &amp;&amp; V(e)) })); var n, t = (n = Math.min(j.length - 1, Math.floor(_() / 50)), j[n]); t &amp;&amp; t.latency !== i.value &amp;&amp; (i.value = t.latency, i.entries = t.entries, r()) }, a = d(&quot;event&quot;, o, { durationThreshold: n.durationThreshold || 40 }); r = l(e, i, t, n.reportAllChanges), a &amp;&amp; (a.observe({ type: &quot;first-input&quot;, buffered: !0 }), p((function () { o(a.takeRecords()), i.value &lt; 0 &amp;&amp; _() &gt; 0 &amp;&amp; (i.value = 0, i.entries = []), r(!0) })), c((function () { j = [], O = H(), i = s(&quot;INP&quot;), r = l(e, i, t, n.reportAllChanges) }))) })) }, G = {}, J = function (e, n) { n = n || {}, L((function () { var t, r = [2500, 4e3], i = C(), o = s(&quot;LCP&quot;), a = function (e) { var n = e[e.length - 1]; if (n) { var r = Math.max(n.startTime - f(), 0); r &lt; i.firstHiddenTime &amp;&amp; (o.value = r, o.entries = [n], t()) } }, u = d(&quot;largest-contentful-paint&quot;, a); if (u) { t = l(e, o, r, n.reportAllChanges); var h = m((function () { G[o.id] || (a(u.takeRecords()), u.disconnect(), G[o.id] = !0, t(!0)) }));[&quot;keydown&quot;, &quot;click&quot;].forEach((function (e) { addEventListener(e, h, !0) })), p(h), c((function (i) { o = s(&quot;LCP&quot;), t = l(e, o, r, n.reportAllChanges), v((function () { o.value = performance.now() - i.timeStamp, G[o.id] = !0, t(!0) })) })) } })) }, K = function e(n) { document.prerendering ? L((function () { return e(n) })) : &quot;complete&quot; !== document.readyState ? addEventListener(&quot;load&quot;, (function () { return e(n) }), !0) : setTimeout(n, 0) }, Q = function (e, n) { n = n || {}; var t = [800, 1800], r = s(&quot;TTFB&quot;), i = l(e, r, t, n.reportAllChanges); K((function () { var o = u(); if (o) { var a = o.responseStart; if (a &lt;= 0 || a &gt; performance.now()) return; r.value = Math.max(a - f(), 0), r.entries = [o], i(!0), c((function () { r = s(&quot;TTFB&quot;, 0), (i = l(e, r, t, n.reportAllChanges))(!0) })) } })) }; return e.getCLS = w, e.getFCP = b, e.getFID = D, e.getINP = z, e.getLCP = J, e.getTTFB = Q, e.onCLS = w, e.onFCP = b, e.onFID = D, e.onINP = z, e.onLCP = J, e.onTTFB = Q, Object.defineProperty(e, &quot;__esModule&quot;, { value: !0 }), e }({});<br><br>// define which evars and events to use<br>var eventMap = {<br>    &#39;CLSvalue&#39;: &#39;event100&#39;,<br>    &#39;FIDvalue&#39;: &#39;event101&#39;,<br>    &#39;LCPvalue&#39;: &#39;event102&#39;,<br>    &#39;FCPvalue&#39;: &#39;event103&#39;,<br>    &#39;TTFBvalue&#39;: &#39;event104&#39;,<br>    &#39;INPvalue&#39;: &#39;event105&#39;,<br>};<br><br>var evarMap = {<br>    &#39;CLSrating&#39;: &#39;eVar110&#39;,<br>    &#39;FIDrating&#39;: &#39;eVar111&#39;,<br>    &#39;LCPrating&#39;: &#39;eVar112&#39;,<br>    &#39;FCPrating&#39;: &#39;eVar116&#39;,<br>    &#39;TTFBrating&#39;: &#39;eVar118&#39;,<br>    &#39;INPrating&#39;: &#39;eVar120&#39;,<br>    &#39;CLSnavigationType&#39;: &#39;eVar113&#39;,<br>    &#39;FIDnavigationType&#39;: &#39;eVar114&#39;,<br>    &#39;LCPnavigationType&#39;: &#39;eVar115&#39;,<br>    &#39;FCPnavigationType&#39;: &#39;eVar117&#39;,<br>    &#39;TTFBnavigationType&#39;: &#39;eVar119&#39;,<br>    &#39;INPnavigationType&#39;: &#39;eVar121&#39;,<br>};<br><br>// function to set s.event string<br>function returnEventsString(requestBody, eventMap) {<br>    var eventString = &#39;&#39;;<br>    for (var i = 0; i &lt; requestBody.length; i++) {<br>        var entry = requestBody[i];<br>        var eventName = eventMap[entry.name + &#39;value&#39;];<br>        if (eventName) {<br>            eventString = (eventString ? eventString + &#39;,&#39; : &#39;&#39;) + eventName + &#39;=&#39; + entry.value;<br>        }<br>    }<br>    _satellite.logger.log(&quot;Core Web Vitals Handler: s.events set to &quot;, eventString);<br>    return eventString;<br>}<br><br>// function to return the evars we want as an object<br>function returnEvars(requestBody, evarMap) {<br>    var evars = {};<br>    for (var i = 0; i &lt; requestBody.length; i++) {<br>        var entry = requestBody[i];<br>        var evarName = evarMap[entry.name + &#39;rating&#39;];<br>        if (evarName) {<br>            evars[evarName] = entry.rating;<br>        }<br>        var evarName = evarMap[entry.name + &#39;navigationType&#39;];<br>        if (evarName) {<br>            evars[evarName] = entry.navigationType;<br>        }<br>    }<br>    return evars;<br>}<br><br>const queue = new Set();<br>function addToQueue(metric) {<br>    queue.add(metric);<br>}<br><br>function flushQueue() {<br>    if (queue.size &gt; 0) {<br>        try {<br>            const requestBody = [...queue];<br><br>            // set the s.events object<br>            s.events = returnEventsString(requestBody, eventMap)<br><br>            // for the events in the event string, set s.linkTrackEvents to a comma separeated list of the events<br>            s.linkTrackEvents = s.events.split(&#39;,&#39;).map(function (event) {<br>                return event.split(&#39;=&#39;)[0];<br>            }).join(&#39;,&#39;);<br><br>            // set the evars<br>            evars = returnEvars(requestBody, evarMap);<br>            for (var evarName in evars) {<br>                if (evars.hasOwnProperty(evarName)) {<br>                    // set evar<br>                    s[evarName] = evars[evarName];<br>                    // add to linkTrackVars<br>                    s.linkTrackVars = s.linkTrackVars ? s.linkTrackVars + &#39;,&#39; + evarName : evarName;<br>                    _satellite.logger.log(&quot;Core Web Vitals Handler: s.&quot; + evarName + &quot; set to&quot;, s[evarName]);<br>                }<br>            }<br><br>            // call function to send data to Adobe<br>            s.tl(true, &#39;o&#39;, &#39;Core Web Vitals&#39;);<br><br>            //console logging<br>            _satellite.logger.log(&quot;Core Web Vitals Handler: requestBody&quot;, requestBody);<br>            _satellite.logger.log(&quot;Core Web Vitals Handler: event sent&quot;);<br><br>            queue.clear();<br>        } catch (err) {<br>            _satellite.logger.log(&quot;Core Web Vitals Handler: error&quot;, err);<br>        }<br>    }<br>}<br><br>webVitals.onCLS(addToQueue);<br>webVitals.onFID(addToQueue);<br>webVitals.onLCP(addToQueue);<br>webVitals.onFCP(addToQueue);<br>webVitals.onTTFB(addToQueue);<br>webVitals.onINP(addToQueue);<br><br>// Report all available metrics whenever the page is backgrounded or unloaded.<br>addEventListener(&#39;visibilitychange&#39;, () =&gt; {<br>    if (document.visibilityState === &#39;hidden&#39;) {<br>        flushQueue();<br>    }<br>});<br><br>// NOTE: Safari does not reliably fire the `visibilitychange` event when the<br>// page is being unloaded. If Safari support is needed, you should also flush<br>// the queue in the `pagehide` event.<br>addEventListener(&#39;pagehide&#39;, flushQueue);</pre><h3>Adobe Analytics Setup</h3><p>Lastly, you’ll want to enable the relevant custom Events and eVars in Adobe Analytics.</p><p>You’ll also want to create a Calculated Metric for each to give you the average score as a metric. That way you’ll be able to get an average score for dates, pages, or other dimensions in Adobe. For example;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/1*3X12U6pwEg8obZUo8l7LRg.png" /><figcaption>Average LCP Rating</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*SLo_u0rnVI7OOv9tRmcSUA.png" /><figcaption>Average LCP rating over time</figcaption></figure><h3>Wrapping Up</h3><p>And there you go! Hopefully all the works and you have Core Web Vitals tracked in Adobe Analytics using only custom code in Adobe Launch.</p><h3>About Us</h3><p><a href="http://www.station10.co.uk/">Station10</a> believe in open source and sharing knowledge and our Medium content is never paywalled, so please leave a clap if you’ve found this useful. This helps motivate us to write more content and gives us a better idea of what to write more about.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=538e03a9ea17" width="1" height="1" alt=""><hr><p><a href="https://medium.com/station10/tracking-core-web-vitals-in-adobe-analytics-538e03a9ea17">Tracking Core Web Vitals in Adobe Analytics</a> was originally published in <a href="https://medium.com/station10">Station10</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Taking advantage of a Google-style data layer with Adobe Launch]]></title>
            <link>https://medium.com/station10/taking-advantage-of-a-google-style-data-layer-with-adobe-launch-3a4705f8ac55?source=rss----55b3457a2d36---4</link>
            <guid isPermaLink="false">https://medium.com/p/3a4705f8ac55</guid>
            <category><![CDATA[datalayer]]></category>
            <category><![CDATA[adobe-analytics]]></category>
            <category><![CDATA[digital-analytics]]></category>
            <category><![CDATA[google-analytics]]></category>
            <category><![CDATA[adobe-launch]]></category>
            <dc:creator><![CDATA[Liam Giles]]></dc:creator>
            <pubDate>Mon, 22 Jan 2024 14:18:20 GMT</pubDate>
            <atom:updated>2024-01-22T14:18:20.366Z</atom:updated>
            <content:encoded><![CDATA[<p>This blog should be helpful for anyone who’s already got a <a href="https://developers.google.com/tag-platform/tag-manager/datalayer#use_a_data_layer_with_event_handlers">Google-style dataLayer</a> implemented on their website but wants to use <a href="https://experienceleague.adobe.com/docs/experience-platform/tags/home.html?lang=en">Adobe’s tag manager</a> (previously Adobe Launch, now rebranded to Data Collection Tags). Maybe you’re migrating from GA4 to Adobe but you want to leverage your existing data layer.</p><p>The examples below will be for implementing Adobe Analytics using the new <a href="https://experienceleague.adobe.com/docs/experience-platform/edge/home.html?lang=en">AEP Web SDK</a>, but these features will be useful for any sort of implementation, including Google Analytics, traditional Adobe Analytics, and any marketing tags you have.</p><h3><strong>The Google Data Layer</strong></h3><p>A data layer is a JavaScript object that has been implemented on a website to expose data in a clear and consistent format, so it can be used by Tag Management Systems (TMS) such as Adobe Launch and Google Tag Manager.</p><p>Data layers can be implemented in a variety of ways, but because of the prevalence of Google Analytics, Google’s ‘style’ of data layer is a very common one. It’s an <a href="https://jimalytics.com/tag-management/the-event-driven-data-layer/">event-driven</a> data layer, where each thing that you want to track is an object pushed to an array called dataLayer. Over the years Google has defined many <a href="https://developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtm">recommended events</a>, but you can structure the contents of the event however you want. Here’s a quick example of a data layer event for tracking when a user adds a product to the cart:</p><pre>dataLayer.push({<br>  event: &quot;add_to_cart&quot;,<br>  ecommerce: {<br>    currency: &quot;USD&quot;,<br>    value: 9.99,<br>    items: [<br>    {<br>      item_id: &quot;SKU_12345&quot;,<br>      item_name: &quot;Stan and Friends Tee&quot;,<br>      item_brand: &quot;Google&quot;,<br>      item_category: &quot;Apparel&quot;,<br>      item_category2: &quot;Adult&quot;,<br>      item_category3: &quot;Shirts&quot;,<br>      item_category4: &quot;Crew&quot;,<br>      item_category5: &quot;Short sleeve&quot;,<br>      price: 9.99,<br>      quantity: 1<br>    }<br>    ]<br>  }<br>});</pre><h3>The ‘Google Data Layer’ Launch Extension</h3><p>With that intro out of the way, the main topic of this blog is the <a href="https://experienceleague.adobe.com/docs/experience-platform/tags/extensions/client/google-data-layer/overview.html?lang=en">Google Data Layer extension</a> that Adobe provides. Firstly, we’ll need to install the extension, so navigate to the Extensions Catalog in Adobe Launch and type “Google Data Layer”.</p><p>You should be able to select and install the extension shown in the screenshot below:</p><figure><img alt="Google Data Layer extension in Adobe Launch" src="https://cdn-images-1.medium.com/max/465/1*IzpMedokprF5RTVEl8MI4g.png" /><figcaption>Google Data Layer in Adobe Launch</figcaption></figure><p>The extension allows for easier integration with the Google data layer in the Launch user interface and also gives us some cool features we can use in custom code for more advanced things.</p><h4>Rules</h4><p>One of the main benefits of the extension is being able to use pushes to the dataLayer object as triggers in a Rule. In the Rule event configuration, select the Google Data Layer extension and set the Event Type as ‘Google DL Push Event’. For example, if you have an e-commerce site and wish to fire a rule on the ‘purchase’ event, we can use the below event configuration to do so:</p><figure><img alt="Example Google dataLayer push event used as a Adobe Launch event." src="https://cdn-images-1.medium.com/max/940/1*IlsdrzZW8B9IsQJwy5i6XQ.png" /><figcaption>Purchase Google Event used as an event to fire an Adobe Launch rule</figcaption></figure><p>This would trigger the Rule on the following data layer event:</p><pre>dataLayer.push({<br>  event: &quot;purchase&quot;,<br>  ecommerce: {<br>      transaction_id: &quot;T_12345&quot;,<br>      value: 25.42,<br>      tax: 4.90,<br>      currency: &quot;USD&quot;,<br>      ...<br>   }<br>});</pre><h4>Data Elements</h4><p>This extension also allows for easy Data Element creation by being able to reference objects in the Google data layer:</p><figure><img alt="Google dataLayer being used in an Adobe Launch Data element" src="https://cdn-images-1.medium.com/max/940/1*eiX7r2JWB5xlRRKyn_WvuA.png" /></figure><p>To do this, create a new data element and select the Google Data Layer extension. Name the Data Element something descriptive and then type in the dataLayer object path into the text field.</p><p>One very important setting here is the ‘Only event properties’ toggle. This will determine whether Adobe looks for the object path in the ‘computed state’ of the data layer, or only the current event that triggered the rule.</p><p>This is a bit complex, so let&#39;s look at a quick example. Say we’ve had two data layer events on the page, one for the page view and one for a click on an accordion:</p><pre>dataLayer.push({<br>  event: &quot;page_view&quot;,<br>  pageName: &quot;home&quot;,<br>});<br><br>dataLayer.push({<br>  event: &quot;accordion_click&quot;,<br>  accordionName: &quot;accordion_1&quot;,<br>});</pre><p>The ‘computed state’ of the data layer will be a collapsed object that contains the latest value for each item in the array, so it’ll look something like this:</p><pre>{<br>  &quot;pageName&quot;: &quot;home&quot;,<br>  &quot;accordionName&quot;: &quot;accordion_1&quot;,<br>}</pre><p>This means that if we have a Data Element that points to ‘pageName’, which we want to use in the accordion_click event;</p><ul><li>If ‘only event properties’ is ON, the ‘pageName’ Data Element will return undefined when used in the accordion_click event. Because pageName did not exist in that specific event.</li><li>If ‘only event properties’ is OFF, then Adobe will look for the most recent value of pageName in the whole dataLayer array, and return that value, so home in this scenario.</li></ul><h3><strong>Using the extension in custom JavaScript code</strong></h3><p>The extension also allows for some nifty tricks that can be used when using custom JavaScript code, which is very handy for use when trying to capture specific values in data elements when only certain events fire. Or when trying to handle building the XDM object for sending off to AEP, as covered in <a href="https://medium.com/station10/approaches-to-implementing-adobe-analytics-via-aep-web-sdk-and-adobe-launch-46574b76c5f1">this blog</a>.</p><p>The extension allows us to access both the contents of the event and the computed state in custom code, using the event object. As an example, here’s what it looks like if we just run the code console.log(event) in a rule triggered by a Google data layer push event:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*k4TDdzIMxS3WUGdoodzPQg.png" /></figure><p>Inside this object are some very useful things:</p><ul><li>In $rule we get information about the configuration of the Rule that was triggered.</li><li>In event.dataLayerModel we get the computed state of the data layer, as described above.</li><li>In event.eventModel we get the contents of only the event that triggered the rule, not the whole state.</li></ul><p>So we can use the contents of the event in custom code. This can be really useful for setting various fields in an XDM schema, such as in this example where we set Adobe’s commerce object based on Google’s standard e-commerce events:</p><pre>// This function produces an Adobe style commerce object depending on the data layer event type<br>// See here for mapping from XDM to legacy Analytics variables: https://experienceleague.adobe.com/docs/analytics/implementation/aep-edge/variable-mapping.html?lang=en<br>function getCommerceObject(event) {<br>    const eventName = event.message.event;<br>    const eventMessage = event.message;<br><br>    if (eventName === &#39;Product Impression&#39; || eventName === &#39;View Product&#39;) {<br>        return { productViews: { value: 1 } }; // Increments the ProdView metric<br><br>    } else if (eventName === &#39;Remove From Cart&#39;) {<br>        return { productListRemovals: { value: 1 } }; // Increments the scRemove metric<br><br>    } else if (eventName === &#39;Add To Cart&#39;) {<br>        return { productListAdds: { value: 1 } }; // Increments the scAdd metric<br><br>    } else if (eventName === &#39;Cart Open&#39;) {<br>        return { productListOpens: { value: 1 } }; // Increments the scOpen metric<br><br>    } else if (eventName === &#39;Cart View&#39;) {<br>        return { productListViews: { value: 1 } }; // Increments the scView metric<br><br>    } else if (eventName === &#39;Checkout Start&#39;) {<br>        return { checkouts: { value: 1 } }; // Increments the scCheckout metric<br><br>    } else if (eventName === &#39;Purchase&#39;) {<br>        return {<br>            purchases: { value: 1 }, // Increments the Orders metric.<br>            order: {<br>                currencyCode: eventMessage.currency, // Sets the currencyCode configuration variable<br>                purchaseID: eventMessage.transactionReference, // Sets the purchaseID page variable<br>                payments: [{ transactionID: eventMessage.transactionReference }], // Sets the transactionID page variable<br>            }<br>        };<br><br>    } else {<br>        return {}; // default return if event type doesn&#39;t match any known types<br>    }<br>}<br><br>return getCommerceObject(event);</pre><h3><strong>Integrating data elements into an XDM schema</strong></h3><p>With the above example code, we check for certain events being pushed to the data layer and return a value which allocates what commerce event we want to fire.</p><p>With the custom code data element we already created, we can then input that object directly into the XDM schema.</p><figure><img alt="XDM object in Adobe Launch using a Custom code data element that used features from Google Data Layer extension" src="https://cdn-images-1.medium.com/max/940/1*rMyuB04bQAoA7QW-NuIEew.png" /></figure><p>If you want a more in-depth look into the XDM methodology and how to set it up, we have another blog <a href="https://medium.com/station10/approaches-to-implementing-adobe-analytics-via-aep-web-sdk-and-adobe-launch-46574b76c5f1">here</a> that delves a lot deeper into it!</p><p>This data element is then integrated into a rule which uses the Google Data layer extension to fire the rule when the add_to_cart event is pushed to the dataLayer. We then send the Commerce XDM object in the action.</p><figure><img alt="A AEP Add to cart send event rule using Google Data Layer extension to fire the rule on Add to Cart" src="https://cdn-images-1.medium.com/max/329/1*0V0tm2OGD_TfSqZ9G2GvEA.png" /><figcaption>Add to Cart Adobe Launch Rule</figcaption></figure><h3>Conclusion</h3><p>The Google Data Layer extension makes taking advantage of data from the Google dataLayer so much simpler. It also opens up some avenues to use custom code data elements and actions, which weren’t available before. We used this extension to format into an AEP XDM Schema, very quickly and easily, but can be used to do any sort of implementation.</p><h3>About Us</h3><p><a href="http://www.station10.co.uk/">Station10</a> believe in open source and sharing knowledge and our Medium content is never paywalled, so please leave a clap if you’ve found this useful. This helps motivate us to write more content and gives us a better idea of what to write more about.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a4705f8ac55" width="1" height="1" alt=""><hr><p><a href="https://medium.com/station10/taking-advantage-of-a-google-style-data-layer-with-adobe-launch-3a4705f8ac55">Taking advantage of a Google-style data layer with Adobe Launch</a> was originally published in <a href="https://medium.com/station10">Station10</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[10 ways AI can Improve Marketing Outcomes (Part 2)]]></title>
            <link>https://medium.com/station10/10-ways-ai-can-improve-marketing-outcomes-part-2-83ce6cf921f3?source=rss----55b3457a2d36---4</link>
            <guid isPermaLink="false">https://medium.com/p/83ce6cf921f3</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[digital-marketing]]></category>
            <dc:creator><![CDATA[Tom Ewing]]></dc:creator>
            <pubDate>Thu, 04 Jan 2024 11:38:50 GMT</pubDate>
            <atom:updated>2024-01-05T08:15:36.426Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VBtcafT6e_qakC_-iSYCmA.jpeg" /><figcaption>10 AI Techniques to improve marketing outcomes</figcaption></figure><h4>GenAI is all the rage nowadays. That’s no bad thing and Large Language Models (LLMs) are already disrupting marketing and eCommerce. But there are other ways AI can boost marketing outcomes that are quicker, easier and most importantly cheaper.</h4><p><a href="https://medium.com/station10/ai-improve-marketing-outcomes-pt1-95e4ef30ca3d">In Part 1, we explored five AI techniques to improve marketing outcomes</a> and here in Part 2 we’ll explore the remaining five.</p><h4>The 10 AI Techniques to improve your Marketing Outcomes</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IchuT9jIpQ86FLMw_zh3Dg.png" /><figcaption>Ten AI techniques to improve your marketing outcomes: Data Driven Attribution, Media Mix Modelling, Geo-Testing, Causal Uplift, Segmentation, Churn, Propensity, Price Optimisation, Recommendation, Forecasting.</figcaption></figure><h4>Segmentation</h4><p>As the saying goes, to treat people equally, you have to treat them differently. Some customers might be highly engaged and welcome additional communication, others might not be. Some customers might spend regularly, some might not. And so on...</p><p>Segmentation is a way to group customers by these kinds of factors to enable you to monitor performance and more importantly personalise your content.</p><ul><li><strong>RFM:</strong> RFM stands for <strong>Recency</strong>, <strong>Frequency &amp; Monetary Value </strong>and it’s a highly effective way to split your customer base to answer questions such as <em>“Who are my most important customers?” </em>or <em>“Which customers am I in danger of losing?”</em> and perhaps more importantly <em>“Which customers should I target?”. </em>If you don’t have an RFM model, you should probably stop reading this and go make one.</li><li><strong>Behavioural: </strong>The next biggest set of Segmentation models are behavioural. These use a variety of different data points to group customers into buckets based on similarity. Now, if you have a few data points (like our RFM model above) you can write rules for it. If you have a few hundred data points, you’ll need an AI clustering model such a K-Means which groups customers into buckets based on shared characteristics.</li><li><strong>Demographic:</strong> My personal favourite, Demographic models, unsurprisingly, use customer demographics to split your customer base. However, most companies only have a few demographic data points to use and that’s where <strong>Open Data </strong>comes in. If you have an idea of your customer’s location, you can use sources such as the <a href="https://www.ons.gov.uk/census">UK Census</a> to supplement your data. The UK census in particular is a treasure trove of detailed &amp; granular data encompassing demographic, household and economic data points. The downside is that it requires a lot of work to engineer it into something usable but that’s a blog for another day! 😉</li></ul><p>Most companies are already doing some form of segmentation on their customer base, but there’s definitely levels to this game and it’s one of those things, the more effort you put in the more you get out with analysis, unexpected insights and new strategies.</p><p>It’s also a tried-and-tested winner, with <a href="https://mailchimp.com/resources/effects-of-list-segmentation-on-email-marketing-stats/">Segmentation providing a healthy boost to almost all key Marketing KPIs</a>.</p><h4>Churn</h4><p>You know that RFM model that you have? Well, keep the data from that because you’ll need it for your Churn model. Churn models predict the likelihood of a customer having left the orbit of your company</p><p>Now, there’s no such thing as a magic money tree, but a well developed and implemented Churn model is the next best thing. <a href="https://hbr.org/2014/10/the-value-of-keeping-the-right-customers">Acquiring new customers is between 5 and 25 more times expensive than retaining existing customers and increasing your retention rate by 5% results in a 25% to 95% increase in profit.</a></p><p>Most companies approach this challenge incorrectly, treating it as a binary yes or no answer (we call that a “classification problem” in the AI trade). As with anything, the truth is neither black nor white but in shades of grey and that’s why it’s much better to take a probability-based approach with a Bayesian Churn Model.</p><p>This uses previous customer behaviour to predict <strong>Churn Risk</strong> as a percentage rather than a simple yes or no.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UC7A4dDz4R3Ym6rIP-9Vqw.png" /><figcaption>Customer Churn explained!</figcaption></figure><p>Not only is this approach more quicker and more accurate, but it enables earlier warning, different intervention strategies for different levels of churn and if you’ve segmented your customer base with something like RFM, you can prioritise your intervention actions effectively too.</p><h4>Price Optimisation</h4><p>Whenever I think about pricing, I’m reminded of the excellent <a href="https://timharford.com/2006/01/starbucks-economics/">Starbucks Economics</a> article by Tim Harford and buying a coffee has never been the same for me since.</p><p>Setting the right price is both an art and a science. AI-based Price Optimisation, is a game-changer allowing businesses to maximise their profits while maintaining customer satisfaction.</p><p>Price Optimisation models use both historical and real-time data and insights to predict optimal pricing strategies. For instance, they can recommend when to offer discounts, how much to adjust prices during peak seasons, or when to increase prices and by how much without losing customers.</p><h4>Recommendation</h4><p>Unless you’ve been living under a rock, you’ll have heard of Amazon and Netflix, and these two tech behemoths have made recommendation engines famous.</p><p>These AI-powered systems analyse customer data, preferences, and behaviour to suggest products, services, or content that users are more likely to like, appreciate and most importantly part with their hard-earned cash for.</p><p>There are three main types of recommender system:</p><ul><li><strong>Content-Based: </strong>Identifies previously purchased or engaged-with items and recommends similar items (e.g. you bought a pair of gloves! Want some more gloves?)</li><li><strong>Collaborative Filtering</strong>: Identifies items that similar users have purchased or engaged with (e.g. people like you bought gloves! Want some gloves?)</li><li><strong>Hybrid</strong>: As you might expect, a mix of Content-Based and Collaborative Filtering.</li></ul><p>Which is best? As always that depends, but whilst Collaborative engines are a little more work, they’re more nuanced and generally a safer bet for increased ROI. A human can only have so many gloves.</p><p>In terms of impact? Well the fact that Amazon are the fifth biggest company in the world and built their whole business on recommenders, and <a href="https://www.businessinsider.com/netflix-recommendation-engine-worth-1-billion-per-year-2016-6?r=US&amp;IR=T#:~:text=And%20Netflix%20thinks%20it&#39;s%20worth,than%20%241B%20per%20year.%22">Netflix estimates that their recommendation system generates then $1bn a year</a> tells you all you need to know.</p><h4>Forecasting</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vN-2iiH3LmyCGU-C225auA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@nicolescapturedmoments?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Nicole Avagliano</a> on <a href="https://unsplash.com/photos/clear-glass-ball-on-gray-sand-during-sunset-TeLjs2pL5fA?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure><p>We can’t predict the future, but accurate forecasting is the next best thing.</p><p>Forecasting in marketing, allows businesses to stay ahead in a competitive landscape. It enables precise predictions of market trends and customer behaviour and early warning of potential rough times or choppy seas leading to better decision-making and informed intervention strategies.</p><p>But how do you do it, I hear you ask? Well as always, there are options:</p><ul><li><strong>Time Series Forecasting:</strong> Time series algorithms have been around for as long as time itself. Nearly. They’re still a good bet if you want to do something quickly or either don’t have or don’t want to include any data over and above the time-series itself and can produce accurate results at-scale.</li><li><strong>Machine Learning Forecasting: </strong>If you do have some additional data to go along with your time-series, the Machine Learning might be a good bet. You can also include time series Forecasts and their components in your model as well</li><li><strong>Deep Learning Forecasting: </strong>Deep Learning Forecasting is a newer field, accomplished through the use of something called a Long Short Term Memory (LSTM) network. Reports from the field indicate that it performs slightly better than Machine Learning forecasting to the tune of around 10% at the expense of additional complexity and processing power.</li></ul><h3>About</h3><p><a href="http://www.linkedin.com/comm/mynetwork/discovery-see-all?usecase=PEOPLE_FOLLOWS&amp;followMember=tom-s10">Tom Ewing</a> is Head of AI and Data Engineering at <a href="https://station10.co.uk/">Station10</a> and has developed a churn model to predict when he’s going to get fired.</p><p>Check out Station10&#39;s <a href="https://github.com/station-10/awesome-marketing-machine-learning">Awesome-Marketing-Machine-Learning list</a> repository on Github which contains a list of open-source AI tools with applications in marketing.</p><p><a href="http://www.station10.co.uk/">Station10</a> believe in open source and sharing knowledge and our Medium content is never paywalled, so please leave a clap if you’ve found this useful. This helps motivate us to write more content and gives us a better idea of what to write more about.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83ce6cf921f3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/station10/10-ways-ai-can-improve-marketing-outcomes-part-2-83ce6cf921f3">10 ways AI can Improve Marketing Outcomes (Part 2)</a> was originally published in <a href="https://medium.com/station10">Station10</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding the (Other) Row in Google Analytics 4: Expanding Insights with Expanded Data Sets]]></title>
            <link>https://medium.com/station10/understanding-the-other-row-in-google-analytics-4-expanding-insights-with-expanded-data-sets-757f2f8c7da1?source=rss----55b3457a2d36---4</link>
            <guid isPermaLink="false">https://medium.com/p/757f2f8c7da1</guid>
            <category><![CDATA[google-analytics-4]]></category>
            <category><![CDATA[google-analytics-tips]]></category>
            <category><![CDATA[google-tag-manager]]></category>
            <category><![CDATA[ga4]]></category>
            <dc:creator><![CDATA[Kerry Jones]]></dc:creator>
            <pubDate>Tue, 02 Jan 2024 10:16:53 GMT</pubDate>
            <atom:updated>2024-01-10T13:36:15.010Z</atom:updated>
            <content:encoded><![CDATA[<p>Google Analytics 4 (GA4) can be a powerful tool for understanding user behaviour and site performance. However, within its reports and explorations, users commonly encounter the mysterious “(other)” row. But what exactly is it, and how can expanded data sets be used to uncover deeper insights?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kN5sXvC8wlxjP3f-CHeDfw.png" /><figcaption>Overcoming data limits in GA4</figcaption></figure><h3><strong>Understanding the (Other) Row</strong></h3><p>The “(other)” row emerges when the number of rows in a table surpasses its designated row limit, which can often not be sufficient. Essentially, when GA4 encounters this limit, it showcases only the most prevalent dimension values and consolidates less common ones under the “(other)” row.</p><p>For instance, suppose your website has 150k unique pages, yet the row limit for the Pages and Screens report stands at 100k. In that case, GA4 will arrange the rows from most to least common and amalgamate the last 50k rows under the “(other)” row. This causes a lot of confusion for our clients when they do not know what this data is and can lead to mistrust in the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/0*GotXvQe6RU8Gqgit.png" /></figure><h4><strong>Why Does It Appear?</strong></h4><p>The cardinality of dimensions plays a crucial role. Each dimension in GA4 can possess various assigned values. When a dimension holds an extensive array of values (high cardinality dimensions), the likelihood of encountering the “(other)” row amplifies. A dimension is typically considered high cardinality if it possesses <a href="https://support.google.com/analytics/answer/13331684?hl=en#:~:text=Any%20dimension%20with%20more%20than%20500%20values%20should%20be%20considered%20a%20high%2Dcardinality%20dimension">more than 500 values</a>.</p><p>If a report involves multiple dimensions, the potential row count multiplies based on the number of values for each dimension. For instance, a report comprising only Device (with 3 values) and Browser (with 7 values) has the potential to generate up to 21 rows. Whereas reports utilising high cardinality dimensions could easily reach thousands, or even millions, of rows.</p><h4><strong>Best Practices to Mitigate the (Other) Row</strong></h4><p>The “(other)” row occurring frequently can cause big problems for clients and their users. But there are some best practices that can be followed to help reduce this likelihood:</p><ol><li><strong>Leverage Existing Dimensions:</strong> Use predefined dimensions rather than creating custom ones, especially if they serve the same purpose.</li><li><strong>Be Wary of High-Cardinality Dimensions:</strong> Using dimensions with an extensive array of values should be limited, as they can push your property closer to, or beyond, row limits.</li><li><strong>Avoid Unique Identifiers in Custom Dimensions:</strong> Instead, employ the User-ID feature for distinct user identification.</li><li><strong>Opt for Standard Reports:</strong> These reports employ aggregate tables, reducing the likelihood of data getting condensed.</li><li><strong>Channel High-Cardinality Data Wisely:</strong> Consider routing high-cardinality data through event parameters or user properties without registering them as custom dimensions, allowing use without affecting property limits.</li></ol><p>More can be read about the “(other)” row in <a href="https://support.google.com/analytics/answer/13331684?hl=en#:~:text=The%20(other)%20row%20is%20a,under%20the%20(other)%20row.">Google’s official documentation</a>.</p><h3><strong>Leveraging Expanded Data Sets</strong></h3><p>Despite following all of these best practices, the “(other)” row can still get in the way of regular reporting and cause issues for clients. However, with a little work, it is possible to find out more about these rows of data with the use of <a href="https://support.google.com/analytics/answer/12867885?hl=en#zippy=%2Cin-this-article">expanded data sets</a> which allow users to elevate the row limit in reports or explorations to a maximum of 2 million rows, significantly enhancing reporting capabilities.</p><h4><strong>Limits and Caveats of Expanded Data Sets</strong></h4><ul><li><em>Availability</em><strong>:</strong> Limited to Google Analytics 360 customers only.</li><li><em>Quantity</em><strong>:</strong> Up to 100 expanded data sets per GA4 360 property.</li><li><em>Usage</em><strong>:</strong> Recommended for ongoing detailed data needs rather than one-off reporting.</li><li><em>Eligibility</em><strong>:</strong> Some reports, like Advertising reports, aren’t currently supported for expanded data — though this may change at some point.</li></ul><h4><strong>How to Harness Expanded Data Sets</strong></h4><p>Requesting and managing expanded data sets involves a few key steps:</p><p><em>1. Requesting</em><strong>:</strong> Access an eligible report, click the data quality icon, and select “Expand this data.” Follow the prompts to create an expanded data set.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/961/1*w45gg4Olngi4uVXSZfD7KA.png" /></figure><p><em>2. Managing</em><strong>:</strong> Navigate to Admin and select “Expanded data sets” to review and delete any sets not in use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*lu8WSMFCoFxsE_lU-mRk0w.png" /></figure><h3><strong>Final Thoughts</strong></h3><p>It is likely the “(other)” row may continue to cause confusion and pain for users, especially when it appears as the most common row in a report. However, understanding its nuances and the use of expanded data sets is a helpful workaround to allow for improved depth and accuracy of GA4 reporting and richer analytics.</p><p><a href="http://www.station10.co.uk/">Station10</a> believe in open source and sharing knowledge and our Medium content is never paywalled, so please leave a clap if you’ve found this useful. This helps motivate us to write more content and gives us a better idea of what to write more about!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=757f2f8c7da1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/station10/understanding-the-other-row-in-google-analytics-4-expanding-insights-with-expanded-data-sets-757f2f8c7da1">Understanding the (Other) Row in Google Analytics 4: Expanding Insights with Expanded Data Sets</a> was originally published in <a href="https://medium.com/station10">Station10</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[10 ways AI can Improve Marketing Outcomes (Part 1)]]></title>
            <link>https://medium.com/station10/ai-improve-marketing-outcomes-pt1-95e4ef30ca3d?source=rss----55b3457a2d36---4</link>
            <guid isPermaLink="false">https://medium.com/p/95e4ef30ca3d</guid>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[digital-marketing]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Tom Ewing]]></dc:creator>
            <pubDate>Mon, 18 Dec 2023 09:08:35 GMT</pubDate>
            <atom:updated>2024-01-22T06:08:15.912Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VBtcafT6e_qakC_-iSYCmA.jpeg" /><figcaption>10 AI Techniques to improve marketing outcomes</figcaption></figure><h4>GenAI is all the rage nowadays. That’s no bad thing and Large Language Models (LLMs) are already disrupting marketing and eCommerce. But there are other ways AI can boost marketing outcomes that are quicker, easier and most importantly cheaper.</h4><p>In this article we’ll introduce the ten techniques and explore five of them in a little more detail. <a href="https://medium.com/p/83ce6cf921f3">Check out Part 2 for the detail on the remaining five</a>!</p><h3>The 10 AI Techniques to improve your Marketing Outcomes</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IchuT9jIpQ86FLMw_zh3Dg.png" /><figcaption>Ten AI techniques to improve your marketing outcomes: Data Driven Attribution, Media Mix Modelling, Geo-Testing, Causal Uplift, Segmentation, Churn, Propensity, Price Optimisation, Recommendation, Forecasting.</figcaption></figure><h4>Data Driven Multi-Touch Attribution (DDMTA)</h4><p>“Reports of my death are greatly exaggerated” is popularly attributed to Mark Twain, but it could just as easily be applied to Multi-Touch Attribution which is still very much alive and kicking despite new privacy controls, and continues to be highly indicative digital marketing effectiveness.</p><p>Whilst heuristic measures are generally a good indicator, more data driven methods can take MTA to the next level. The three most popular are:</p><ul><li><strong>Markov Chains (Probability)</strong></li><li><strong>Shapely Values (Game Theory)</strong></li><li><strong>Additive Hazard (Survival Analysis)</strong></li></ul><p>Each of these tackle the MTA challenge a different way. Markov uses probability, Shapely uses game theory and the Additive Hazard is the only model to account for the time period between customer touchpoints.</p><p>Having implemented these for our customers, we found the <strong>Markov</strong> model placed value of teams of channels working together to drive conversions, whereas the <strong>Survival Analysis </strong>model tended to like quicker conversions, given its accounting for time.</p><p>Revealing these kinds of insights allows better evaluation of channel performance and improved spend optimisation as a result.</p><p>There is a wealth of evidence for the benefits that Data Driven MTA provides with <a href="https://www.thinkwithgoogle.com/marketing-strategies/automation/lenovo-radically-new-view-results/">Lenovo radically improving their view of cross-channel efficiency</a> and <a href="https://www.clickz.com/the-roi-of-multi-touch-attribution-models-one-company-saved-250k-in-google-ads-spend/?amp=1">AVADOO saving $250,000 in spend and increasing ROI by 30%</a>.</p><h4>Propensity</h4><p>So, you know those touchpoints we just talked about? Well there’s another use for those via <strong>Propensity Modelling</strong>. This is a statistical concept that looks at the likelihood that someone will perform an action in future based upon historical actions they’ve performed.</p><p>It has a wide array of applications in marketing including buying / conversion, repeat business, retention &amp; churn.</p><p>Propensity Models work well with lots of data so combining marketing touchpoint data with website usage data alongside first party data can create richer views based upon both habits and demographics.</p><p>Do Millennial customers convert differently to Generation Z customers? Do customers with dogs do something customers with cats don’t? Does signing up for our newsletter increase likelihood of high-value transactions? Propensity modelling can tell you all of that and a lot more.</p><h4>Media / Marketing Mix Modelling (MMM)</h4><p>Media Mix Modelling is nothing new, and has been around since the Mad Men days of the 1950s. What is new is the idea of a <strong>Bayesian Media Mix Model </strong>which<strong><em> </em></strong>allows data from other sources (e.g. MTA), experiments and tests to be fed into the model to improve the accuracy of its predictions.</p><p>Google and Facebook have pioneered this approach, releasing open-source tools such as <a href="https://github.com/google/lightweight_mmm">lightweight_mmm</a> and <a href="https://facebookexperimental.github.io/Robyn/">Robyn</a> that allow companies to develop their own Next-Generation Bayesian MMMs free of licensing costs. As you would expect both are cutting-edge.</p><p>A number of companies have improved their Media Mix and increased ROI with such models, most notably <a href="https://engineering.hellofresh.com/bayesian-media-mix-modeling-using-pymc3-for-fun-and-profit-2bd4667504e6">Hello Fresh</a> and <a href="https://www.thinkwithgoogle.com/marketing-strategies/video/increasing-roi-in-the-media-mix-loreal-case-study/">L’Oreal</a>.</p><h4>Geo-Testing / Experimentation</h4><p>Definitely a new kid on the block, Geo-Testing (sometimes also called Geo-Experimentation) serves as a way to unite <strong>Above the Line (ATL)</strong> and <strong>Below the Line (BTL)</strong> streams into a <strong>Through the Line (TTL)</strong> approach.</p><p>The premise is simple. You divide up your market into regions and use pairs of regions with similar characteristics (matched markets) as test and control groups for campaigns and strategies. This gives you a tangible uplift figure to inform wider rollout.</p><p>The good part? Since you’ll have a number of regions, you can run a number of tests concurrently which will improve the cadence of your testing leading to quicker impact on that all important bottom line.</p><p>The best part? You can feed the results of those tests can feed into your <strong>Bayesian Media Mix Model </strong>to both improve its accuracy and scenario model the impact on the market as a whole.</p><p><a href="https://www.aboutwayfair.com/careers/tech-blog/how-wayfair-uses-geo-experiments-to-measure-incrementality">Wayfair</a> and <a href="https://medium.com/asos-techblog/accelerating-geo-testing-at-asos-edbdf123a98b">ASOS</a> both use it to great effect and the <a href="https://hbr.org/2023/03/a-new-gold-standard-for-digital-ad-measurement">Harvard Business Review hailing it as the Gold Standard for Digital Ad Measurement</a>.</p><h4>Causal Uplift / Causal Inference</h4><p>Whilst ChatGPT has hogged the headlines, Causal Inference has sailed quietly and efficiently into the marketing world with less fanfare, somewhat surprisingly given that <a href="https://news.stanford.edu/2021/10/11/guido-imbens-wins-nobel-economic-sciences/">three of its key researchers won the Nobel Prize</a> for their work on it.</p><p><strong>Causal Inference</strong> goes beyond simple correlation by using additional data to account for spurious correlations and isolate causal impact.</p><p>An often used example is that of Ice Cream causing shark attacks. If we look at the correlation between these two pieces of data we would see a link.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/1*dk4YogCnU9qkOetSJrF1HQ.png" /><figcaption>The correlation between ice cream consumption and shark attacks.</figcaption></figure><p>Causal Inference goes beyond this by accounting for other factors that might be responsible for the correlation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RuVOU4lVWm0NLLVVXPwOpw.png" /><figcaption>The causal relationship between various factors and shark attacks.</figcaption></figure><p>Since most of these other factors correlate with both ice cream consumption and shark attacks, Causal Inference can identify this relationship where traditional approaches can’t.</p><p>In terms of applications for marketing, it can improve the accuracy of traditional A/B or geo-testing approaches, glean deep-insight into why certain things are happening and to measure the otherwise immeasurable such as the impact of a reward programme.</p><p>Despite being an emerging technique, it’s got traction. <a href="https://www.uber.com/en-GB/blog/causal-inference-at-uber/">Uber are using Causal Inference to improve user experiences</a> and M &amp; S are using it to <a href="https://www.youtube.com/watch?v=IJ-vz0BqpHU">measure and optimise their Sparks reward programme</a>.</p><p>Remember to check out <a href="http://Segmentation, Churn, Price Optimisation">Part 2 for more details on Segmentation, Churn, Price Optimisation, Recommendation and Forecasting</a>.</p><h4>About</h4><p><a href="http://www.linkedin.com/comm/mynetwork/discovery-see-all?usecase=PEOPLE_FOLLOWS&amp;followMember=tom-s10">Tom Ewing</a> is Head of AI and Data Engineering at <a href="https://station10.co.uk/">Station10</a> and thinks that Ice Cream does indeed cause shark attacks. It’s delicious and therefore makes you more delicious to sharks when you eat it.</p><p>Check out our <a href="https://github.com/station-10/awesome-marketing-machine-learning">Awesome-Marketing-Machine-Learning list</a> repository on Github which contains a list of open-source AI tools with applications in marketing.</p><p><a href="http://www.station10.co.uk/">Station10</a> believe in open source and sharing knowledge and our Medium content is never paywalled, so please leave a clap if you’ve found this useful. This helps motivate us to write more content and gives us a better idea of what to write more about.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95e4ef30ca3d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/station10/ai-improve-marketing-outcomes-pt1-95e4ef30ca3d">10 ways AI can Improve Marketing Outcomes (Part 1)</a> was originally published in <a href="https://medium.com/station10">Station10</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>