WordPress ToastUp Install Guide WordPress guide

Install ToastUp on WordPress
in 5 minutes

The easiest way is to copy your ToastUp snippet, paste it into the WordPress site header with a small plugin, then publish a toast.

ONE
SNIPPET
WordPress
Header Code Install
📋 What you paste into WordPress
<script async src="https://toastup.co/widget.v1.js"
  data-site="YOUR_SITE_KEY"></script>
🧩 Method
Header plugin
⚡ Time
~5 minutes
💼 Why WordPress teams use ToastUp

One snippet. More visible campaigns.

🧲

Capture more leads

Turn traffic into subscribers, trial users or booked calls.

💬

Promote offers fast

Announce coupons, launches and seasonal campaigns instantly.

📊

Measure every toast

See what gets attention without adding another heavy plugin.

✅ Before you start

You Only Need
Four Things.

If these are ready, you can move from setup to your first live conversion toast in minutes.

  • 🔐Admin accessAccess to your WordPress admin panel.
  • 🌐Connected domainA ToastUp account with your WordPress domain added.
  • 📋Ready snippetYour ToastUp snippet copied from Dashboard -> Install snippet.
  • 🧩Install permissionPermission to install plugins or edit theme files in WordPress.
  1. 📋Step 1Copy snippetIn ToastUp, copy the snippet from Dashboard -> Install snippet.
  2. 🛠️Step 2Open theme editorIn WordPress, open Appearance -> Theme File Editor.
  3. 🛡️Step 3Use a child themeSelect your active child theme if you have one, then open header.php.
  4. 📍Step 4Place before </head>Find the closing </head> tag and paste the full ToastUp snippet directly before it.
  5. Step 5Update and publishUpdate the file, clear cache, then publish a toast for this website in ToastUp.
🔍 Verify install

How to Check
That It Works.

After saving the WordPress snippet, run through this quick checklist before assuming something is broken.

  • 🕵️Open your WordPress site in a new incognito/private window.
  • 🔎View page source and search for widget.v1.js.
  • 🔑Confirm the snippet contains your data-site key from ToastUp.
  • 📣Confirm the toast is published and assigned to this WordPress website.
  • 🎯Test on a URL and device that match the toast targeting rules.
🧯 Troubleshooting

Toast Not Showing?

Most WordPress display issues come from cache, placement or targeting. Check these first.

🔎

Check page source

Open the WordPress page, view source, and search for widget.v1.js. If it is missing, the snippet is not installed in the active header.

🧹

Clear cache

Caching plugins, optimization plugins and CDNs can serve an older page version. Purge cache after adding the script.

🎯

Confirm targeting

If a toast targets a specific URL, device, schedule or exit-intent, test on a page and device that match those rules.

📣

Publish the toast

Draft toasts never appear publicly. Open the toast editor, select your WordPress website and publish it.

Frequently Asked Questions

Find the information you need in a snap. Complete answers to make your experience easier.

Do I need a WordPress plugin?+

No. A header scripts plugin is the easiest option, but you can also paste the snippet into header.php if you are comfortable editing theme files.

Where exactly should I paste the ToastUp snippet?+

Paste it in the site head, ideally right before the closing </head> tag. This lets ToastUp load on every page where your theme outputs the head section.

Will theme updates remove the snippet?+

If you edit a parent theme directly, updates can overwrite your changes. A header scripts plugin or a child theme is safer.

Why is my toast not showing on WordPress?+

Check that the snippet is present in the page source, the toast is published, the correct website is selected, targeting rules match the current URL, and cache has been cleared.

Ready to add ToastUp
to WordPress?

Create your account, copy one snippet and launch your first conversion toast.

Start Free with ToastUp

Want the full tour first? See every ToastUp feature or Compare plans & pricing.