Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
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