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> | |
(function(){ | |
// ID of button to remove Unbounce default tracking | |
var btnId = $("#lp-pom-button-219"); | |
// Add URL to link to | |
var url = 'https://tix.cathedral.org/TheatreManager/1/login?event=794'; | |
// Change to true if you want to track as a goal | |
var goal = true; |
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> | |
// Script will NOT fire on URLs containing "check" | |
// Change the below variable to look for a different string in the URL (You can add an entire URL) | |
var excludeFromSM = "check"; | |
if (document.location.href.indexOf(excludeFromSM) === -1){ | |
// Your code goes here | |
} | |
</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> | |
$.ajax({ | |
url: "https://geoip-db.com/jsonp", | |
jsonpCallback: "callback", | |
dataType: "jsonp", | |
success: function( location ) { | |
var country = location.country_name; | |
var region = location.state; | |
var city = location.city; | |
var lat = location.latitude; |
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"> | |
/* | |
Unbounce Community :: Tips & Scripts :: Check if Form Already Submitted | |
TS:0002-04-086 | |
*********************** | |
Do not remove this section. It helps our team troubleshoot possible issues and track feature usage and adoption. | |
*/ | |
// Set amount of time until cookie expires (in Minutes) and form can be submitted again | |
var minutes = 1; |
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> | |
/* | |
Unbounce Community :: Tips & Scripts :: Open Lightbox on Scroll | |
TS:0002-04-085 | |
*********************** | |
Do not remove this section. It helps our team track useage of external workarounds. | |
*/ | |
(function() { | |
// lightbox button ID | |
var btn = $("#lp-pom-button-31"); |
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 src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/garlic.js/1.3.0/garlic-standalone.min.js"></script> | |
<script> | |
/** | |
* Do not remove this section. It helps our team track useage of external workarounds. | |
* TS:0002-04-081 | |
*/ | |
$("form").attr("data-persist", "garlic"); | |
$("form").attr("data-destroy", "false"); | |
</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> | |
/* | |
Unbounce Community :: Tips & Scripts :: Fixed CTA on Scroll | |
TS:0002-04-074 | |
*********************** | |
Do not remove this section. It helps our team track useage of external workarounds. | |
*/ | |
(function() { | |
// Add ID of sticky CTA |
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 src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script> | |
<script> | |
/* | |
Unbounce Community :: Tips & Scripts :: Conditional State/ Province Form Field Based on Dropdown | |
TS:0002-04-060 | |
*********************** | |
Do not remove this section. It helps our team track useage of external workarounds. | |
*/ | |
(function(){ |
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> | |
/* | |
Unbounce Community :: Tips & Scripts :: Carousel With A Box Widget | |
TS:0002-04-063 | |
*********************** | |
Do not remove this section. It helps our team track useage of external workarounds. | |
*/ | |
// jQuery v 2.2.4 requierd | |
// CDN link here - https://code.jquery.com/ | |
// Add a box to the page and nest the elements inside (can include boxes with grouped content) |
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> | |
/* | |
Unbounce Community :: Tips & Scripts :: Carousel With A Box Widget | |
TS:0002-04-063 | |
*********************** | |
Do not remove this section. It helps our team track useage of external workarounds. | |
*/ | |
// jQuery 2.2.4 requierd | |
// CDN link here - https://code.jquery.com/ |
NewerOlder