Website Embed Troubleshooting
Diagnose and resolve common tour embed failures covering location scope, loading issues, layout clipping, and tracking verification.

What this guide covers
This guide explains how to troubleshoot TourBots tour embeds on external websites. You will validate embed configuration, confirm location scope, isolate page-level issues, and verify tracking behaviour.
Before you start
- You can access Tours > Share & Embed for the relevant account.
- You have the exact embed code that is currently published.
- You can test on the target page in browser developer tools.
1) Confirm the embed source and settings
- Open Tours > Share & Embed.
- Select the correct tour location in the header selector.
- Regenerate code using your intended settings:
- Width
- Height
- Show chat widget
- Compare the newly generated code with the code currently published.
If the published code is outdated, replace it first before deeper debugging.
2) Check location scope problems
If the wrong location appears:
- Reconfirm the selected location before copying code.
- For IFrame Embed, confirm the URL contains
tourId. - For Advanced Script Embed, confirm initialisation includes the latest options from Share & Embed.
- Reload the page after publishing updates.
The embed resolves location context from the selected tour and URL/query options. Stale code is the most common reason for scope mismatch.
3) Fix loading failures
If the embed is blank, stuck, or not visible:
- Confirm
venueIdandembedIdvalues are present in the published code. - Open the embed URL directly in a browser tab and confirm it loads:
/embed/tour/{venueId}?id={embedId}
- Check browser console and network for blocked script or iframe requests.
- Confirm the target page allows third-party scripts/iframes where needed.
If direct embed URL loading fails, fix source data or tour activation before checking website layout.
4) Resolve layout clipping and responsive issues
- Test with safe defaults (
width: 100%,height: 600px). - Remove conflicting parent container CSS (
overflow: hidden, fixed heights, or restrictive positioning). - Test mobile and desktop breakpoints separately.
- Reapply custom dimensions only after baseline rendering is stable.
Layout issues are usually caused by host page container constraints rather than embed service failures.
5) Verify tracking and analytics capture
- Load the published page and confirm calls to:
POST /api/public/embed/trackGET /api/public/embed/track-pixel(fallback only when primary tracking fails)
- Confirm request payload/query includes
embedId,venueId, andtype=tour. - Confirm domain/page URL values represent the host page.
- Recheck Tours > Analytics after new visits are generated.
Tracking writes to embed analytics and is filtered by tour scope when tour context is provided.
Common issues
- No tour available to share: complete Tour Setup first, then return to Share & Embed.
- Wrong location is shown: regenerate code after selecting the correct location.
- Embed does not render: verify
venueId,embedId, and tour activation state. - Page shows clipping or hidden widget: remove restrictive container styling and retest baseline dimensions.
- Analytics does not update: verify network calls to tracking endpoints and generate a fresh external page view.
Validation checklist
- Embed code was regenerated from the correct location scope.
- Published code matches current Share & Embed output.
- Baseline render works with standard width/height.
- Tracking request succeeds on a live external page view.
- Tour Analytics reflects new test traffic.
Final note
Use a structured troubleshooting sequence: source code validity, scope checks, render checks, then tracking validation. This avoids unnecessary rework and isolates root cause faster for engineering and operations teams.
