Adding the script
The script is what will connect your website with Bytes Route and enable tours on it.
Bytes Route works with the concept of teams. Each team has its own id and hosts multiple team-members.
How to add the script
- Copy the script for your current team, from the Dashboard.
- Add this script to your website
- Redeploy your website
- (optional) Check that the domain you added the script to appears in the Dashboard when pressing 'Detect Script'.
Example: With 'Team A' being selected, the dashboard will display the script for this team. Notice that the id of this team (12345) is included in the script.
Bytes Route script for Team A, in the Dashboard
<script id="brt-script" src="https://www.bytesroute.com/script.js?id=12345"></script>
Example of the bytesroute script for a team with the id of '12345'.
If you wish to delay adding this script in your page, until a further event occurs, you can check Programmatic Injection for more information.