Created
July 13, 2023 08:05
-
-
Save remcotolsma/f4aba01435c44dddcc1676c49a7e03d9 to your computer and use it in GitHub Desktop.
Lotame tag test.
This file contains 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
<link rel="preconnect" href="https://tags.crwdcntrl.net"> | |
<link rel="preconnect" href="https://bcp.crwdcntrl.net"> | |
<link rel="dns-prefetch" href="https://tags.crwdcntrl.net"> | |
<link rel="dns-prefetch" href="https://bcp.crwdcntrl.net"> | |
<script> | |
! function() { | |
var lotameClientId = '17301'; | |
var lotameTagInput = { | |
data: {}, | |
config: { | |
autoRun: false, | |
clientId: Number(lotameClientId), | |
audienceLocalStorage: true | |
} | |
}; | |
// Lotame initialization | |
var lotameConfig = lotameTagInput.config || {}; | |
var namespace = window['lotame_' + lotameConfig.clientId] = {}; | |
namespace.config = lotameConfig; | |
namespace.data = lotameTagInput.data || {}; | |
namespace.cmd = namespace.cmd || []; | |
} (); | |
</script> | |
<script src="https://tags.crwdcntrl.net/lt/c/17301/lt.min.js"></script> | |
<script> | |
document.addEventListener( | |
'cmplz_run_after_all_scripts', | |
function() { | |
window.lotame_17301.cmd.push( function() { | |
window.lotame_17301.page(); | |
} ); | |
} | |
); | |
</script> |
This file contains 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
<link rel="preconnect" href="https://tags.crwdcntrl.net"> | |
<link rel="preconnect" href="https://bcp.crwdcntrl.net"> | |
<link rel="dns-prefetch" href="https://tags.crwdcntrl.net"> | |
<link rel="dns-prefetch" href="https://bcp.crwdcntrl.net"> | |
<script> | |
! function() { | |
var lotameClientId = '17301'; | |
var lotameTagInput = { | |
data: {}, | |
config: { | |
autoRun: false, | |
clientId: Number(lotameClientId), | |
audienceLocalStorage: true | |
} | |
}; | |
// Lotame initialization | |
var lotameConfig = lotameTagInput.config || {}; | |
var namespace = window['lotame_' + lotameConfig.clientId] = {}; | |
namespace.config = lotameConfig; | |
namespace.data = lotameTagInput.data || {}; | |
namespace.cmd = namespace.cmd || []; | |
} (); | |
</script> | |
<script src="https://tags.crwdcntrl.net/lt/c/17301/lt.min.js"></script> | |
<script> | |
( function() { | |
if ( typeof __tcfapi !== 'function' ) { | |
return; | |
} | |
__tcfapi( | |
'addEventListener', | |
2, | |
( tcData, success ) => { | |
if ( ! success ) { | |
return; | |
} | |
if ( tcData.eventStatus !== 'tcloaded' ) { | |
return; | |
} | |
window.lotame_17301.cmd.push( function() { | |
window.lotame_17301.page(); | |
} ); | |
} | |
); | |
} )(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment