Using the Classification Rule Builder in Adobe Analytics
- Topics:
- Classifications
CREATED FOR:
- Beginner
- User
Learn to use the Classification Rule Builder to automatically apply rule-based classifications in Adobe Analytics.
Transcript
In this video, we’re going to look at the Adobe Analytics Classification Rule Builder and how you can use it to create automatic, rule-based classifications for variables across your report suites. Rules defined in Rule Builder are processed frequently, reducing the need for you to manually upload classifications regularly. For example, you could use the Classification Rule Builder to define a rule set that helps you bucket pages with various page names into a more friendly classification or into a bucket that has a higher level of granularity. Another example use case would be to break out a wide variety of variables that are being passed in with a delimiter. So if you’re capturing within your campaign code the medium, the publisher, and the campaign name, all of these can be broken out into separate variables on the campaign using the Classification Rule Builder. Before getting started with classification rules, you’ll need to have already created classifications based on your variables. For this walkthrough, I’ll be using the marketing channel variable that’s based on my campaign variable within my selected report suite. See the supporting documentation to learn how to create classifications. Now let’s look at how to set up classification rules using the Classification Rule Builder. To navigate to the Classification Rule Builder, click Admin, Classification Rule Builder, and from here you can see a list of any existing rule sets that have already been created. To create a new rule set, click Add Rule Set and provide a relevant name. Next, you want to select a report suite and variables and start defining your classification rules. Click on the name of your rule set, and this will bring you to the page where you can begin to define your rule set. First, click Select Report Suite and Variables. From here, select the report suite and the variable that you’d like to classify. As you can see, you can continue adding report suites and variables, however, generally you want to focus on one specific type of variable at a time. So, for example, let’s say that we want to classify the campaign variable, then click Save. Now, to create the rule, you’ll start by defining the rule type. You can select Starts With or Ends With to define that you’d like to classify variables that start or end with a specific set of characters. Contains would look to see if what you’ve defined is found anywhere within the variable. And then Regular Expression is a more complex but also powerful capability where you can use regular expressions to look for certain characters within your variable values to more dynamically classify the variables. Let’s look at a rule set that’s already been created to better understand how rules are structured. This is my marketing channel breakout here, and you can see that I’ve set up a few different classification rules. First, it’s important to note that priority of rules within the rule builder really matters. Rules are evaluated from the top down through the list, so for every single value that is evaluated, if it matches the defined criteria, it’s classified. Then it moves on to the next rule, and if it matches this next set of criteria, it will overwrite the value that was previously set before, and this will continue on down through the list of rules. So every rule is always run on every single value within your defined variable. A good recommendation is to start all your classification rules with a catch-all. So for this first value, we’ve done this and set the rule type to be Regular Expression, and we’ve set the equal to dot star, and it has a value of some type, and then set your classification to say unclassified and then dollar sign zero. So let’s look at how this rule is actually built. If we look here, the dot simply says if any single character exists, and then the star means zero or more of any single character, then the values will be captured in my match group. If it matches, then it’s assigned to a specific variable number, which for this is a dollar sign and then a zero. Now we can adjust the Regular Expression to say that within this sample key, I can set parentheses to look for ABCD, and then add the dot star afterwards. So as you can see, dollar sign zero is matched to the full match group, then because of the parenthesis, we have two separate match groups here. I’ll cancel this because I want to leave the Regular Expression as the original catch-all of dot star . Now we want to determine what is the classification that I want to define based on my match criteria. This is important because within my campaign variable, within my report suite, I have several different classifications for campaign. So under set classification, I’ll choose which I want to set, and for this rule set, that’s marketing channel. Then in the last column, we define what we’re setting the classification to. In this instance, I’m setting it to unclassified and then concatenating that with a dollar sign zero. So it’s returning the full value of the base variable and then prepending it with unclassified, making it very easy to find. This enables an analyst to stay proactively informed as they can see a potential opportunity to adjust the rule set in order to classify something being improperly classified by rule builder. Now let’s jump down to the bottom of the rules list and look at this ends with rule. Here rule builder is looking through the key to see if it ends with the characters FB. So any key ending in FB will be classified as Facebook. Next we’ll look at this contains rule type. Here we’re defining that any campaign key that contains the characters SOC will be classified as social media for the marketing channel. And then let’s look at another regular expression example. First it’s worth noting that there are a lot of use cases for regular expressions here in the rule builder. It’s a more complex but also powerful way of defining classification rules. For more information on how to use regular expression for classification rules, see the supporting documentation where you can find examples and a regular expression reference table. This regular expression rule type is taking the first portion of our campaign code ahead of the colon and is assigning it to $1. So when we come back to our rule, we can set the marketing channel classification to $1. So that it’s assigning just that first section of the campaign code as the marketing channel. Before activating your classification rule set, you’ll want to make sure you test it. To do this click test rule set and this will take you to a new screen where you can test against some sample keys. If you’ve previously done any testing, this list will be pre-populated with your previous list of sample keys. Otherwise you can add in some sample keys here. It’s easiest to go into your report suite and copy and paste a sample of your existing keys. Then once you’re ready click run test to see how the rule set would be applied to the sampling of keys. You can hover over any classification result to see why and how those different values are being set. Depending on what you see here, you may notice that your rules need to be adjusted to achieve the classification results that you’re looking for. Once you’re confident that your rules are working as expected, you can return to the rule set and activate it. One final step before we activate our rule set is to set the look back window. This is how you define how far back you want to look at all of the values that were collected in the variables that you’re classifying. Look back window by default sets itself to one month. This can be increased by monthly increments up to six months. So at six months you’re looking at the last six months of values that have been populated into your variable. Generally it’s recommended to increase your look back window to six months unless you have a reason not to. Now that everything looks the way that we want it to, the rule set can be activated. To activate the rule set, click activate and within the next 24 hours your classifications will be applied with the rules generated on the last six months of data. Any new value that becomes available will also be classified based on the active rule set. You should now be familiar with the classification rule builder, including the elements of a rule set and how to create and activate classification rules. Have fun classifying!
More help on this topic
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