Your website & installing
Connect your website to MyVisitors so widgets and chat can appear on your pages.
Adding a website
When you sign up, the first step asks which website MyVisitors is for. To add another one later:
Go to Your website in the sidebar.
Under Add a site, enter a site name (e.g. "Main website") and your domain (e.g. example.com).
Click Add site. The site gets a unique siteKey, already filled in to its install snippet. Keep it handy for the next step.
Installing the loader script
Add the following <script> tag inside the <head> of every page you want widgets to appear on. Replace YOUR_SITE_KEY with the key from the previous step.
<script
src="https://notify.uptodateconnect.com/loader.js"
data-site="YOUR_SITE_KEY"
async
></script>Placement matters
<head>, not <body>. Loading it asynchronously with async ensures it never blocks page rendering.WordPress
Use the MyVisitors plugin: download it, then in WordPress go to Plugins → Add New Plugin → Upload Plugin, install and activate it, and paste your site key under Settings → MyVisitors. The site key is the data-site value in your line. The plugin adds the script to every public page and can leave it out for logged-in administrators.
With WP-CLI: wp plugin install https://notify.uptodateconnect.com/downloads/utd-notify-wordpress.zip --activate, then wp option update utd_notify_site_key YOUR_SITE_KEY. Without the plugin, the line also works in your theme's header.php inside <head>, or in a header-scripts plugin.
Webflow
In Project Settings → Custom Code → Head Code, paste the script tag. Publish the project for it to take effect.
Shopify
In Online Store → Themes → Edit code → theme.liquid, paste the script just before the closing </head> tag.
Three ways to put it on
The second sign-up step, and Help me install it on Your website, give you three ways to do this:
- Ask your AI agent — copy one prompt into Claude Code, Cursor or Codex.
- Paste the line yourself — copy the line, then follow the steps for your website builder.
- Send it to your developer — we email them the line, where it goes, and how to check it's working.
You don't need to tell MyVisitors when you're done. Once the line is on your site, open any page: the first visit is noticed by itself. Under each site's install snippet on Your website, Hand it to your AI agent gives you a prompt too. See Build with AI agents.
Restricting allowed domains
By default, any origin can load widgets using your siteKey. Once your site is live you should lock it down. Allowed domains show only with Show everything on.
- Find the site on Your website.
- Under Allowed domains, add every domain that should be permitted (e.g.
example.com,www.example.com). - Requests from any other origin will be blocked at the API level.
Staging environments
staging.example.com) if you test widgets there — otherwise the config API will return a CORS error and no widgets will load.Verifying installation
Once the script is on your page, open the site in a browser, then return to the MyVisitors dashboard. Publish a campaign (or, with Show everything on, a widget from Widgets). Reload your website — it should appear. If it doesn't, check the browser console for script errors and confirm the siteKey matches.
Multiple sites
Each domain you manage should be a separate site. Widgets, contacts, and conversations are scoped to a site, so traffic from store.example.com and blog.example.com can be tracked independently. You can create as many sites as your plan allows.