Install InnerTrends

To start tracking with the InnerTrends JavaScript library, just paste the following code into the page you want to track just before 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’ to your project token. You can find your account token inside your InnerTrends account settings section.

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:

What user actions is InnerTrends tracking?

By default, the code you add to the website, depending on your application setup, tracks very little or no activity at all.

Once on your app, the tracking manager can be initiated and user actions can be deployed either by your InnerTrends designated web analyst or directly by anyone with access to the InnerTrends account.

Will I be required to customize the above code?

There are no customization options for the InnerTrends code. However, in some rare cases when they are not already available, we might need access to some extra global variables.

The only requirement of InnerTrends is to be able to identify the user that is visiting your website, ideally by an email address. This information can be in a cookie, a javascript variable that is accessible on the whole website or directly in the DOM.

Having access to the timestamp of the date when the user inside your app created his account will allow InnerTrends to get very high accuracy on user onboarding reporting.

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