Created
August 15, 2013 18:45
-
-
Save grantmiller/6243551 to your computer and use it in GitHub Desktop.
LP Mobile HTML Plugin Custom Variables
This file contains hidden or 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"> | |
/* LP Mobile JS Configuration */ | |
var _LP_CFG_ = { | |
app_id : "YOUR_MOBILE_SITE_ID", | |
options : { | |
// All configuration options defined in here | |
extras : function() { // A static dictionary or a function that returns a dictionary of custom variables | |
var extras = {'varName1': 'varValue1', | |
'varName2': 'varValue2'}; | |
return extras; | |
} | |
} | |
}; | |
/* End of Configuration */ | |
/* LP Mobile JS include */ | |
(function(){var a=_LP_CFG_.lpjsid="lpjs-"+(new Date).getTime(),b=document.createElement("script"),s=document.getElementsByTagName("script")[0];b.id=a;b.type="text/javascript";b.async=true;b.src="https://d3tpuxked45kzt.cloudfront.net/lp_lib/liveperson-mobile.js";s.parentNode.insertBefore(b,s)})(); | |
/* End of Include */ | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment