This guide explains how to retrieve the JavaScript code needed to integrate the tracking system on external websites or custom domains.
The integration code is only accessible for tracking projects that have been configured to operate on external domains.
Option 1: Viewing from the Project List
This is the quickest way to retrieve the code if the project has already been saved and configured for an external domain.
1. Log in to the Tracking section (or the equivalent tracking project management module).
2. In the main table, locate the project of interest.
3. Check the Website column. If the project is configured for an external domain, you will see a warning label (<span class="label label-warning">) and a button.
4. Click on the View JS button next to the external domain.
5. You will be redirected to the page containing the JavaScript integration code to copy and paste into your external site.
Option 2: Viewing from Project Edit
You can also access the code within the project's edit screen.
1. Go to the Tracking section and click on the project you want to edit.
2. In the first section of the form ("Project Data"), scroll down to the Domains section (identified by an "ibox" box).
3. Inside this section, if the project is configured for external domains, you will find a notice stating:
> "To use Tracking features on an external website include the Integration code if you haven't already done so."
4. Click on the Integration Code button (identified by a cube icon fa-cube).
5. You will be redirected to the page containing the JavaScript integration code to copy and paste into your external site.
Important Note:
The integration code must be included in your external site's source code (typically before the closing </head> or </body> tag) so that the tracking system can function correctly and detect configured goals.







