Home Channels Catalog My Agenda Sponsors
//init script function loadScriptSync (src) { var s = document.createElement('script'); s.src = src; s.type = "text/javascript"; s.async = false; // <-- this is important document.getElementsByTagName('head')[0].appendChild(s); } loadScriptSync('//assets.adobedtm.com/launch-EN54b60a52873445c587e66ef741fda11b.min.js')
// loadScriptSync('_satellite.track("rainforcus_view");')
function appendScript(url) { var s = document.createElement("script"); s.type = "text/javascript"; s.src = url; s.async = "true"; document.head.appendChild(s); }
window.appendScript('https://www.googletagmanager.com/gtag/js?id=DC-9859302'); window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'DC-9859302');
var attendee = data.attendee || {} console.log(attendee); var ord = Math.floor(Math.random() * 10000000000000) function runGtag(type) { gtag('event', 'conversion', { allow_custom_scripts: true, u1: 'Y', u10: window.location.href, // 'u13': '[Lead Score]', // 'u14': '[Engagement score]', u15: attendee.companyName, u2: attendee.countryId, u3: attendee.stateId, u4: attendee['masterjoblevel'], u5: attendee['masterjobrole'], u6: attendee['masterjobfunction'], send_to: 'DC-9859302/' + type + '/k20un0+unique', ord: ord, }) var iframe = document.createElement('iframe') iframe.setAttribute('width', 1) iframe.setAttribute('frameBorder', 0) iframe.setAttribute('height', 1) iframe.setAttribute( 'src', 'https://9859302.fls.doubleclick.net/ddm/activity/;src=9859302;type=' + type + ';cat=k20un0;gtm=2od432;u1=Y;u10=' + window.location.href + ';u15=' + encodeURIComponent(attendee.companyName || '') + ';u2=' + encodeURIComponent(attendee.stateId || '') + ';u3=' + encodeURIComponent(attendee.countryId || '') + ';u4=' + encodeURIComponent(attendee['masterjoblevel'] || '') + ';u5=' + encodeURIComponent(attendee['masterjobrole'] || '') + ';u6=' + encodeURIComponent(attendee['masterjobfunction'] || '') + ';ord=' + ord + '?' ) iframe.setAttribute('style', 'z-index: -10000') document.body.appendChild(iframe) } if (data.page === 'contactInfo') { runGtag('brows0') } else if (data.page === 'K20digitaldashboard' || data.page == 'orders') { runGtag('regis0') }