Avatar

Level 2

Hi @chez_elam,

You should be able to bring the Option values into a variable like this:

var optVal = getOption('Option_whitelistDomains');

var whitelistDomains = optVal.split(",");

Then create a new reg exp for each domain in the whitelistDomains array and check for a match before applying the tracking parameters.

Thanks,

Josh