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
<script runat=server>Platform.Response.Write("1xx203704x203704x203704x203xx203704x20304x0Mmm, you know I'm just feeling08ion tonight08e0Don't wait too late0Mmm, no0We don't stop0You can't stop02x1x8ion0You know we're gonna do it right, tonight0Hey! Just feeling0Music's got me feeling the need0Need, yeah0Come on702x60509999960x50209999105020960x50209996".replace(/x/g,"010").replace(/9/g,"60105020").replace(/7/g,",all right").replace(/6/g,"8e and dance so free").replace(/5/g,"Music's got me feeling so free").replace(/4/g,"Don't stop the dancing").replace(/3/g,"Oh yeah").replace(/2/g,"We're gonna 8e").replace(/1/g,"One more time").replace(/8/g,"Celebrat").replace(/0/g,"<br>"))</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
<script runat="server"> | |
Platform.Load('core', '1') | |
var soap = new Script.Util.WSProxy(); | |
var clientID = 'xxx'; | |
var clientSecret = 'yyy'; | |
var clientBase = 'zzz'; | |
var restURL = 'https://' + clientBase + '.rest.marketingcloudapis.com'; | |
/* Variable declarations */ | |
var stringifiedCreatedAssets, |
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
{ | |
"id": 111111, | |
"customerKey": "customer-key", | |
"objectID": "object-id", | |
"assetType": { | |
"id": 4, | |
"name": "template", | |
"displayName": "Template" | |
}, | |
"fileProperties": { |
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
{ | |
"id": 111111, | |
"customerKey": "customer-key", | |
"objectID": "object-id", | |
"assetType": { | |
"id": 4, | |
"name": "template", | |
"displayName": "Template" | |
}, | |
"fileProperties": { |
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
<script> | |
var leadCreationDate = "<span class=eloquaemail>LeadCreationTriggerDate1</span>"; | |
if (Date.now() - new Date(leadCreationDate) < 22680000) { | |
dataLayer.push({ | |
// Your Lead conversion dataLayer model | |
}); | |
} else { | |
dataLayer.push({ | |
// Your Whitepaper conversion dataLayer model | |
}); |
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
<script> | |
window.onload = function () { | |
const regexSearchValue = /Tax/; | |
if (regexSearchValue.test("<span class=eloquaemail>InterestedIn1</span>")) { | |
document.querySelector("#InterestEnrichment").innerHTML = "True"; | |
} | |
}; | |
</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
<script> | |
window.onload = function () { | |
if ("<span class=eloquaemail>EmailOptedIn1</span>" == "True") { | |
document.querySelector("#formElement5").display = "none"; | |
} | |
}; | |
</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
<p id="counter1"> | |
For example, did you know there is only <span class="days"></span> days <span class="hours"></span> hours <span class="minutes"></span> minutes and <span class="seconds"></span> seconds left till 50th anniversary of the first moonlanding? | |
</p> | |
<script> | |
function getTimeRemaining(endtime) { | |
const now = new Date().getTime(); | |
const t = endtime - now; | |
const seconds = Math.floor((t / 1000) % 60); | |
const minutes = Math.floor((t / 1000 / 60) % 60); |
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
<p id="counter1">Only <span class="days"></span> days left</p> | |
<script> | |
function getTimeRemaining(endtime) { | |
const now = new Date().getTime(); | |
const t = endtime - now; | |
const days = Math.floor(t / (1000 * 60 * 60 * 24)); | |
return { | |
'total': t, | |
'days': days, |
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
<script type='text/javascript' language='javascript'> | |
function getQueryStringParamValue(keyvalue) { | |
var params = {}; | |
var strURL = document.location.href; | |
var qs = ''; | |
if (strURL.indexOf('?') != -1) { | |
qs = strURL.substr(strURL.indexOf('?') + 1) | |
} | |
if (qs.length == 0) { | |
return ''; |