Library installation

You need to place the Hybrid JavaScript library on your web page inside the <head> tag in order to track visitor actions and associate data with them.

The library and all requests will be loaded and called asynchronously, which will not affect page loading.

<script>
  window._txq = window._txq || [];
  var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = 'https://st-pixel.hybrid.ai/txsp.js';
  (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(s);
  _txq.push(['createPixel', 'PIXEL_ID']);
</script>

where:

  • PIXEL_ID is a pixel identifier provided by Hybrid.

The library provides a global variable _txq, which can be used to send data about the visitor and their actions.

Last updated