Install on WordPress
Paste the script into a site-wide header field. There is no Mayfly plugin to install.
Steps
- In Mayfly, open Install for the website, choose WordPress and copy the script.
- In WordPress, open the header-code plugin you already use, or your theme’s global header-code setting.
- Paste the script into the Header field and save. Don’t paste it into a post or page.
- Clear your site’s cache, including any caching plugin.
- Back in Mayfly, choose I’ve added the script. Check installation.
<script defer
src="https://getmayfly.com/mayfly.js"
data-site="YOUR_SITE_ID"
data-verify="YOUR_VERIFICATION_CODE"></script>Use your own script from Install: the site ID and verification code above are placeholders.
Something here doesn’t match what you see? Write to kirylapps@gmail.com.