# Elementor Integration

> Track Elementor Pro form submissions with AnyTrack webhooks, hidden click ID fields, and server-side attribution for Meta, Google, and other ad platforms.

## What is Elementor integration?

Connect your Elementor-powered WordPress website with AnyTrack to automatically track form submissions, leads, and multi-step forms. This integration captures visitor data and conversion events from your Elementor forms.

## Why use Elementor integration?

* **Accurate conversion tracking**: Capture every lead and form submission automatically * **Better attribution**: Connect form submissions to their traffic sources * **Improved ROAS**: Make data-driven decisions with complete conversion data * **Streamlined setup**: Use webhooks (automated data transfers) to send form data directly to AnyTrack

<Callout icon="🚧">
  **WordPress** > > If you've added the AnyTrack affiliate plugin or WooCommerce plugin, jump to the <a href="/docs/elementor#step-by-step-guide">Step by step guide</a>.
</Callout>

## About Elementor

Elementor is the leading website building platform for WordPress. It enables web creators to build professional, pixel-perfect websites with an intuitive drag-and-drop interface.

Elementor's form widget allows marketers to:

* Set custom webhooks (automated data transfers to external services) * Add over 20 different field types, including hidden fields * Create powerful lead capture forms

<br />

```mermaid
flowchart LR
    A[User Clicks Ad] --> B[Landing Page with AnyTrack Tag]
    B --> C[Click ID Generated]
    C --> D[Form Submission or Purchase]
    D --> E[AnyTrack Receives Conversion]
    E --> F["Ad Platform API (Facebook, Google, etc.)"]
    F --> G[Conversion Synced for Optimization]
```

<Callout icon="📘">
  **Requirements** > > 1. Elementor Pro (webhooks are only available in Elementor Pro) > 2. The AnyTrack Tag installed in your website's head section
</Callout>

<Callout icon="📘">
  **Good to know** > > Once set up, all pages and sections of your website will be tracked automatically.
</Callout>

## Step by step guide

<Embed url="https://www.youtube.com/embed/mXanWqdR3tQ?si=Bng9x7GYrCs_Lh5Z" href="https://www.youtube.com/embed/mXanWqdR3tQ?si=Bng9x7GYrCs_Lh5Z" typeOfEmbed="iframe" height="400px" width="100%" iframe="true" />

### Step 1: Add AnyTrack Tag to your website

Install the AnyTrack tracking tag in your website's head section to enable conversion tracking. This tag will capture visitor data and click IDs automatically.

1. From your WordPress dashboard, select the **Elementor** menu 2. Click **Custom Code** 3. Click **New code** 4. Name the code (e.g., "AnyTrack Tag") 5. Paste the <Glossary>AnyTrack Tag</Glossary> in the code section 6. Make sure **Location: Head** is selected 7. Click **Publish** 8. Select **Entire Site** and **Save**

<Image align="center" border={true} src={readmeAsset1} className="border" />

<Image align="center" border={true} src={readmeAsset2} className="border" />

### Step 2: Add the Elementor Integration in AnyTrack

1. Open the **Integration Catalog** and search for **Elementor** 2. Click the Elementor card, then click **Install** 3. Click the **webhook URL** to copy it to your clipboard

<Callout icon="💡" theme="default">
  ### What's a webhook URL?

  A webhook URL is a unique web address that receives data automatically when someone submits your form. Think of it as a mail slot that receives form data and sends it to AnyTrack.
</Callout>

<Video align="center" border={true} src={readmeAsset3} className="border" />

### Step 3: Configure Elementor Form

<Callout icon="📘">
  **Note** > > This step assumes you have a working WordPress + Elementor website with a configured form that you want to track.
</Callout>

<Embed url="https://www.youtube.com/watch?v=Bc5C6t7Jql0" href="https://www.youtube.com/watch?v=Bc5C6t7Jql0" typeOfEmbed="youtube" html="%3Ciframe%20class%3D%22embedly-embed%22%20src%3D%22%2F%2Fcdn.embedly.com%2Fwidgets%2Fmedia.html%3Fsrc%3Dhttps%253A%252F%252Fwww.youtube.com%252Fembed%252FBc5C6t7Jql0%253Ffeature%253Doembed%26display_name%3DYouTube%26url%3Dhttps%253A%252F%252Fwww.youtube.com%252Fwatch%253Fv%253DBc5C6t7Jql0%26image%3Dhttps%253A%252F%252Fi.ytimg.com%252Fvi%252FBc5C6t7Jql0%252Fhqdefault.jpg%26type%3Dtext%252Fhtml%26schema%3Dyoutube%22%20width%3D%22854%22%20height%3D%22480%22%20scrolling%3D%22no%22%20title%3D%22YouTube%20embed%22%20frameborder%3D%220%22%20allow%3D%22autoplay%3B%20fullscreen%3B%20encrypted-media%3B%20picture-in-picture%3B%22%20allowfullscreen%3D%22true%22%3E%3C%2Fiframe%3E" />

1. Edit the page where your form is located 2. Edit the form to reveal its settings 3. Open **Actions After Submit Settings** 4. Select the **Webhook** option 5. Open the **Webhook** settings 6. Paste the webhook URL you copied in Step 2 7. Enable the **Advanced Data** option

<Image align="center" alt="Advanced Data allows Elementor to include more details in the form data" border={true} caption="Advanced Data allows Elementor to include more details in the form data" src={readmeAsset4} />

8. Save and **Publish** your form

### Step 4: Configure the Elementor Form fields

1. Add a new field 2. Select **Hidden** as the field type 3. Set Label to: `click_id` 4. Set Default Value to: `--CLICK-ID--`

<Callout icon="💡" theme="default">
  ### What's a `click_id`?

  A `click_id` is a unique identifier that tracks where each visitor came from. The `--CLICK-ID--` placeholder automatically captures this information when someone visits your page.
</Callout>

<Image align="center" border={true} src={readmeAsset5} className="border" />

<Image align="center" border={true} src={readmeAsset6} className="border" />

5. Update other fields to follow the supported [Event Attributes](docs:event-attributes) such as `email`, `phone`, `firstName`, etc.

<Callout icon="🚧">
  **Reminder** > > All parameters are case-sensitive. Use exact spelling: `firstName` not `firstname`.
</Callout>

### Step 5: Rename event (Optional)

By default, Elementor forms appear in AnyTrack as **Lead** events. To rename the conversion:

1. Navigate to **Integrations > Elementor > Integration tab > Integration Events** 2. Select a conversion name from the dropdown menu

<Callout icon="❗">
  **** > > Don't rename the integration event as "FormSubmit" - this will create duplicate events since Elementor forms automatically generate FormSubmit <Glossary>Engagement events</Glossary>.
</Callout>

<Image align="center" border={true} src={readmeAsset7} className="border" />

### Step 6: Form Redirect (optional)

To redirect users after form submission with tracking data:

1. Add a **Redirect** form action 2. Add your redirect URL 3. Include parameters you want to forward:

```
https://trafficker.io/elementor-thank-you-redirect/?clickid=[field id="field_6dc4d6d"]
```

<Image align="center" border={true} src={readmeAsset8} className="border" />

## Validation

Test your form to verify data passes correctly:

<Image align="center" border={true} src={readmeAsset9} className="border" />

## Related Resources

* [Advertising Integrations](/docs/advertising-integrations) - [MediaGo Integration](/docs/mediago-ads-integration) - [Outbrain Integration Checklist](/docs/outbrain-integration-verification-checklist)

<br />

<FaqAccordion
  title="FAQ and Troubleshooting"
  icon="fa-duotone fa-circle-question"
  items={[
    {
      question: "I don't see the webhook option in my form. What should I do?",
      answer: "The webhook option is only available with an Elementor Pro license. You'll need to upgrade to Elementor Pro to use this integration."
    },
    {
      question: "I use a different form provider in Elementor, what should I do?",
      answer: "Follow the <a href='/docs/custom-integration'>Custom Integration</a> instructions instead. This will work with any form provider that doesn't have built-in webhook support."
    },
    {
      question: "How do I add my AnyTrack webhook if I already have a Zapier webhook in my Elementor form?",
      answer: "If the Elementor form webhook is already set with Zapier, you will need to add the AnyTrack webhook in your Zapier workflow and map the parameters received in your form to the AnyTrack Event Parameters."
    }
  ]}
/>
