Documentation

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

  1. Copy the script for your current team, from the Dashboard.
  2. Add this script to your website
  3. Redeploy your website
  4. (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.

script-example.png

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'.

Programmatic Injection

If you wish to delay adding this script in your page, until a further event occurs, you can check Programmatic Injection for more information.