How to Embed a 360° Virtual Tour on Your Website
A virtual tour earns most when buyers find it on your own website, next to your listing and your phone number. Here's how to add one in a few minutes on any website builder, and how to make sure it helps rather than slows the page.
Updated 13 November 2026

TL;DR
- An embed code is a short piece of HTML, an iframe, that shows your 360° tour inside a page on your own website.
- On WordPress use a Custom HTML block, on Wix use Embed Code, on Squarespace a Code block, on Shopify the Show HTML button, and on a hand-built site paste it where the tour should appear.
- Put the tour near the top of the property page and keep a written description beside it, because search engines don't count text inside an iframe as your page's content.
- Paste the code exactly as given: the fullscreen and lazy-loading settings in it make the tour work properly on phones and keep your page fast.
What an embed code is
When your tour is ready, you get two things: a share link that opens the tour on its own page, and an embed code that shows the same tour inside a page of your own website. The embed code is a single iframe, a window onto the tour, plus a one-line credit underneath. With Prime VR Tour it looks like this: <iframe src="https://primevrtour.com/embed/your-tour" width="100%" height="560" allowfullscreen loading="lazy"></iframe>, with a few more settings for fullscreen and phone sensors. The tour itself stays on our servers, so nothing heavy is added to your own hosting.
Before you start: copy the code, not the link
The share link is for WhatsApp, email and portals. The embed code is for websites. If you paste the link into a web page you get a plain link, and if you paste the embed code into WhatsApp you get a block of HTML. Copy the full embed code in one go, including the first < and the last >, and don't edit the settings inside it unless you know what each one does. If you are a Prime VR Tour client and can't find your embed code, ask us and we'll send it.
How to embed a tour on WordPress
In the block editor, click the + button where you want the tour, search for Custom HTML, and add that block. Paste the embed code into it, click Preview to check it, then Update or Publish. If your site uses Elementor, drag an HTML widget onto the page instead and paste the code there. In the older classic editor, switch to the Text tab before pasting, because the Visual tab can turn the code into plain text.
How to embed a tour on Wix, Squarespace and Shopify
On Wix, open Add Elements, choose Embed Code, then Embed HTML, paste the code and stretch the box to the size you want. On Squarespace, add a Code block to the page and paste the code; some Squarespace plans restrict custom code, so check yours if the block isn't offered. On Shopify, open the page in the editor, click the Show HTML button, which looks like <>, paste the code where you want the tour, then save. On a hand-built or agency-built site, paste the code into the HTML of the page wherever the tour should appear, or send it to whoever manages your website.
Where to place the tour on the page
For a single property, put the tour near the top of the listing page, just under the headline and price, so visitors don't have to scroll to find it. For a builder's project site, give the sample flat tour its own section and link to it from the main menu. Use one tour per page rather than several stacked on top of each other: each tour is a full interactive viewer, and one at a time keeps the page quick. Next to the tour, add a clear way to act on it, such as your phone number, a WhatsApp button or an enquiry form. Our guide to getting more enquiries from your virtual tour covers this in more detail.

Does an embedded tour slow down your website?
Not much, if you keep the code as it is. The embed code includes loading="lazy", which tells the browser to wait until a visitor scrolls near the tour before loading it, so the top of your page appears as fast as before. The panoramas themselves are served from our servers, not yours. If you place the tour right at the top of the page, it will start loading straight away, which is fine on a page whose main job is to show the tour.
Embedded tours and SEO
Search engines generally treat what is inside an iframe as belonging to the page it comes from, not to your page. So a tour on its own doesn't add words to your listing in Google's eyes. Keep a written description next to it: the property type, carpet area, locality, floor, facing, parking and amenities, in your own words. The tour then keeps visitors engaged, and the text helps the page get found.
Property portals, Google and social media
Most property portals and social networks don't let you paste HTML, so use the share link there instead. Some portal listing forms have a field for a virtual tour or video link; otherwise add the link to the description where the portal allows it. On your Google Business Profile, add the link to a post. On WhatsApp, Instagram and Facebook, share the link directly, and print the tour's QR code on brochures and site boards.
See how many views come from your website
On our Professional and Signature packages, the analytics dashboard shows where each tour's views come from. Views through the embed are reported under the website they came from, so you can see how many people opened the tour on your own site compared with WhatsApp, search or social media. That tells you whether the website placement is working and where to put your effort next.
If the tour doesn't show up
If you see the code as text on the page, it was pasted into a normal text block: delete it and use an HTML or Code block instead. If you see an empty box, your website may have a security setting that blocks iframes from other sites, so ask your developer to allow primevrtour.com. If the fullscreen button does nothing, the allowfullscreen setting was probably removed while editing; paste the original code again. If the box is too short on phones, increase the height value in the code, for example from 560 to 640.
