Expand my Community achievements bar.

SOLVED

API - Is it possible to use element Time Prior to Event (timeprior) for inline segmentation through the API)?

Avatar

Level 1

Is it possible to use element Time Prior to Event (timeprior) for inline segmentation through the API)?

 

I can see that similar reports are not available to be used as an inline segmentation (e.g. time spent on page or time spent on site), but this article doesn't mention anything about time prior to event. I'm getting an error message when trying to use that report in an inline segment. 

 

This is the error message I'm getting: 

ERROR: Bad Request  -  invalid segment definition: invalid value "1-5 minutes" for timeprior

Thank you in advance.

1 Accepted Solution

Avatar

Correct answer by
Employee

I would bet that Time Prior to Event is not available through inline API segmentation. Best course would be to build as explicit segment to build into your API calls.

Best,

Brian

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

I would bet that Time Prior to Event is not available through inline API segmentation. Best course would be to build as explicit segment to build into your API calls.

Best,

Brian