Add basic retail variables and events to rules in Experience Platform tags
- Topics:
- Tags
CREATED FOR:
- Beginner
- Developer
This video demonstrates how to use a special product string extension in tags to track basic retail variables and events, like product views, cart additions, and checkouts.
Transcript
Hello my people, this is Doug. In this video I want to talk to you about adding retail variables and events to launch rules. So here we are in our SDR. And we want to be able to create rules that run when we are on a Product View Page or when we add something to a cart, when we checkout, and when we order. Now we’ve created some data elements here, we are looking at this product event element in our data layer. And let’s take a look at that. In fact, if we go to our site here, and we go to Men’s Fine Apparel, for example, and we decide that we need a tuxedo really bad. And we click on that, and this is a Product View Page, right? So when we view this page, and I just look at the source, our Data Layer has a product section, and we’ve got this Product Event equals Product View. So we want to run a rule in Launch, whenever Product Event equals Product View, and we want to capture that event in our events variable, and we want to capture the Product ID in the Product String. Now we could use a product name, but it’s best practice really to use something that’s not going to change. And it’s very common to use like a skew, because at some point, if they decide to change this to you know, black tuxedo, then that would be a whole new product whereas the product ID would not change. And later on, we can actually create a classification report for the friendly name anyway, so that we can look at the nice to look at names in our product classification report. Anyway, so we’re good there. So we’re going to use a product ID. And we’re going to use this product event. Now let’s jump over to Launch, and we’re in our rules section here. And we already created here a special page, Load Rule for our search results. And this is going to be very similar, because we are going to create a rule to only run when there’s a product view. In fact, if we go back to our SDR, we’re going to have to have a rule for each one of these cause we want to run one rule when it’s a product view, second one when we add a cart, one for checkouts, one for orders, right. So we’re going to add those later. But let’s start with Product View. Now, this is going to be very special one because we’re going to actually use a different extension or an additional extension. So if I click over to the extensions, you can see it I’ve actually added this Product String Extension as well. If I go to the catalog, actually let me show you this. Start typing in like prod, you’ll see that there are actually three extensions, one by Search Discovery, one by Blast Analytics and Marketing, one by Adobe Consulting Services that work with the Analytics Product String. So you’re welcome to go through these, try any of them, all of them. By the time you listen to this, there might be more. So use whatever you want. I’m going to show you the one for the Analytics Product String on this one. So I’ve already installed that, I can click Configure. And you can see that there’s really nothing to configure here, but it does give you some instructions. And we’re going to want to know this. To use this extension, simply add the Adobe Analytics Product String, set S on products action to your rule. So we’re going to set this action when we going to run this. And we must accompany that with an analytics set variables action, that also sets a corresponding success event, in this case, Product View. And this has to happen before you send the beacon. Okay, so remember those three things. We’re going to use this extension, when using Analytics Extension, and we’re going to do it all before we send the beacon. So, I’ve already installed that so I can just hit cancel, but you’ll go ahead and install that one. Now we go to Rules to create this special rule. So I’m going to run this one also on DOM Ready 50. So that it runs before the default page Load Rule, which is running at 60. And so as long as we have a number that’s lower than that it’ll run before it. I’ll just use 50, that’s fine, that’s a default, because we just need to run it before this one. This one has the beacon. And we’re going to set stuff just like we did here on a search. We’re going to set stuff if it’s a Product View Page, and then let this send in the beacon. So add a new rule.
We will call it Product View DOM Ready 50.
On events we want, DOM Ready all the way at the bottom there. 50 is great, keep changes. Okay, now our condition, conditions are if in fact that going back to our source there. If Product Event equals Product View. In fact, I’m going to copy that right there.
And go back into launch. And in this condition configuration regular, so run this when you know this happens. And that is when there is a value comparison. It’s right near the top. And when the Product Event, yeah, Product Event, select it, equals and I’ll just paste that in, Product View.
And I’m even going to put case insensitive there just in case one of the pages has it said like Product View in lowercase or something. So as long as a Product Event is set to Product View, we want this to run, great, keep changes. Now we do the rest of the stuff that is said in that extension. So we add an action. This is going to use that product string to help build it. Now wants to know what is our action type. So we’re going to set s to products as it said, and select our event. In this case, we’re going to do a Prod View, that’s our event. And needs to know that so knows how to create the Product String out of this stuff that we have down here. So we just need to put in our data element for the Product ID or name, click on that. And again, we’re going to use our Product ID.
And we are good to go there. That was step one, keep the changes.
It said we need to follow that. Click on the plus, with an Analytics, set variables where we set the event, so we go down to the Events and set Prod View, that’s it. Okay. So we can even go in here if we wanted to, and say set Prod View Event.
And we’ll see that that is there, we’ve set the Product String, we’ve set the Prod View Event. And then we don’t set the beacon because that actually happens in the other rule. So that’s it. Now we just save that to library and build.
And that’s done. And it was successful, we’re good. So now we can go check it out. So let’s go to our site. And we can go back to the homepage if we want to, and let’s go ahead and open our debugger, clear all our requests. And if we run that homepage, it’s actually move that to the left so we can see it. So on the homepage, of course, still, eVer one Still our page name, and our event is Event one normal stuff, K page level stuff. But we go into Fine Apparel. We need that talks and we have over here.
I had for the page, that was the men’s section. And then now we have our hit for this page. And this is a Page View or a Prod View. So now in addition to eVer one and two and stuff like that, we have our Prod View event along with event one of course.
and we have our Product String. So now we have those that were built out by our Product String Extension along with the Analytics Extension. And now we can do that on any of those pages, where we have a Prod View. So if we go to the women’s section may be active wear, and we look at this tie waist puffer jacket, we can also go back over here and go to the end, and we have our Prod View Event.
We’ve got our products, et cetera. Here’s our product ID, 100240.
So that created the Product String for us, and we’re good to go. Now the truth of the matter is, you would do this exact same thing for the other non purchase products events. So if I go back to the SDR, you do the exact same thing for Cart Add, and for Checkout. So you need to see in this case, what is in that product event, and make sure that you push it into that rule to run only when that page is there. Now, on your site, some of these things can be different. But let’s just talk about what you have to do. So first, you have to determine that one of these things happened. So for a Product View Page, for example. How can you determine that it’s a Product View Page? Mine was in the Data Layer, yours might be simply by looking at another variable on your page to see if it’s populated. So again, use that criteria in the rule to run it and then you just need to set those values into the Product String and into the Events. So the Product String, I recommend again, using that Product String Extension, at least one of them. And then the product event in that case is a Prod View. And you’ll just need to set those. So again, same exact thing on Cart View or Cart Addition. You’ll just need to know when do they add something to the cart? Okay, run that stuff. Okay, when do they do a checkout? Okay, run that same stuff. And then we will in another video, since this one’s getting a little long, we will do the orders which is a little bit special because it adds a little bit more information. So we’ll get to that another video.
Analytics
- Analytics tutorials
- Introduction to Analytics
- What is analytics
- What Can Adobe Analytics Do For Me?
- How Adobe Analysis Workspace Can Change Your Business
- It’s More Than Data. It’s Customer Intelligence
- Adobe Sensei and Adobe Analytics
- Customer Use Case - ServiceNow
- Customer Use Case - Accent Group
- Customer Use Case - The Home Depot
- Summit 2019 Super Session - Travel and Hospitality
- Summit 2019 Super Session - Retail
- Summit 2019 Super Session - High Tech
- Strategy & thought leadership
- Transitioning from other platforms
- Analytics Basics
- Customizing the UI
- Getting Help
- Analysis Workspace
- Analysis Workspace Basics
- Analysis Workspace quick intro
- Analysis Workspace overview
- Navigate the new landing page
- Start your analysis with a pre-built report
- Building a Workspace project from scratch
- Create and manage custom templates in Analysis Workspace
- Understanding how data gets into your Analysis Workspace project
- Foundational metrics in Adobe Analytics
- Component management in Analysis Workspace
- Selecting a report suite in Analysis Workspace
- View Analysis Workspace performance metrics
- Create bot reports
- Tips and Tricks
- Navigating Workspace Projects
- Data Dictionary in Analysis Workspace
- Starting your first project
- Training tutorial template
- Use folders in Analysis Workspace
- Copy and insert panels and visualizations
- Create a table of contents
- Right-click for Workspace efficiency
- Keyboard shortcuts
- Annotations
- View density
- Use filters
- Use multi-select drop-down filters
- Real-time reports
- Using Panels
- Using Tables, Visualizations, and Panels in Analysis Workspace
- Quick Insights Panel in Analysis Workspace
- Using the Attribution IQ Panel
- Media Concurrent Viewers Panel in Analysis Workspace
- Media Playback Time Spent Panel
- Using Drop-down Filters
- Using Panels to Organize your Analysis Workspace Projects
- Choose segments for a panel
- Multiple Report Suites in Analysis Workspace
- Next/Previous and Page Summary Workspace Panels & Reports
- Understanding attribution panel and lookback windows
- Building Freeform Tables
- Understand your data–freeform tables
- Use the left rail to build freeform tables
- Easy drag and drop to blank projects
- Work with dimensions in a freeform table
- Work with metrics in a freeform table
- Row and column settings in freeform tables
- Freeform table totals
- Use the freeform table builder
- Right-click for workspace efficiency
- Reorder static rows
- Use Attribution IQ in freeform tables
- Cross-sell analysis
- Freeform table filters
- Time-parting dimensions
- Visualizations
- Visualization types and overview
- Visualization use cases
- Data visualization playbook
- Getting data into visualizations
- Using component drop-downs in Workspace
- Area and area stacked visualizations
- Bar and bar stacked visualizations
- Bullet graph visualization
- Donut visualization
- Histogram visualization
- Unlocking insights with histograms
- Line visualization
- Combo charts
- Adding trend lines to line visualizations
- Map visualization
- Summary number and summary change visualizations
- Key metric summary visualization
- Text visualization
- More than words - Using text visualizations and descriptions
- Scatterplot visualization
- Treemap visualization
- Venn diagram visualization
- Use the cumulative average function to apply metric smoothing
- Flexible layouts
- Changing the scale/axis on visualizations
- Dimension-graph live linking
- Set the granularity for visualizations
- Link inside or outside of your project
- Customize visualization legends
- 100% stacked visualizations
- Table and visualization data source settings
- Build a time-parting heatmap
- Analyzing Customer Journeys
- Applying Segments
- Apply segments to your Analysis Workspace project
- Apply ad hoc segments
- Use different Attribution IQ models with segments
- Choose segments for a panel
- Use segments as Dimensions in Analysis Workspace
- Use segments to limit data in Analysis Workspace
- Quick segments in Analysis Workspace
- Building Customer Journey Segments
- Building Customer Journey Segments - Part 2
- Metrics
- Dimensions
- Calendar and Date Ranges
- Curate and Share Projects
- Attribution IQ
- Using Cross-tab Analysis to Explore Basic Marketing Attribution
- Adding side-by-side comparisons of Attribution IQ Models
- Attribution IQ in Calculated Metrics
- Using Attribution IQ in Freeform Tables
- Using the Attribution IQ Panel
- Using different Attribution IQ models with segments
- Algorithmic Model in Attribution IQ
- Custom Look-back Windows in Attribution IQ
- Cohort Analysis
- Cohort Analysis in Analysis Workspace
- Understand your data–Cohort Tables
- Overview of Cohort Tables
- Cohort Table Settings
- Churn Analysis with Cohort Tables
- Cohort Analysis Using Any Dimension
- Latency Analysis with Cohort Tables
- Calculate Rolling Retention in Cohort Tables
- Use Cohort Analysis to Understand Customer Behavior
- Voice Analytics
- How to Manage and Track Your Voice Assistant App Data
- Understand Differences Across Voice-Enabled Devices
- Finding Opportunities To Increase Engagement for Voice Apps
- Reducing Error Rates and Improving Success Rates in Your Voice App
- Understand User Behavior on Voice Assistants
- Understanding the User’s Voice Journey
- Analysis Workspace Basics
- Administration
- Key Admin Skills
- Creating an empowered community
- Simplify and spend less time training users
- Getting the Right People on Your Analytics Team
- Gaining a seat at the table
- Telling impactful stories with data
- Translating Adobe Analytics technical language in a non-technical way
- Working cross-functionally
- Are you asking the right questions?
- Admin Tips and Best Practices
- Download the implementation playbook
- Audit your data dictionary
- Create standardized naming conventions
- Create standardized code templates
- Create basic videos and training
- Create an internal Adobe Analytics site
- Use a global report suite
- Create a news & announcements project
- Drive success with executive summary dashboards
- Create Operational Dashboards
- Company Settings
- User Management
- Manage Report Suites
- How to Configure General Account Settings
- Customize Calendar Settings
- Configure Paid Search Detection
- Set up marketing channels
- Create marketing channel processing rules
- Manipulating incoming data with Processing Rules
- Configuring Traffic Variables (props)
- Configure traffic classifications
- Configure hierarchy variables
- Configuring Variables in the Admin Console
- Configure conversion classifications
- Configuring List Variables
- Configure Finding Methods
- Set Internal URL Filters
- Configuring Zip and Postal Code Settings
- Enable the Timestamp Optional setting
- Configure bot rules in Analytics
- Data Governance and GDPR
- Traffic Management
- Logs
- Key Admin Skills
- Implementation
- Implementation Basics
- Experience Platform Tags
- Implement Experience Cloud solutions in websites using Tags
- Basic configuration of the Analytics extension
- Configure library management in the Analytics extension
- Configure general settings in the Analytics extension
- Configure global variable settings in the Analytics extension
- Use custom code in the Analytics extension
- Use a data layer to set variables
- Use doPlugins and implementation plug-ins
- Configure easy download link tracking
- Configure easy exit link tracking
- Prepare Tags for your Analytics implementation
- Create data elements for the Analytics implementation
- Create a global page load rule
- Validate the global page load rule
- Create rules for special pages
- Create rules for success events
- Publish Tags libraries to stage and production
- Using JavaScript
- Components
- Segmentation
- Segment builder overview
- Finding and creating segments
- Rolling date ranges in segments
- Segment comparison in Analysis Workspace
- Segment containers
- Segment management and sharing
- Applying segments in Analysis Workspace
- Using segments as dimensions
- Using segments to limit data
- Differences between the segment builder and quick segments
- Sequential segmentation
- Before/After sequences in sequential segmentation
- Segmentation on distinct dimension counts
- Dimension models in segmentation
- Use ‘equals any of’ in segmentation
- Analytics Insider Webinar - Customer Segmentation Strategies
- Now just wait a segment… Using segmentation to discover new insights
- Calculated Metrics
- Calculated metric builder overview
- Calculated metrics - implementation-less metrics
- Calculated metrics - segmented metrics
- Calculated metrics - functions
- Approximate count distinct function in calculated metrics
- Quick calculated metrics in Analysis Workspace
- Manage your calculated metrics
- Attribution IQ in calculated metrics
- Use dimensions in calculated metrics
- Take your data analysis to the next level with calculated metrics
- Classifications
- Virtual Report Suites
- Activity Map
- Segmentation
- Additional Tools
- Exporting
- From the UI
- Data Warehouse
- Data Feeds
- Report Builder
- Upgrade and reschedule workbooks
- Add Segments to Multiple Requests at Once in Report Builder
- Anomaly Detection in Report Builder
- Edit Metrics across Requests
- Using Report Builder to learn the Adobe Analytics API
- Get started with Report Builder
- Schedule a Report Builder request
- Use Report Builder advanced delivery options for Power BI
- Integrations
- Experience Cloud
- Audience Manager
- Target
- Adobe Advertising DSP
- Configuring Advertising Analytics
- Implementing tracking templates into search engines
- Introduction to the Adobe Advertising DSP integration
- Create a Pre-launch campaign analysis
- Report on Advertising DSP marketing channels
- Create Analytics site journey profiles
- Create Analytics segments for activation and reporting
- Create Advertising DSP alerts with Adobe Analytics
- Create Analytics custom metrics with Advertising DSP data
- Create Advertising DSP site entry reports
- Create Advertising DSP dashboards
- Ad Hoc Analytics
- Power BI
- Magento
- Data Science
- Vertical-Specific
- Media Analytics
- Mobile App Analytics
- APIs
- Analysis Use Cases