Rich-text Reply

Creating an audience based on Time on page

GidonBelmaker 09-15-14

Creating an audience based on Time on page

anyone has an idea if this is possible? 

michaelwei 09-15-14
 

Re: Creating an audience based on Time on page

Hi there,

What are you trying to measure / test with this information?

This can be done via the Javascript API. By default, bucketing happens immediately on page load by default, so you'll have to use the API to manually activate the experiment.
Optimizely

Re: Creating an audience based on Time on page

I set up a click tracking on side bars to measure CTR. I Want to see if the CTR changes if I exclude sessions that bounce really quickly, whicg I consider fake visits. 

 

Gidon

MJBeisch 09-16-14
 

Re: Creating an audience based on Time on page

[ Edited ]

A couple options you could pursue:

  1. Integrate the experiment with Google Analytics and just look at time-on-page there.
  2. Use jQuery/javascript. wrap a Date.getTime() in separate .ready and .unload events to calculate time on-page. Determine what on-page time thresholds you want for the different audiences; ie. 0-5 seconds is "short", 5-30 seconds is "average", 30+ seconds is "long" and then. Compare the time on-page calculation to those thresholds and then place into the corresponding audience.

Really, depends on your intent for the data. If you're wanting this as a data filter on the results page, then it's better to set up as a visitor dimension (but that's platinum only). If you're wanting to use it as a way to delay the experiment execution, there are other methods to accomplish that instead of an audience. Keep in mind that Optimizely only checks for experiment run validity on initial page load, it does not "watch".

Matt Beischel - E-Commerce Optimization Specialist CohereOne

Level 2