The main code

This is pixel code tag (which is placed in all pages) is used to track pageview (#1) of all page and is a required component to track other events. Add it to Header for all of the pages of website similar to GA , Facebook Pixel

insight.js
<!-- Ants Insight script -->
<script type="text/javascript">
  var _siteId="638735871";
  (function(){ var w = window;
  if (w.admp_event) return;
  var a = window.admp_event =  function() {a.queue.push(arguments);}; 
  a.siteId = _siteId;
  a.track = a;
  a.queue = [];
  var e=document.createElement("script");
  e.type="text/javascript",e.async=!0,e.src="//st-a.anthill.vn/insight.js";
  var t=document.getElementsByTagName("script")[0];
   t.parentNode.insertBefore(e,t)})();
</script>
<!-- End of Ants Insight script -->

Last updated

Was this helpful?