Skip to content

Instantly share code, notes, and snippets.

@hitGovernor
Last active Dec 18, 2020
Embed
What would you like to do?
s.registerPreTrackCallback(function(requestUrl, allowList, hostname) {
var doTrack = (allowList.indexOf(hostname) > -1);
console.log(allowList, hostname, doTrack);
}, ['sandbox.test.com'], document.location.hostname);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment