Installation
When you add a new Site, you'll receive a JavaScript tag to add to your pages. If you've misplaced it, you can find it again in the "Manage your Sites" menu:
Once there, select your website and retrieve the script to paste into your pages by clicking "Get Script Tag":
Next, you will see this modal with the javascript tag to copy/paste into your website:
Click "Copy" to copy the script. You'll need to insert this script tag into the <head>
section of your website pages. If you're unsure how to proceed, or if you have an IT team or webmaster, share these instructions along with the script.
Direct access
If you're a webmaster and know what you're doing, you can add the script directly into the <head>
section of your pages, and you're good to go! It is recommended to place this JavaScript tag before other scripts to ensure more accurate performance measurements of your users.
WordPress
Solution 1: Theme
If you're using a theme, there’s often an option to add custom scripts to your pages. Check your theme’s documentation to find this option. This is the best way to ensure your script remains intact after theme or plugin updates.
Make sure you refreshed the cache!
Solution 2: Plugin
Alternatively, you can install a plugin to manage script tags in WordPress. We recommend using "Code Snippets" available here: https://wordpress.org/plugins/code-snippets/.
Once installed, go to the new menu "Code Snippets" > "Header & Footer", paste the WireBoard JavaScript tag in the "Header" field, and click "Save Changes".
After this, refresh the cache if needed.
Solution 3: File Modification
As a final option, if your theme doesn’t have a custom script option and you can't install plugins, you can manually add the script here:
- Go to the "Appearance" menu.
- Click "Theme File Editor".
- On the far right, select the "header.php" file.
- Paste your script just before the
</head>
tag. - Click "Update File".
Don't forget to click "Update File" at the bottom of the page and refresh the cache!
Wix
- Go to
Settings
in your site's dashboard. - Click
Custom Code
in the Advanced section. - Click
+ Add Custom Code
at the top right. - Paste the code snippet in the text box.
- Enter a name for your code.
- Select "All pages" under
Add Code to Pages
. - Choose "Head" under
Place Code in
. - Click Apply.
More details can be found in the official Wix documentation.
Squarespace
- Open the "Utilities" > "Website Tools" > "Code Injection panel".
- Add the script into the appropriate Code Injection fields for the header.
- After adding your code, click "Save".
You can find more details on YouTube or in their official documentation.