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
case '<strong>Live Demo</strong>': | |
document.location='http://www.yoursite.com/thank-you-live-demo/'; | |
break; |
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"> | |
switch('%%Free_Trial_Live_Demo_{js}%%') { | |
case 'Free Trial': | |
document.location='http://www.yoursite.com/thank-you-free-trial/'; | |
break; | |
case 'Live Demo': | |
document.location='http://www.yoursite.com/thank-you-live-demo/'; | |
break; | |
} | |
</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 type="text/javascript">// <![CDATA[ | |
var howLongToWait = 5; //number of seconds to wait | |
var urlOfDownloadContent = 'http://www.example.com/whitepaper.pdf'; | |
function triggerDownload() { | |
window.location = urlOfDownloadContent; | |
} | |
setTimeout('triggerDownload()', howLongToWait * 1000); | |
// ]]> | |
</script><script type="text/javascript"> | |
var howLongToWait = 5; //number of seconds to wait |
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">// <![CDATA[ | |
var howLongToWait = 2; //number of seconds to wait | |
var urlOfDownloadContent = 'http://www.example.com/whitepaper.pdf'; | |
function triggerDownload() { | |
window.location = urlOfDownloadContent; | |
} | |
setTimeout('triggerDownload()', howLongToWait * 1000); | |
// ]]> | |
</script><script type="text/javascript"> | |
var howLongToWait = 5; //number of seconds to wait |
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"> | |
var email = "%%email{js}%%"; //set the field name to a local javascript variable | |
if (email.indexOf("@competitor1.com")!=-1){ //if the string has the competitor name | |
top.location="http://loc1"; //redirect to a location | |
} else if (email.indexOf("@competitor2.com")!=-1){ | |
top.location="http://loc2"; | |
} else { //go to the real location | |
top.location="http://nonCompetitorLocation"; | |
} | |
</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
<noscript> | |
<iframe src="PARDOT_FORM_URL" width="100%" height="500" type="text/html" frameborder="0" allowTransparency="true" style="border: 0"></iframe> | |
</noscript> | |
<script type="text/javascript"> | |
var form = 'PARDOT_FORM_URL'; | |
var params = window.location.search; | |
var thisScript = document.scripts[document.scripts.length - 1]; | |
var iframe = document.createElement('iframe'); |
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"> | |
var email = encodeURIComponent('%%email{js}%%') | |
switch('%%your_field_id{js}%%') | |
{ | |
case 'VALUE_1': document.write('<iframe src="FORM_HANDLER_1_URL?email=' + email + '&your_required_field1=%%your_required_field1%%&your_required_field2=%%your_required_field2%%" height="1px" width="1px" />'); | |
break; | |
case 'VALUE_2': document.write('<iframe src="FORM_HANDLER_2_URL?email=' + email + '&your_required_field1=%%your_required_field1%%&your_required_field2=%%your_required_field2%%" height="1px" width="1px" />'); | |
break; | |
} | |
</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
case 'VALUE_3': document.write('<iframe src="FORM_HANDLER_3_URL?email=' + email + '&your_required_field1=%%your_required_field1%%&your_required_field2=%%your_required_field2%%" height="1px" width="1px" />'); | |
break; |
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"> | |
var email = encodeURIComponent('%%email{js}%%') | |
switch('%%your_field_id{js}%%') | |
{ | |
case 'VALUE_1': document.write('<iframe src="FORM_HANDLER_1_URL?email=' + email + '" height="1px" width="1px" />'); | |
break; | |
case 'VALUE_2': document.write('<iframe src="FORM_HANDLER_2_URL?email=' + email + '" height="1px" width="1px" />'); | |
break; | |
} | |
</script> |