Your mobile app may make various kinds of network requests, and not all of them may be equally important to monitor in detail. For example, any requests to Google Analytics that your app may make are useful but probably aren't as important to analyze as the requests it makes to your backend.
To manage the impact on your overall Event Service usage, you can create rules which specify which of these network requests should be sent on to the Event Service, either by excluding a request entirely, including a particular request or a sample of that request types by percentage, or by simply allowing the request to be sent on.
The behavior follows this pattern:
If no rules are specified, data on all network requests are sent on.
If exclude rules are specified, and a network request satisfies a rule, that data is not sent on.
If include rules are specified, any network request that satisfies a rule is sent on, based on sampling defined by the percentage indicated in the rule.
If both include and exclude rules are specified, a network request that satisfies an include rule but does not satisfy an exclude rule is sent on.
Access Network Requests Rules
From the Mobile App Group Configuration page, select the Event Service tab.
Configure Include Rules
Click Addto create a new rule. The Include Rule popup displays.
Give your rule a display name.
Check Enabled to place the rule in force.
Specify the Network Request URL using any of the options in the dropdown.
If you want to sample this request type, select a percentage for sampling.
Click OK.
Configure Exclude Rules
Click Add to create a new rule. The Exclude Rule popup displays.
Specify a display name for the rule.
Check Enabled to place the rule in force.
Specify the Network Request URL using any of the options in the dropdown.
Specify the percentage of URLs to sample.
Click OK.
Change Priority of Rules
Rules are evaluated in the order that they appear in the include or exclude list. You can change the priority of the rules by dragging and dropping rules towards the top (higher priority) or towards the bottom of the list (lower priority). Custom rules are always evaluated before the default naming rule, beginning with the custom rule that has the highest priority.