Created
August 24, 2015 14:19
-
-
Save pekkis/c0646428cbfe396da1e4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cookieJar( | |
'track', | |
'/url/which/we/track', | |
'[email protected]', | |
function(c) { | |
// the default banner (styles or not) | |
c.defaultBanner(true); | |
// request whether user has accepted terms | |
c.userHasGloballyAcceptedTerms(function(termsAccepted) { | |
console.log(termsAccepted, 'has accepted terms1'); | |
}); | |
c.userHasGloballyAcceptedTerms(function(termsAccepted) { | |
console.log(termsAccepted, 'has accepted terms 2'); | |
}); | |
// Get user's uuid | |
c.uuid(function(uuid) { | |
console.log(uuid, 'uuid'); | |
}); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment