Skip to content

Instantly share code, notes, and snippets.

@grantmiller
grantmiller / LP-Mobile-Web-Adv.html
Created August 10, 2012 00:45
LP Mobile Advanced Integration Options
<script type="text/javascript" src="https://d3tpuxked45kzt.cloudfront.net/lp_lib/liveperson.js"></script>
<script type="text/javascript">
var _lpcfg = {
triggerSelector : '.hlpBtn', // Replace with a selector to your help button(s)
extras : function() {
var extras = {'varName1': 'varValue1',
'varName2': 'varValue2'};
return extras;
},
onChatDisabled : function(els) {
@grantmiller
grantmiller / LP-Mobile-Meta.html
Created August 9, 2012 22:41
LP Mobile Meta Tag
<meta name="viewport" content="user-scalable=0, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
@grantmiller
grantmiller / LP-Mobile-Web.html
Created August 9, 2012 22:34
LP Mobile Web Integration: Basic
<script type="text/javascript" src="https://d3tpuxked45kzt.cloudfront.net/lp_lib/liveperson.js"></script>
<script type="text/javascript">new LIVEPERSON('##YOUR MOBILE SITE ID##');</script>
@grantmiller
grantmiller / customDictionary.m
Created October 15, 2011 01:00
Look IO Custom Dictionary
[LIOLookIOManager sharedLookIOManager].sessionExtras = [NSDictionary dictionaryWithObjectsAndKeys:@"[email protected]", @"email",
@"John Doe", @"name",
@"1234567890", @"some_id",
nil];