Created
December 14, 2018 17:58
-
-
Save Rleahy22/bbe8cddc057b1c94c030ff88ef982037 to your computer and use it in GitHub Desktop.
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> | |
(function(apiKey){ | |
(function(p,e,n,d,o){var v,w,x,y,z;o=p[d]=p[d]||{};o._q=[]; | |
v=['initialize','identify','updateOptions','pageLoad'];for(w=0,x=v.length;w<x;++w)(function(m){ | |
o[m]=o[m]||function(){o._q[m===v[0]?'unshift':'push']([m].concat([].slice.call(arguments,0)));};})(v[w]); | |
y=e.createElement(n);y.async=!0;y.src='https://pendo-dev-static.storage.googleapis.com/agent/static/'+apiKey+'/pendo.js'; | |
z=e.getElementsByTagName(n)[0];z.parentNode.insertBefore(y,z);})(window,document,'script','pendo'); | |
// Call this whenever information about your visitors becomes available | |
// Please use Strings, Numbers, or Bools for value types. | |
pendo.initialize({ | |
visitor: { | |
id: 'VISITOR-UNIQUE-ID' // Required if user is logged in | |
// email: // Optional | |
// role: // Optional | |
// You can add any additional visitor level key-values here, | |
// as long as it's not one of the above reserved names. | |
}, | |
account: { | |
id: 'ACCOUNT-UNIQUE-ID' // Highly recommended | |
// name: // Optional | |
// planLevel: // Optional | |
// planPrice: // Optional | |
// creationDate: // Optional | |
// You can add any additional account level key-values here, | |
// as long as it's not one of the above reserved names. | |
} | |
}); | |
})('PENDO_API_KEY-MIGRATED'); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment