I have an extension that loads a random opinionlab survey to 5 percent of our audience. I want to modify that extension to over sample new visitors to the site. I was hoping to use the utag_main session number.
Something like this
if (b['cp._sn'] == '1') {
responseRate: 95, //Percentage of users who will receive the invitation
repromptTime: 7776000, //90 days in seconds
promptDelay: 5, //Time in seconds prompt will be delayed
} else {
responseRate: 5, //Percentage of users who will receive the invitation
repromptTime: 7776000, //90 days in seconds
promptDelay: 5, //Time in seconds prompt will be delayed
}
Do I need to setup the data source still if it is already in being set in the utag_main cookie? Also would _sn = 1 indicate the users first session?