Installation Guide — Embed Your Tour

This guide will walk you through the steps to embed the tour script into your website in minutes.

Prerequisites

Access to your website's HTML

1. Add the Script Tag

Place the following script tag just before the closing </body> tag.

<script
  async
  data-id="YOUR_DATA_ID"
  src="https://tours-embed-widget-vite.vercel.app/main.iife.js"
></script>

2. Initialize the Tour

Add this script to initialize the tour with your API key.

<script>
  window.YourTour.init({
    tourId: 'YOUR_TOUR_ID',
  });
</script>

Important: Replace YOUR_DATA_ID with your actual credentials.

Need Help?

Check out our live demo or contat our support team.

View a Live Demo