How does sampling work in pageview-based DXA subscription models?
Gathering session data
Data bucket | Data type |
---|---|
Experience data |
The data listed below is processed as Experience data: |
Analysis data |
Everything in the Experience data bucket and the data listed below is processed as Analysis data: |
Replay data |
Everything in the Experience data bucket and the data listed below is processed as Replay data:
|
Sample rate
The sample rate is the percentage of session data you want DXA to process in each data bucket for sampling.
In the image below, the Sample Rate for Experience Data is set to 20. This means that 20% of all sessions will be sampled in the Experience data bucket.
Sessions gathered in the Analysis and Replay data buckets are sampled as a percentage of Experience Data. In the image above, the sample rates for both Analysis Data and Replay Data are set to 100. This means that 100% of Experience Data is sampled as Analysis Data and Replay Data.
The diagram below illustrates this process:
In the diagram above, a property receives 10 million Sessions. 20% of these Sessions are sampled as Experience data. From these, 100% of the sessions are then sampled as Analysis and Replay data.