Condition precendece w.r.t interaction.sample


#1

In below csdl, stream “94cefc950d30b3f87be0d1bb6ee853c3” is geo filter, I like to know whether geo filter is applied before applying the interaction.sample or after sampling ? Otherwise if I change the order of conditions, whether my result will be changed ?

interaction.hashtags in (apple, orange)
and interaction.sample < 10
// USA Only
and stream “94cefc950d30b3f87be0d1bb6ee853c3”


#2

Hi,

Due to the way interaction.sample works, the order of these filters will not matter. The interaction.sample target is an internally generated floating-point random number between 0 and 100. This is generated at the point an interaction reaches our platform and the value is fixed.

More on interaction.sample can be found here.