Supported Platforms
Campaign Studio works with any website. Here’s how to add the script snippet to popular platforms. Your script snippet looks like this:Replace
YOUR_SITE_ID with the actual site ID from your Campaign Studio dashboard.Shopify
1
Go to your Shopify admin
Navigate to Online Store > Themes.
2
Edit code
Click Actions > Edit code on your active theme.
3
Open theme.liquid
In the Layout folder, open
theme.liquid.4
Paste the script
Add the script snippet just before the closing
</head> tag. Click Save.WordPress
1
Install a header script plugin
Install a plugin like Insert Headers and Footers (by WPCode) from the WordPress plugin directory.
2
Add the script
Go to Settings > WPCode (or your header plugin’s settings). Paste the script snippet into the Header section. Click Save.
header.php or functions.php:
Webflow
1
Open Project Settings
In your Webflow project, go to Project Settings > Custom Code.
2
Add to Head Code
Paste the script snippet into the Head Code section. Click Save Changes.
3
Publish
Publish your site for the changes to take effect.
Squarespace
1
Open Code Injection
Go to Settings > Advanced > Code Injection.
2
Add to Header
Paste the script snippet into the Header field. Click Save.
Wix
1
Open Wix Dashboard
Go to Settings > Custom Code (or use Velo by Wix).
2
Add custom code
Click Add Custom Code, paste the script, set it to load in the Head on All pages. Click Apply.
Next.js
Add the script to your root layout file:React (Create React App / Vite)
Add the script to yourindex.html:
Static HTML
Add the script to your HTML file’s<head> section:
