Identifying customer load tests or internal events
There are many cases where you must test traffic that might affect analytics or datasets or do not want to track events from users.
You can identify such events in the following ways:
-
Register specific IP addresses with Sitecore Discover so that these addresses are tagged as internal or load test events. Contact support if this is the case.
-
Including
rfk_flagswhen you send event traffic.
You must ensure that these flags are only sent upon identification of internal or load test traffic. Accidentally flagging real events results in data loss.
Flag specification
You can use different mechanisms to send flags. When you use multiple methods to send flags, there is precedence based on the mechanism.
The following table lists mechanisms for sending flags in the order they apply.
|
Priority |
Mechanism |
Key |
Description |
Example |
|---|---|---|---|---|
|
1 |
URL query parameter |
|
Specify |
|
|
2 |
Event body |
|
Specify |
Example event object: RequestResponse |
|
3 |
HTTP header |
|
Specify |
CURL example: RequestResponse |
|
4 |
Cookie |
|
Specify |
CURL example: RequestResponse |
The following are supported customer flag values:
|
Flag |
Flag value |
Description |
|---|---|---|
|
Customer internal |
" |
Tells Discover that the traffic is from internal users. Discover analytics ignores these events. Note These events still count towards your usage of the service. |
|
Customer load test |
" |
Tells Discover that the traffic is from load testing. Discover analytics ignores these events. Note These events still count towards your usage of the service. |