Guide · Prime VR Tour

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

How to Embed a 360° Virtual Tour on Your Website

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.

FAQ

Frequently asked questions

Do I get an embed code with every tour?

+

Yes. Every tour we deliver comes with a share link, a QR code and an embed code for your website and any portal that accepts one.

Can I put the same tour on more than one website?

+

Yes. The same embed code works on any number of websites, for example your own site, a builder's project page and a channel partner's site.

Will the embedded tour work on phones?

+

Yes. The embed fills the width of the page column, and visitors drag or swipe to look around and tap to move between rooms. Fullscreen is available on phones that support it.

Do I need a developer to embed a virtual tour?

+

Usually not. On WordPress, Wix, Squarespace and Shopify it takes a few minutes using the steps above. You only need a developer if your website was custom-built and you can't edit its pages yourself.

How long does the embedded tour stay live?

+

As long as the tour's hosting is active. Hosting is included for 3, 6 or 12 months depending on the package, and it can be extended so the embed keeps working.

Is the embedded tour the same as the shared link?

+

Yes, it is the same tour, with the same rooms and hotspots, and any change we make to the tour shows up in both. The embed just shows it inside your own page instead of on its own.

Want a 360° tour for your website?

We shoot it, host it and send you the link, QR code and embed code, usually within 2 to 4 working days of the shoot.