does it mean we'll run one activity to 100% containing the code for readcookie and trackevent. and then Another Activity (our main one) using that cookie as an audience? is it correct
and the code would be like this https://codepen.io/sabahat88/pen/eGZjjE?editors=0010
Yes, that is how I'd setup it up with 2 activities. That code looks right to me.
sounds good. I'll give it a shot today. The only thing I am concerned about is how would we make sure the one containing readcookie function executes first?