Install guide

Install Visisto on WordPress

Add the Visisto snippet to your WordPress site header using a free plugin. No coding, no PHP editing, no developer needed.

Before you start
  • A self-hosted WordPress site (or WordPress.com Business plan or above)
  • Admin access to your WordPress dashboard
  • Your Visisto Site Key. Find it under Sites → [your site] → Manage Site → Advanced options

Your install snippet

Replace YOUR_SITE_ID with your Site Key from the dashboard under Sites → [your site] → Install → Advanced options. Paste both script blocks before the closing </head> tag.

<script>
  window.__VISISTO__ = {
    site: "YOUR_SITE_ID",
    api: "https://api.visisto.com"
  };
</script>
<script
  src="https://cdn.visisto.com/loader.js"
  data-site="YOUR_SITE_ID"
  data-api="https://api.visisto.com"
  defer
></script>

Step-by-step installation

  1. 1
    Install the Insert Headers and Footers plugin

    Go to Plugins → Add New, search for "Insert Headers and Footers" (by WPBeginner), install it, and activate it.

    This is the safest method; it survives theme updates. Alternatively, paste directly into your theme's header.php if you know PHP.

  2. 2
    Open the plugin settings

    In the WordPress sidebar, go to Settings → Insert Headers and Footers.

  3. 3
    Paste the Visisto snippet in the Header field

    Copy the install snippet above. Paste it into the "Scripts in Header" text box.

  4. 4
    Save changes

    Click Save. The script is now active on every page of your WordPress site.

  5. 5
    Clear your page cache

    If you use WP Rocket, W3 Total Cache, or any other caching plugin, clear the cache now so the script loads on the next visit.

  6. 6
    Verify the widget appears

    Open your site in a private/incognito window, trigger the widget, and confirm it renders correctly.

Tips & notes
  • Works with every major WordPress theme: Astra, Divi, Elementor, GeneratePress, OceanWP, and more.
  • Do not paste the snippet into functions.php; it gets overwritten on theme updates.
  • If you use WP Rocket, go to WP Rocket → Dashboard → Clear Cache immediately after saving.
  • The same script covers all your WordPress pages: products, posts, landing pages, and WooCommerce pages.

Ready to capture your first contact?

Install in minutes. No developer required.

Start free. No credit card required. Setup in minutes.