Once you've integrated your RightMessage account with GoHighLevel (GHL), you'll be able to use us to capture new contacts, segment your GoHighLevel contacts, and personalize your website with contact data, tags and custom fields.
In this guide, we cover everything you need to know about segmenting and personalizing with GoHighLevel + RightMessage.
RightMessage's GoHighLevel integration uses OAuth 2.0 for authentication and works with both Location Level Access (Sub-Account) and Agency Level Access (Company) depending on your GoHighLevel plan.
Linking RightMessage with GoHighLevel
To create a link between RightMessage and GoHighLevel, you'll need to go through the OAuth 2.0 authentication flow that GoHighLevel provides.
Our GoHighLevel integration is still in limited beta. While it's fully tested and being used now by dozens of large customers, to enable it contact support and we'll add GHL to your RightMessage account.
Step 1: Access the GoHighLevel integration
In RightMessage, click on Integrations in the left sidebar, then choose GoHighLevel from the list of available integrations.
Step 2: Connect through OAuth
Click the Connect to GoHighLevel button. You'll be redirected to GoHighLevel to approve the integration, then redirected back to RightMessage.
When successfully connected, you'll see a green toast notification with the message "Successfully connected to GoHighLevel".
Step 3: Select your Location (if applicable)
If you have multiple locations in your GoHighLevel account, you'll need to select which one you want to connect to RightMessage. This is especially important for Agency accounts.
Identifying GoHighLevel contacts on your website
For RightMessage to identify your GoHighLevel contacts when they visit your website, you need to pass their unique contact ID through either a URL parameter named ghl_id.
Pro Tip: The best way to identify contacts is to include the ghl_id parameter in links from your GoHighLevel emails. You can create a custom value in GoHighLevel called "Website Base URL" and use merge fields to construct tracking URLs that include the contact ID.
Adding contact ID tracking to your GoHighLevel emails
When sending emails from GoHighLevel, you'll need to manually append the ghl_id
parameter to links that point to your website:
Create your link in GHL's email editor
Append to the end of it
?ghl_id={{contact.id}}
(Optional) Consider adding other marketing tracking parameters, like
?ghl_id={{contact.id}}&utm_source=email...
The GoHighLevel data we can use to segment website visitors
When a visitor is identified on your website, RightMessage has immediate access to:
Their contact details (name, email, phone, etc.)
Their custom fields
Their tags
Check out our sections on segmentation and Flows for guidance on how to use this data.
Outputting contact fields (like someone's first name) on your website
With RightMessage, you can output known data about GoHighLevel contacts directly on your website.
To include a native GoHighLevel contact field value within a text personalization, use: contact.firstName
To include a custom field value, like favorite_color: contact.customFields.favorite_color
Some of the native fields you can use include:
firstName
lastName
email
phone
address1
city
state
postalCode
country
companyName
RightMessage identifies visitors by looking for a URL query parameter named "ghl_id" or a cookie named "ghl_id". If your site does not provide a ghl_id via link query or cookie, RightMessage will not be able to match that visitor to a GoHighLevel contact.
However, if the visitor has already been identified previously using the browser they're visiting your website again with, we'll know who they are automatically.
Testing your integration
After setting up your GoHighLevel integration, test it by:
Sending yourself a GoHighLevel email with a link to your website that includes the ghl_id parameter
Clicking the link in your email
Verifying that RightMessage correctly identifies you as a contact in the Test Segmentation panel
Checking that your customizations appear correctly on the page
You'll know the integration is working when the Debug panel shows that you're identified as a GoHighLevel contact.
Troubleshooting
If you encounter issues with your GoHighLevel integration, check these common problems:
No location ID configured: This error means the integration didn't properly select a GoHighLevel location. Try reconnecting to the integration and make sure to select a location.
Connection issue: If your GoHighLevel authentication fails, you may need to reconnect the integration.
If visitors aren't being identified on your website:
Check that your links include the
ghl_id
parameter with a valid contact IDVerify that the
ghl_id
cookie is being set correctly on your websiteEnsure your tracking script is installed properly
Check that the contact ID in your URL parameter matches a valid contact in your GoHighLevel account
Agency-level vs sub-account access
Depending on your GoHighLevel plan, you may have access to either:
Location Level Access: Connect to a specific location/sub-account in your GoHighLevel setup
Agency Level Access: Connect to your entire Agency account (requires Agency Pro plan)
To access Agency-level features, make sure you have the required GoHighLevel plan. Contact GoHighLevel support if you're unsure about your access level.