To resolve the issue with the Follow Up Boss pixel not working on your WordPress site via WPCode, follow these key steps:
1. Verify WPCode Placement
Ensure the script is added to the Site-Wide Header section in WPCode with priority set to 10. If it doesn’t work, try reducing the priority to 1 or 5 to load it earlier in the <head> tag.
2. Check Page Source
Open your site in a browser and view the page source (Ctrl+U). Look for this line:
<script src="https://widgetbe.com/agent.js" async></script>
If it's missing, the script isn't being injected—confirm that the WPCode snippet is active and set to load site-wide.
3. Use Browser Developer Tools
Open Developer Tools → Network tab → refresh the page. Filter by “Script” and check if agent.js is being loaded. Also, check the Console tab for JavaScript errors.
4. Try Manual Placement
If WPCode fails, place the script directly in your theme’s header.php just before the </head> tag. Use a child theme to prevent it from being overwritten during updates.
5. Disable Conflicting Plugins
Temporarily disable any caching, firewall, or optimization plugins, as they might block external scripts. After changes, clear all caches.
6. Confirm Tracking ID
Double-check the ID in the script:
window.widgetTracker("create", "WT-MEUEPSGZ");
Ensure it matches what Follow Up Boss provided.
7. Test in Private Mode
Use incognito or another browser to ensure it's not a caching or browser extension issue.
8. Optional: Use Google Tag Manager
If script injection still fails, consider adding the code via Google Tag Manager, which offers more control and reliability.