Files
Gainsight/Custom_Templates/customer_templates/Artera_internal/_head.html.liquid
2023-06-01 16:54:12 -04:00

26 lines
1.1 KiB
Plaintext

{% styles default %}
{% styles colors %}
{% styles custom %}
<script>
(function(apiKey){
(function(p,e,n,d,o){var v,w,x,y,z;o=p[d]=p[d]||{};o._q=o._q||[];
v=['initialize','identify','updateOptions','pageLoad','track'];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://cdn.pendo.io/agent/static/'+apiKey+'/pendo.js';
z=e.getElementsByTagName(n)[0];z.parentNode.insertBefore(y,z);})(window,document,'script','pendo');
})('a59ee367-b60f-4801-7452-0331dce168e1');
// Call this whenever information about your visitors becomes available
// Please use Strings, Numbers, or Bools for value types.
{% if current_person.signed_in? %}
pendo.initialize({
visitor: {
id: '{{current_person.id}}',
email: '{{current_person.email}}',
first_name: '{{current_person.first_name}}',
last_name: '{{current_person.last_name}}',
}
});
{% endif %}
</script>