Creating application source rules
Sections of the URL are displayed in the following diagram and described below.
Click to see an enlarged image.
Use the following sections of a URL to determine patterns for source rules:
- The path is the location to the resource. For example, the path can include the directory (science/reviewers) name, and a file name, if applicable.
- The query is usually a dynamically generated string, represented by a question mark and one or more key-value parameters (?name=HistoryOfFluxCapacitors).
- The fragment is an internal reference on the web page, represented by a hash mark and an identifying string (#/top/english). Fragments are commonly used in single-page applications.
To automatically create application source rules
Events are always generated for automatic rules. Use this option to determine if the incoming URLs will be evaluated and associated to the source groups.
Select Automatic to send events for auto-generated rules to TrueSight Intelligence.
If two identical URL patterns are present in automatic and manual rues, the manual rules is given priority, which means the URLs will be associated to the source name set in the manual rule.
To manually create application source rules
- From the Settings menu, select End User Experience.
- Select an application.
If you have not created an application, see Collecting-end-user-experience-data-from-applications. Select the URL Clustering tab.
Click + Create Rule to create a new rule. If a rule already exists, click the rule to edit it. Enter a pattern to match one or more of the following fields.
Field
Valid characters
Examples
Name
Alphanumeric Latin characters and . _ \ - / % @ space
Test_RulePath
Alphanumeric Latin characters and . _ \ - ~ ! $ & ' ( ) + , ; = : @
/home
store.acme-books.com/Fragment
Alphanumeric Latin characters and . _ \ - ~ ! $ & ' ( ) + , ; = : @
#users/top/Query string
Alphanumeric Latin characters and . _ \ - ~ ! $ & ' ( ) + , ; = : @ ] +
?product=TV&cat=10name=*- Click Save to add the source rule.
- (Optional) Click Test a URL, and enter a URL in the simulator to see the source name, rule number and rule type that matches with the URL.