Create data elements in Experience Platform tags for Analytics implementation
- Topics:
- Tags
CREATED FOR:
- Beginner
- Developer
This video shows how to create data elements for your Analytics implementation in tags based on the variables and events documented in a Solution Design Reference (SDR) document.
Transcript
Hey everybody, it’s Doug. In this video, I want to talk about creating data elements for your analytics implementation in Launch. So here we are in Launch, and we’re going to go over to the Data Elements. Click on that. And we’re going to create some data elements. I don’t have any yet. So we’re going to get those going. So, how do I know which data elements I need to create? Well, we go back to our SDR, right? Our solution design. Our blueprint for our site, to see where we’re going to get the data. And, in this case, we’re going to get a bunch of it from the data layer. We’re going to get one from a query string parameter, et cetera, but we want to set these data points into data elements so that we can use them in rules, and throughout Launch. So we’ll just dive right in here. I don’t have a ton of them that I need to create, but I have a few different types. I’m going to start with Page Name and Site Section, and we see where we’re going to pull those from here. And you can see that if I go to a page, if I go, for example, to one of the pages on my site, and I look at the source, I view the source, you’ll see that there’s actually digitalData, page, pageName, and there’s also digitalData, page, siteSection. And so I can drill down on those to grab those values dynamically. So we go back into Launch, create new data element, call this one Page Name, and we’re going to select the data element type, and this is a JavaScript variable. And here it is, and you can see even the example has dataLayer.products1.price, et cetera, so just an example there. So we will go, again, back to our data layer, because we have already grabbed this, and I’ll select digitalData.page.pageName and paste that right in. So now we have that, we can decide how long that needs to last. It can be, really, no storage, because it’s going to be coming in on every page. It’s a good idea to clean the text in case there’s any spaces or anything around it, and you can decide whether to force a lower-case value or not. If you think it might come in in different cases, you may want to go ahead and force lower-case value. So I’ll do that. And then we just save that. And that will automatically start that build, but I’m going to go ahead and create another one for Site Section.
Again, JavaScript variable. And I’ll just jump over and we will take the Site Section path there and put that in. Do the same thing. And save and build that. And you can see that these will go pretty fast as long as you know what those paths are to that data layer element. So if we jump back now, well, I know that if I want to grab one that is in the query string parameter, and that is for the search term, and we’ve determined that when we do a search on the page, it goes up into a query string parameter of q, so let’s create that one. Now we create a new data element. This is the search term. And this time, instead of JavaScript variable, we’re going to go down to query string parameter. And that’s easy, just put in a q. And in case they put a capital q or a lower-case q, it’ll grab either one of those, and we’ll do this again, and maybe we’ll go ahead and force lower-case value this time, because you never know if people are going to search upper-case, lower-case, et cetera, so we’ll do that. And then we just save that one. We’re really movin’ along here. Okay, if we jump back to our SDR again. So we’ve done the data layer for the page name, site section, and those are also down here, going into props. We know that we did the query string parameter. So we also need the product ID, so we’ll need that one as we go through the cart and those kinds of things. And so I’ve also listed that one here, but I just want to make sure what that one is, and so I’m going to go back to my site and go to the page, when I’ve actually purchased a product, or you can look at one where there’s been a checkout of a product, et cetera. In any case, there’s a product ID, and there’s a product name. This is a tuxedo and then here’s the SKU. It’s a really good practice in products to use something that’s not going to change. And so that’s typically the SKU, and we can use classifications later to put a friendly name on it like this, so I recommend that we use the product ID on that, so we’ll need digitalData.product.productID, and so I think that’s what I had in there. So let’s just take a look here, and I just want to make sure that there’s no space. It looked like there was, yeah. So let’s take that space out. digitalData.product.productID looks good.
So we’ll grab that one.
And we’ll go back to Launch, create another data element for the product. We even put product ID. This will be a JavaScript variable, and there’s that one. And we don’t need to force lower-case on that, but we’ll clean text. Okay, just a couple more here. So we’ve done the product ID right there. We’ve got these three, which covers those two as well. Now the only other thing that we need, really, is this product event, because on different pages throughout that checkout process, we’re going to have to see, is the product event set at product view, or is it cart view, checkout, purchase, et cetera. And I can see that I capitalized that bad, so it’s probably this one. We’ll have to double check that. If we go back to one of our pages here and look at the source, and it is productEvent like this, so digitalData.product.productEvent with capital E. And you can see it’ll be checkout or it’ll be purchase or it’ll be whatever, so. We’re going to go back in, and we’re going to grab it from this one that looks good here.
And then we’ll go to Launch, add another data element, product event, again, with a JavaScript variable.
And add that one.
Looks good.
Clean the text.
Save it. And you’ll see doing this, of course, it saved it to our working library, so we don’t have to go into publishing and run another build, because it was building every time, but in any case, those are the data elements that we needed according to our solution design. We’ll be using the product event and seeing what that is in our rules, we’ll be using our page name and site section and search term and I almost forgot the product ID. Cart ID, no we did product ID, we need cart ID to put into the purchase ID, so we’ll do one more.
And we’ll call this Order ID.
And we’ll put that in there and it’s actually cart ID in our data layer, and that is that, folks. So, hope this was helpful, and you’ll go through your STR, create all the data elements that you need. Good luck.
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
- Configure general account settings
- Customize calendar settings
- Configure paid search detection
- Set up marketing channels
- Create marketing channel processing rules
- Manipulate incoming data with processing rules
- Configure traffic variables (props)
- Configure traffic classifications
- Configure hierarchy variables
- Configure events and variables
- Configure conversion classifications
- Configure 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