All Collections
Realtime
How do I export Data from Realtime?
How do I export Data from Realtime?

How to export Realtime Validation rule failures in Tag Inspector

Rick Bell avatar
Written by Rick Bell
Updated over a week ago

For guidance on common Export examples, our team has put together some quick guides for common use cases. Below is a walkthrough explaining how to generate an export for Tag Inspector Realtime Validation rule. Using this, you are able to view aggregate information about the nature of failures occurring for a given Validation Rule. Run this to view diagnostic information and save considerable time in the data collection remediation process!

FAILED VALIDATION RULES

In this example, Realtime is set up and collecting live tag behavior data as users interact with your website(s). There are also validation rules configured to verify that 2 unique tags are firing on pages. In this example, we need to export the pages with visit details whenever either of the validation rules failed. We also want to limit this data for the last 3 days of June.

  1. Begin a Realtime export following this tutorial.

2. At the Realtime filter option, we will need to create multiple conditions to gather the data we need. First, we will set that the page view date is greater than 6/28 at midnight.

  • Filter Type: “Page View Hit Timestamp”

  • Operator: “>”

  • Value: click the “calendar” icon to open a calendar and select the date

  • Click the “time” icon to open a time selector. Choose 12:00 and click the AM/PM toggle to AM for midnight. Click outside of the calendar selector or press “Enter” to close.

3. To set the end of June, click the “AND” button in the first set of “AND/OR” buttons inside the grey box. This will create a new condition below. Follow the same instructions above, only set the date to 7/1 at midnight.

4. Now we have these dates set as a condition. Notice that they are grouped together within a grey box. More conditionals could be added to this group, but we want to create a new group to join. Click the “AND” button in the last set of “AND/OR” buttons outside of the grey box. This will create another grouping.

5. Now, we will add filters for the validation rules in Realtime that were set up. Let’s set up the first one. We have a Realtime rule called “Tag1 on all pages”

  • Filter Type: “Validation Fail Rule Name”

  • Operators: Choose “=”

  • Value: enter “Tag1 on all pages”

6. To add the next tag, we want to know if it fails also. Choose the “OR” button in the “AND/OR” button set within the grey group (since we want to capture where either one of the tags fails. Enter the data below.

  • Filter Type: “Validation Fail Rule Name”

  • Operators: choose “=”

  • Value: enter “Tag2 on all pages”

7. Looking back, the logic should read as follows: Export data if both of these conditions are met:

  • The page view timestamp is > 6/28 and < 7/1, AND

  • The failed validation rule name “Tag1 on all pages” OR “Tag2 on all pages”

Click Next to submit the request for export.

At any time during the building of the export logic, the trash icon can be selected to delete a condition. To delete a group, delete all conditions within the group.

Submitting the above request will result in the report being run. Once complete, you can access and download the results from the “Exports” page in the UI.

Questions about specific Export types for your use case, or you would like our team handle these for you? Contact us here to learn more about how we can help!

Next Steps/Suggested Articles:

Did this answer your question?