Skip to content

Instantly share code, notes, and snippets.

View jngnyc's full-sized avatar

Jimmy Ng jngnyc

  • New York City, NY
  • 18:25 (UTC -04:00)
View GitHub Profile
{
"services": {
"4": {
"id": 4,
"category_id": 3,
"name": "South America",
"max_capacity": 1,
"pos": 54
},
"5": {
{
"apiStatusCode": "Success",
"data": {
"developmentCompany": {
"objectId": 3299600
},
"email": null,
"phone": null,
"photoFile": null,
"firstLoginTime": "2018-03-22T14:12:15.7119Z",
=== Instabot ===
Contributors: instabot, abidzan
Tags: chatbot, chatbots, instabot, live-chat, livechat
Requires at least: 4.0
Tested up to: 4.0
Stable tag: 0.1.0
Requires PHP: 5.4.0 or later
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
<script type="text/javascript" src="//app.instabot.io/jsapi/v2/rokoInstabot.js"> apiKey: "5uA1jpY1t76tG31ysswUWPznkMm49w0iUFRFOWHaNw4="</script>
<script type="text/javascript" src="//portal.roko.mobi/jsapi/rokoInstabot.js"> apiKey: "UivD+4ZeWxUo3ZKoy0iIgdXMx/FBLkCmHYmhzuSSjBc=", initialEvent: "testing", initialDelay:5</script>
<script type="text/javascript" src="//app.instabot.io/jsapi/rokoInstabot.js"> apiKey: "/TvM5HOA+AqTsNLSIoa69Q7UhrWZtWR0saiw5N04uVg=", initialDelay:5, initialEvent: "bellconversation1"</script>
<style type="text/css">
.instabot-button {
border-radius: 5px;
background-color: none;
background-image: url('https://instabotdemo.roko.mobi/primowater/primo-water.png');
background-position: center center;
background-repeat: no-repeat;
position: fixed;
right: 20px;
bottom: 20px;
<script type="text/javascript"> window.checkScroll = true; window.myCustomInit = function () { window.Roko$(window).scroll(function () { var scrollTop = Roko$(window).scrollTop(); var numPixelsToTrigger = 200; if (window.checkScroll && !window.Roko$("html.rokoinstabot-on").length && scrollTop >= numPixelsToTrigger) { window.checkScroll = false; window.RokoInstabot.trigger("Security Content"); } }) }; window.myCustomClose = function () { window.checkScroll = false; } </script> <script type="text/javascript" src="https://app.instabot.io/jsapi/rokoInstabot.js?v=p90QRDrUcLLtq_XfKyNgqSBKBt_sze8URdIHQLkoY381"> apiKey: "vPe17mch90u95vhPvUwxZFdp4ylx7reJy29pALUWkso=", userName: "", showAlways: true, events: { init: window.myCustomInit, close: window.myCustomClose } </script>
<!-- Instabot conversion tracking snippet -->
<script type="text/javascript" src="https://app.instabot.io/jsapi/rokoInstabot.js">
apiKey: "/TvM5HOA+AqTsNLSIoa69Q7UhrWZtWR0saiw5N04uVg="
</script>
<script type="text/javascript">
// 'orderNumber' and 'email' are just placeholders for you to add additional info (via key-value pairs) to your conversion-event call
window.RokoAPI.api.analytics.log(null, "conversion event",
{"orderNumber":"ORDER-NUMBER-PLACEHOLDER",
"email":"EMAIL-OR-OTHER-IDENTIFIER-PLACEHOLDER"})
<script type="text/javascript" src="//app.instabot.io/jsapi/v2/rokoInstabot.js">
apiKey: "FQiFl6tY8YIGLjWkFC5V4fdUcLEIMzDa10SG8rJ9bHs="
</script>