If your want to install TrackDuck code into your website, please, follow these steps:

1. Go to your TrackDuck Project Settings>Installation and copy the script code from the field Insert this code into a website.

installation

 

2. Insert this code into each page of your website before or at the end of the </body> tag. Just like you do for Google Analytics.

 

If the system that you use does not allow to insert codes that have <script> tags – use this version instead:

(function(){var s = document.body.appendChild(document.createElement(‘script’));s.setAttribute(‘data-trackduck-id’,”PROJECT ID GOES HERE”);s.src=’https://cdn.trackduck.com/toolbar/prod/td.js’;})();

Replace PROJECT ID GOES HERE with your TrackDuck project ID field from the regular script.

project-id

 

Note: If you want to set an ID for the script don’t use id=”trackduck”, because it’s taken automatically by our script. Use other name instead.

 

Do you still have some questions? Drop us a line at contact@trackduck.com and we’ll answer them all.