Setting Web Traffic Classifications

blobid0.gifDescription: This article describes how to set traffic classifications for your web responses. It details how to add a new rule and provides an example of a rule.


Referral Rules

You can set web traffic classifications by creating custom rules. This can be done with the following steps:

  1. Select Referral Rules at the bottom of the Raw Response Breakdown page and select Add New Rule.
  2. Add a rule using the options displayed and select Done to save it.

You can add one or more rules using regular expression (what is regex?) to move specific sets of traffic from one classification to another. Using the URL or referral URL, you can move traffic to a classification based on whether the URL contains a specific term.

Example

The screenshot below displays a rule to move traffic containing the word ‘up’ or ‘down’ to the direct classification.

Screenshot 2024-03-07 at 16.38.37.png

This rule will classify all data containing "up" or "down" as direct traffic.

To test your regex, you can use several tools provided on the web. A useful example is pythex.org, which includes a handy cheat sheet.


Related content

FAQs: Using the Product

Was this article helpful?
0 out of 0 found this helpful