Sampling tab
The Sampling tab shows behavior analytics on a property from a sample of sessions. Sampling is more efficient than viewing data from all sessions and can help you to save money and resources.
Configuring sampling on a property
On the navigation bar, go to
settings > Account Settings > Properties.
On the table, in the Actions column, click
Edit for the property you want to sample.
The Property tab opens.
Click the Sampling tab.
Under Sample Rate, enter the percentage of sessions for DXA to sample. For example, in the image below, DXA will sample 80% of all sessions on the property.
Under Sample Method, select how you want DXA to sample Experience Data, Analysis Data, and Replay Data. The following sample methods are available:
Random — Sessions have an equal chance of being sampled. For example, if the sample rate is 20%, every 2 in 10 sessions will be sampled.
Weighted — Sessions with previously flagged attributes, like the user clicking the checkout button, are prioritized.
Note: Weighted sampling requires client-side configuration. If you need help setting this up, contact Support.
Click Save.
Sampling is now configured on the property. You can now analyze data from a sample of sessions.
Sample methods
Random sampling
Random sampling gives sessions an equal chance of being sampled based on your Experience, Analysis, and Replay data sample rates.
For example, if you set your Experience sample rate to 10%, every 1 in 10 sessions will be sampled. The image below illustrates this process, with each box representing a session:
In the image above, the dark blue box in each row of 10 boxes represents the randomly selected session to be sampled out of every 10 sessions.
Weighted sampling
Weighted sampling counts towards your Experience data sample rate. Ordinarily, if your Experience sample rate is 10%, every 1 in 10 sessions would be sampled. But, with weighted sampling, if DXA detects two sessions with flagged attributes, the second of these two sessions is sampled from the next 10 sessions.
The image below illustrates this process, with the green boxes representing sessions with flagged attributes:
In the first row in the image above, the second session with flagged attributes takes the place of the session that would ordinarily be sampled from the second row. As a result, the second row has no sampled sessions.