# GoHighLevel and Elementor

> Follow this step-by-step guide to set up GoHighLevel and Elementor with AnyTrack. Learn how to configure tracking, set up postback URLs, and enable accurate conversion attribution for your campaigns.

## Integration Overview

If you're already using WordPress with Elementor forms connected to GoHighLevel, and you want to connect AnyTrack to your marketing flow to improve your attribution data, you need to make some adjustments to your current setup in order to benefit from AnyTrack conversion data and attribution enrichment via server side tracking.

> You're losing 30-70% of conversion attribution with Elementor and GoHighLevel tracking gaps. AnyTrack bridges this gap by connecting WordPress traffic data with GHL conversions.
>
> Connect Elementor, GoHighLevel with AnyTrack in 3 steps:
>
> 1. **Install AnyTrack tag** on your WordPress site (tracks visitor attribution)
> 2. **Add hidden field** to your Elementor forms: `_atid`. This will automatically pass critical tracking data between your forms and GHL.
> 3. **Install AnyTrack app** in GHL (to get conversions via server side tracking)
>
> **Result:** Complete attribution from Ad platforms → WordPress page → GHL conversion → back to ad platforms for optimization.

> 📘 **Elementor**
>
> This guide is specifically for Elementor Pro forms widgets. If you're using other form builders like Gravity Forms, Contact Form 7, or WPForms, the concept is the same but you need to ensure the `_atid` parameter is captured and sent to GHL. You'll need to find how to add a hidden field with default value `--CLICK-ID--` and ensure it passes to GHL.

## How This Integration Works

Enhance your existing setup with AnyTrack:

1. **Visitor arrives**: Facebook ad click brings visitor to your WordPress page, AnyTrack captures attribution data
2. **Form interaction**: Visitor fills out your existing Elementor form, hidden `_atid` field captures their unique session ID
3. **Data bridge**: Form submission sends both lead data AND attribution data to GoHighLevel
4. **Conversion tracking**: <a href='/docs/highlevel'>AnyTrack app</a> in GHL processes the conversion and sends complete data back to <a href='/docs/facebook-ads'>Facebook</a>, <a href='/docs/google-ads'>Google Ads</a> and other connected <a href='/docs/advertising-integrations'>Advertising Integrations</a>.
5. **Attribution complete**: You now know exactly which ad, campaign, and keyword drove each conversion

## Technical Specifications

Below is the configuration reference for GoHighLevel integration:

| Reference       | Value                       | Information                                                                       |
| --------------- | :-------------------------- | :-------------------------------------------------------------------------------- |
| Tracking Group  | `ghl`                       | The Tracking Group reference can be used to activate <Glossary>AutoTag</Glossary> |
| Subid Parameter | `_atid`                     | The parameter that bridges WordPress visitor data with GHL conversion data        |
| Tracking Method | `Client-Side + Server-Side` | WordPress tracking tag + GHL app integration for complete attribution chain       |

## Standard Conversion Events

AnyTrack tracks these events from your GoHighLevel setup:

| HighLevel Event       | AnyTrack Event | Default Status | Description                                                    |
| :-------------------- | :------------- | :------------- | :------------------------------------------------------------- |
| `Form submit`         | `FormSubmit`   | 🔧 System      | Browser-side form submission event from Elementor or GHL form. |
| `Contact created`     | `Lead`         | ✅ Enabled      | When a new contact is created in GHL                           |
| `Appointment created` | `Schedule`     | ✅ Enabled      | When a contact books an appointment through GHL                |
| `Order created`       | `Purchase`     | ✅ Enabled      | When a contact completes a purchase in GHL                     |

> 📘 **Before**
>
> Ensure you have:
>
> * WordPress site with Elementor forms already collecting leads
> * Active GoHighLevel account receiving form submissions
> * Forms working properly (we'll enhance them, not replace them)
> * Admin access to both WordPress and GHL so you can add the AnyTrack tracking tag, and connect the AnyTrack app from the GHL Marketplace.
> * Active AnyTrack account

## Setup Guide

### Step 1: Install AnyTrack on Your WordPress Site

Add visitor tracking to capture traffic sources:

1. Create new property in AnyTrack dashboard
2. Name it descriptively (e.g., "WordPress Lead Gen Site")
3. Enter your WordPress site URL
4. Copy the AnyTrack tracking tag provided
5. Install the tag in your WordPress `<head>` section using one of these methods:
   * **AnyTrack Plugin**: Add the AnyTrack plugin which automatically adds the tracking tag.
   * **Google Tag Manager**: Via the AnyTrack Official <a href='/docs/google-tag-manager'>Google Tag Manager Template</a>.
   * **Elementor**: Go to Elementor → Settings → Advanced → Custom Code → Head section
6. **Test the installation**: Visit your website and check the AnyTrack dashboard for visitor data

> 📘 **Pro Tip**
>
> Install the [AnyTrack Pixel Helper Chrome extension](https://chromewebstore.google.com/detail/anytrack-pixel-helper/ojmhkmdpagjeopleoeihbhgejcfoijjn) to verify the AnyTrack Tag is working correctly and see real-time events.

### Step 2: Bridge Your Existing Forms

Connect form submissions to visitor attribution data:

Choose the option that matches your current setup:

#### Option A: Elementor Pro Forms with Direct GHL Integration

If your Elementor forms send data directly to GHL via webhooks:

1. **In GoHighLevel**: Create custom field
   * Go to CRM → Settings → Custom Fields
   * Add new field: Name = `_atid`, Scope = Contact
   * Save the custom field

2. **In WordPress**: Update each Elementor form
   * Edit the page containing your form
   * Select the Form widget in Elementor
   * Go to Content → Fields → Add Item
     * Field Type: Hidden
     * Field ID: `_atid`
     * Default Value: `--CLICK-ID--`
   * Save the form

3. **Update webhook mapping**:

   * In Elementor form Actions, find your webhook action
   * Add the `_atid` field to your webhook payload
   * Enable Advanced Data slider

   <Image alt="Advanced Data allows to include more form details." align="center" border={true} src={readmeAsset1} caption={"Advanced Data allows to include more form details."} />

   * Test the form submission

#### Option B: Elementor Forms with Zapier/Make.com Integration

If you're using Zapier or Make.com to connect Elementor to GHL:

1. **In GoHighLevel**: Create the `_atid` custom field (same as Option A)

2. **In WordPress**: Add hidden field to forms (same as Option A)

3. **In Zapier/Make**: Update your automation
   * Edit your existing Elementor → GHL automation
   * Map the new `_atid` field from Elementor to the custom field in GHL
   * Test the updated automation

#### Option C: GHL Forms Embedded in Elementor

If you're embedding GHL forms directly in Elementor:

1. **In GoHighLevel**: Create the `_atid` custom field
2. **Edit each GHL form** to include the `_atid` field as hidden
3. **Re-embed the updated forms** in your Elementor pages

> 🚧 **Test**
>
> We strongly recommend duplicating a funnel to test and validate the flow before rolling out in order to prevent surprises. Once you are satisfied, replicate the setup to your live funnels.
>
> * **Test on one form first** before updating all forms
> * **Keep your existing webhooks/automations** - we're adding to them, not replacing
> * **Don't modify working GHL workflows** - the AnyTrack app works alongside them
> * **Backup your forms** before adding the hidden field

### Step 3: Connect AnyTrack to GoHighLevel

Capture conversions and send them to your ad platforms:

1. Navigate to the AnyTrack Integration Catalog
2. Search for "HighLevel" or "GoHighLevel"
3. Click "Install Integration"
4. Select the property you created in Step 1
5. Click "Next" to proceed
6. Authenticate with your HighLevel account
7. Select the correct HighLevel sub-account
8. Save the integration settings

> 📘 **App Integration Benefits**
>
> The AnyTrack app in the HighLevel marketplace automatically handles all server-side conversion tracking without requiring manual webhook setup. Your existing workflows continue working normally.

## Verify Your Enhanced Setup

### Test the Complete Attribution Chain

1. **Clear your browser cache** and visit your WordPress site
2. **Fill out and submit** one of your updated forms
3. **Check AnyTrack dashboard** for the form submission event (data appears within seconds in the <a href='/docs/conversions-report'>Conversions Report</a>)
4. **Check GHL** to confirm the lead was created with the `_atid` field populated with an AnyTrack Click ID value
5. **Check integration logs** in AnyTrack to see the conversion data flow

### Validate Attribution Data

1. Visit your WordPress site with UTM parameters (simulate an ad click):\
   `yoursite.com?`utm_source`=facebook&`utm_campaign`=test`
2. Submit a form
3. In AnyTrack dashboard, verify the conversion shows the correct UTM attribution
4. If you have <a href='/docs/ga4'>Google Analytics 4 connected to AnyTrack</a>, you can see real-time data there as well
5. Check <a href='/docs/facebook-ads'>Facebook Event Manager</a> for conversion data (appears within 20 minutes)

> 📘 **Important About Test Data**
>
> Test conversions won't appear in Facebook or Google Ads Manager since they're not from actual ads. However you validate the data in your Facebook Event Manager and AnyTrack dashboard.

> 📘 **Data**
>
> * **AnyTrack Dashboard**: Real-time (within seconds)
> * **Facebook Event Manager**: Within 20 minutes
> * **Google Analytics 4**: Real-time (if connected)
> * **Ad Platform Optimization**: 24-48 hours for full effect

## Advanced Configuration

### Multiple Forms on Same Page

If you have multiple Elementor forms on the same page:

* Add the `_atid` hidden field to **every form**
* Each form submission will maintain proper attribution
* Use different form names for better tracking granularity

### Landing Page Variations

For different landing pages or campaigns:

* The same AnyTrack tag works across all WordPress pages
* Each form submission automatically inherits the visitor's attribution data
* Use the <a href='/docs/landing-page-report'>AnyTrack Landing Page Report</a> to see conversion data for specific pages
* No additional configuration needed per page

### Attribution Requirements

The only parameter required for proper attribution is the AnyTrack Click ID value (`_atid`) being passed to GHL. Any other data passed from your Elementor form to GHL follows your existing setup and doesn't need modification for AnyTrack functionality.

## Important Configuration Notes

> ❗ ****
>
> If you currently have Facebook Pixel or Google Analytics tracking on your WordPress site, ensure AnyTrack doesn't duplicate conversion events. AnyTrack should become your single source of truth for ad platform conversions.

### Disable Conflicting Tracking

To prevent duplicate conversions:

1. **Remove Facebook Pixel** from WordPress (AnyTrack will load it automatically when you <a href='/docs/facebook-ads'>connect Facebook</a>)
2. **Disable conversion tracking** in other plugins
3. **Let AnyTrack handle** all ad platform communication
4. **Keep Google Analytics** for website analytics (it won't conflict)

### Data Deduplication

AnyTrack automatically handles deduplication when sending data to ad platforms:

* No duplicate conversions sent to Facebook or Google Ads
* Clean attribution data for algorithm optimization
* Proper visitor journey tracking across platforms

## Related Resources

- [Advanced Options](/docs/advanced-options-ms-ads)
- [Other Ad Networks](/docs/other-ad-networks)
- [Reddit UTM Parameters](/docs/reddit-ads)

## FAQ and Troubleshooting

- **I'm using Gravity Forms/Contact Form 7/WPForms instead of Elementor. Will this work?**
  The concept is the same, but you must ensure the `_atid` parameter is captured and sent to GHL. Add a hidden field with default value `--CLICK-ID--` and ensure it passes to GHL. Each form builder handles this differently.

- **Do I need to change my existing GHL workflows?**
  No. Your existing automations, workflows, and integrations continue working as before. AnyTrack adds attribution data without disrupting your current setup.

- **What if I have multiple forms on different pages?**
  Add the `_atid` hidden field to every form you want to track. Each form automatically inherits the correct attribution data based on how the visitor arrived.

- **Can I track phone calls and other offline conversions?**
  AnyTrack only tracks the events shown in the Standard Conversion Events table. Phone calls and other offline activities are not automatically tracked unless they create a supported event in GHL.

- **Will this slow down my WordPress site?**
  No. The AnyTrack tag is lightweight and loads asynchronously without affecting page load speeds or user experience.

- **What happens to visitors with ad blockers?**
  Server-side tracking integration with GHL ensures conversions are tracked even if client-side tracking is blocked. You get higher tracking accuracy than most solutions.

- **How do I know if the attribution data is working?**
  Check AnyTrack conversion logs for form submissions with UTM parameters populated. Verify that contacts created in GHL have the `_atid` field value like: `Mwd242jJwwqHAy8gHzk8VWxLt3kYgh`

### Common Tracking Issues with GoHighLevel

**Forms Submit But No Attribution Data in AnyTrack**

- Verify AnyTrack tag is installed in WordPress `<head>` section
- Check that hidden `_atid` field was added to all forms
- Ensure your webhook/integration includes the `_atid` field mapping
- Test with browser developer tools to see if `_atid` has a value

**GHL Shows Leads But AnyTrack Doesn't Show Conversions**

- Confirm AnyTrack app is installed and connected in GHL
- Check that the correct GHL sub-account is selected
- Look at integration logs for error messages

**Attribution Shows "Direct" Instead of Actual Source**

- Visitor may have visited site before tracking was installed
- UTM parameters might not be properly formatted in ads
- Verify ad campaigns include proper UTM tracking templates

**Multiple Form Builders on Same Site**

- Each form builder requires specific configuration for hidden fields
- Contact support for multi-form-builder setups
- Consider standardizing on one form solution for easier tracking

### Data Accuracy Notes

Your enhanced setup provides:

- First-party data collection (not affected by ad blockers)
- Server-side conversion tracking (iOS-proof attribution)
- Cross-platform attribution (WordPress → GHL → Ad platforms)
- Real-time data processing for immediate optimization

> **Expected Results After Setup**
>
> **Within 24 hours:**
> - Complete visitor journey tracking in AnyTrack dashboard
> - Form submissions properly attributed to traffic sources
> - Conversion data flowing to Facebook and Google Ads
> - Improved Facebook Event Match Quality
>
> **Within 2-4 weeks:**
> - Improved ad targeting as algorithms receive better data
> - 20-40% ROAS improvement from accurate attribution
> - Better audience building from complete conversion data

By following this guide, you'll transform your existing WordPress + GHL setup into a complete attribution powerhouse, finally seeing which of your ads and campaigns are actually driving conversions.
