Tags

Tags

Tags

You can extend Trackingplan's detection capabilities by adding tags to label your data.

Tags are completely customizable and can be extremely helpful to filter your warnings and perform root-cause analysis on them.

Here are some of the possibilities tags can offer you:

Filter warnings by tags

💡
Where is this warning happening? Which warnings have appeared after releasing v.1.23? Has any warning appeared from the Verify_orders_list test?

This is what you can quickly answer using Trackingplan’s Tag Filter. Tags will allow you to distinguish your warnings by their custom tag value. That way, you will be able to filter your warnings by their release version, their build number, the app version in which they appeared, or their Test Name in staging or preproduction environments to quickly check if your warnings are happening only in a specific test version or in several of them.

image

Debug warnings and perform root-cause analysis

Tags can also enable you to debug and perform root-cause analysis on your warnings.

For those warnings related to missed properties, or with properties that do not conform to the Regexes, validation functions, or data types you have specified, you can hover the cursor over these warnings and click on “Debug Warning” to get a clear view of the correlation of your tags and your errors to debug them easily.

image

That way, if you are investigating an error with the property “device_type”, which has been set as required but has been missing in 24% of the hits, you can easily see that this property, when its tag value is “web-mobile”, has influenced the appearance of the error 91.27% of the times compared to the values “web-pc” and “app-commerce”, that have generated 0 errors.

Yet, if you haven’t decided which property you want to investigate, the default screen will show you the values that correlate the most with all your event elements.

image

Moreover, you can also click on “Download Warning Samples” to download all the tracks generated by that warning and be provided with meaningful contextual information about where and why the error happened in order to debug the problem.

Set up tags in Trackingplan’s installation

All you need to do to set up tags is to add the following init(...) parameter in the Trackingplan’s snippet you already used to install Trackingplan in your site code or your Goole Tag Manager:

Trackingplan.init(
...,
"tags": {
"tagName1": "tagValue",
"tagName2": "tagValue",
...
}
)

After this easy setup, all the traffic that will arrive at Trackingplan from your sites and apps will be labeled with these totally customizable tags.

image