Install InnerTrends

To start tracking with the InnerTrends JavaScript SDK, just paste the following code into the page you want to track as close as possible to the </body> tag.

<script type="text/javascript">
(function(w,o,d,s) { 
w['_itlk']="YOUR_INNERTRENDS_TOKEN";
w['_itlt']=[]; w['_itlq']=[];w['_itld']=s;w[o]=w[o]||{log:function(t,v,p){w['_itlt'].push([t,v,p])},stream:function(q){w['_itlq'].push([q])}};
var pa = d.createElement('script'), ae = d.getElementsByTagName('script')[0], protocol = (('https:' == d.location.protocol) ? 'https://' : 'http://');pa.async = 1;  pa.src = protocol + 'io.innertrends.com/itl.js'; pa.type = 'text/javascript'; ae.parentNode.insertBefore(pa, ae);
})(window,'_itl',document,"");
</script>
	

Make sure to change ‘YOUR_INNERTRENDS_TOKEN’ with your unique InnerTrends token which you can find inside your Tracking Plan.

Will InnerTrends impact your page loading speed?

The InnerTrends code loads asynchronously and is designed to have no impact on your app loading speed. In fact, you’ll see that the Google Page Speed tool reports the maximum score for a page that has our tracking code on.

How do I know if it has been installed?

Simply by checking your Network console in your browser. If the itl.js file appears loaded, it means that the job was done:

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us