Overview
Adding the RightMessage tracking snippet to your ClickFunnels website lets you personalize headlines, CTAs, and other content based on visitor segments, display targeted widgets, and track visitor behavior across your funnels and landing pages.
This guide covers how to install the snippet site-wide (recommended for multiple funnels) or on specific pages using ClickFunnels' custom code features. The process works for both ClickFunnels 1.0 and 2.0.
Before you begin, make sure you've copied your tracking snippet from RightMessage. If you need help finding it, check out Everything you need to know about your RightMessage tracking script.
Copy your RightMessage tracking snippet
Log into your RightMessage dashboard
Click the gear icon in the top-right corner to access Settings
Navigate to the JavaScript Snippet tab
Click the Copy button to copy your unique tracking code
Your snippet will look like this:
<script async src="https://[your-project-id].rmcloud.net/build/js/[your-project-id].js"></script>Add the snippet site-wide or funnel-wide (recommended)
This method applies the snippet to all pages in your site or to an entire funnel, ensuring consistent tracking and personalization. Use this approach if you're running multi-page funnels or want to personalize across your entire ClickFunnels site.
For site-wide installation
Log into your ClickFunnels account
Navigate to Site Settings (in ClickFunnels 2.0, access this via the Sites & Blog app)
Click on Tracking Code
Paste your RightMessage snippet into the Header Code section
Click Save
Publish your site to make the changes live
For funnel-wide installation
Log into your ClickFunnels account
Select the funnel you want to add tracking to
Click Funnel Settings
Navigate to Tracking Code
Paste your RightMessage snippet into the Header Code section
Click Save
Publish your funnel to apply the changes to all pages in that funnel
Place the snippet in the Header Code (not Footer Code) to ensure it loads early. This prevents flickering on personalized elements and enables the anti-flicker CSS to work properly.
Add the snippet to specific pages
If you only need RightMessage on certain landing pages or funnel steps, you can add the snippet using ClickFunnels' HTML/JS element.
Open the page you want to edit in the ClickFunnels Page Editor
Click Add Section or Add Row, then click the + icon to add a new element
Under MISC, select HTML/JS
Click Open Code Editor
Paste your RightMessage snippet directly into the editor (it's already wrapped in
<script>tags, so no additional wrapping needed)Click Save
Publish the page to make the snippet live
The snippet won't execute in the Page Editor preview mode. Always test on the live published page to verify it's working correctly.
Verify the snippet is working
After installing the snippet, confirm it's loading properly:
Visit your live ClickFunnels funnel or page (use incognito/private browsing mode to avoid cached versions)
Open your browser's developer tools (press F12 or right-click and select Inspect)
Go to the Console tab and look for any RightMessage errors (you shouldn't see any if installed correctly)
Check the Network tab and search for your project ID to confirm the script is loading
Return to your RightMessage dashboard and go to Settings > JavaScript Snippet
After about 60 seconds, the Snippet Health indicator should turn green with a recent timestamp
If the health indicator shows green, your snippet is installed correctly and tracking visitors.
Troubleshooting
Script not loading or no data appearing in RightMessage
Check placement: Ensure you pasted the snippet in the Header Code section (not Footer). If using the HTML/JS element, make sure it's at the top of your page.
Verify publication: Changes in ClickFunnels don't go live until you click Publish. Double-check that you've published your site, funnel, or page after adding the snippet.
Clear cache: Browser caching can prevent the new script from loading. Test in an incognito/private window or clear your browser cache.
Ad blockers: Some ad blockers or privacy extensions block tracking scripts. Disable them temporarily or whitelist your funnel URL.
Check console errors: Open browser dev tools (F12) > Console tab. Look for JavaScript errors that might indicate the script was stripped or blocked.
Personalized content is flickering
If you see original content flash before personalized content appears, the snippet may be loading too late. Ensure you've placed it in the Header Code section (not footer or mid-page HTML block). The snippet includes anti-flicker CSS that applies automatically when loaded in the <head>.
Widgets not displaying
If you're embedding RightMessage widgets (bars, modals, or areas) using HTML blocks:
Use the HTML/JS element (not a standard text element) to paste widget embed codes
Clear your browser's local storage, as RightMessage caches widget responses (e.g., dismissed modals)
Verify the widget is active and published in your RightMessage dashboard
No ESP/CRM sync with ClickFunnels contacts
RightMessage does not have a native integration with ClickFunnels' email or CRM system. The tracking snippet enables personalization and visitor tracking on your funnels, but you'll need to connect RightMessage to your primary email platform (like ConvertKit, Mailchimp, or ActiveCampaign) for two-way data sync and segmentation based on email engagement.
If you're migrating from another platform to ClickFunnels, you can use webhooks or Zapier to push form submissions from ClickFunnels into RightMessage, but real-time synchronous syncing is not available.
For general snippet troubleshooting beyond ClickFunnels-specific issues, see Common set up issues.
Next steps
Once your snippet is installed and verified:
Create segments based on visitor behavior, UTM parameters, or quiz/survey responses
Personalize funnel headlines, CTAs, or images using RightMessage's visual editor
Add widgets like exit-intent popups or email bars to capture leads
Connect your email platform integration for enhanced segmentation and personalization