“segment” parameter

The “segment” parameter allows you to apply a segment on your dataset. Segments can be created directly from the Segments app or in Data Query.

The “segment” parameter expects the ID of the segment as a value. This ID is provided in the API URL given in Data Query:

If the segment you want to use is visitor-based, you can dynamically update the cohort period by using the “segmentdesc” parameter value.

Was this post helpful?
Yes
No
Last update: 09/08/2017