Skip to content

Instantly share code, notes, and snippets.

@taf2
Created November 22, 2017 15:00
Show Gist options
  • Save taf2/e5a96caa93ea080cc6e67800d875fbc7 to your computer and use it in GitHub Desktop.
Save taf2/e5a96caa93ea080cc6e67800d875fbc7 to your computer and use it in GitHub Desktop.
<p>Place Your Target Number Here</p>
<script type="text/javascript" src="//static.parastorage.com/services/js-sdk/1.83.0/js/wix.min.js"></script>
<script src="//static.parastorage.com/services/third-party/react/15.3.1/react-with-addons.min.js"></script>
<script src="//static.parastorage.com/services/third-party/react/15.3.1/react-dom.min.js"></script>
<script src="//static.parastorage.com/services/third-party/jquery/3.1.1/dist/jquery.min.js"></script>
<script src="//static.parastorage.com/services/third-party/lodash/4.17.2/lodash.js"></script>
<script src="//static.parastorage.com/services/js-sdk/1.81.0/js/wix.min.js"></script>
<script src="//static.parastorage.com/services/editor-ui-lib/1.26.0/lib/editor-ui-lib.min.js"></script>
<script>
// this will run as our code is loaded and available allowing you to customize how the script runs
// we use the f.js version of the tracking code which does not automatically run allowing us to control the
// script execution. so that we can use the WiX API to inform us of the site landing url and site referring url
window.__ctm_loaded = window.__ctm_loaded || []
window.__ctm_loaded.push(function(){
Wix.getSiteInfo(function(siteInfo) {
__ctm.main.init(siteInfo.url, siteInfo.referer, document.cookie.toString());
});
});
</script>
<script async src="//25.tctm.co/f.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment