User-defined Rules Report in Audits
This Help article was formerly called Business Compliance Rules in Audits
A rule can be applied to an audit for all pages or for specific pages to check that tags and variables are being set correctly. In both cases this information is shown in the User-defined Rules report, displaying the number of pages where a rule passed, failed or was not applied.
Any rule that has been added to an audit will be shown in the user-defined rules report, found on the left navigation of an audit. The report has three tabs, Pages Failed, Pages not Applied and Pages Passed. Let’s dive into the Pages Failed tab, including all the different views of this tab.
Assigned Rules View
The Pages Failed tab shows the count of how many pages had some sort of rule failure, which is a great indicator of the health of your implementation based on the rules applied. In this view you will also see a table of all rules where there was at least one page that failed that rule. Next to each rule name is the number of pages where that specific rule failed. Click the name of the rule to drill in further to see the specific conditions that failed.
Once in the condition view, you see all of the failed conditions associated with a single rule. The breadcrumb shows the rule (“Dynamic Variable”) and the screen shows the four failed conditions. The first condition is one that is validating a variable ( v1) against the value of another variable (c1) from the Adobe Analytics tag. The other conditions are as descriptive as possible based on what was defined. In the table in the second column you will see the number of pages that failed that specific condition. Click on the number of pages to drill further into what was expected vs the actual result.
Expected vs Actual View
The Expected vs Actual view is the lowest level of the reporting, showing the urls where the issue lies for a specific condition.
In this case the condition the value for the pageName variable should contain the word apple. The url in the left column shows the page where the failure occurs, the header shows the condition, and the right column shows the actual value that was found. This allows you to quickly see what values you were expecting versus what was implemented, so you can begin fixing the problem.
In cases where a condition validates one variable against another, the expected value will change from one page to the next. An additional column shows the expected value for that page and the actual value in the next column. This again allows for quick inspection of where the implementation needs to be fixed.
Click the Export button to download an Excel file of this report.