How to integrate AnyTrack with Gravity forms

In the next guide, we will learn how to start tracking leads from Gravity via webhook integration.

In the next guide, we will learn how to start tracking leads from Gravity via webhook integration.


Why should I connect a webhook and not just track the leads via Javascript code?

1. It's more accurate - there is no way to have duplications or to fire the event without leaving a real lead.

2. You will be able to collect the values of the lead, like email, phone, and more.

Remember- The more values you send from AnyTrack to Facebook, the higher the match rate that your event will get. Also, sending facebook the events with the details like Email will help for the advanced matching

To start tracking your leads from Gravity, you will need the following:

  1. Gravity account
  2. An AnyTrack account with a Personal Plan or higher
  3. Having our global tag on the page of the lead generation


Three main steps:

1. Set a hidden parameter in the form

2. Install the webhook option in Gravity

3. Connect the webhook with AnyTrack



1.  Go to the relevant form and add a hidden field

2. Set :
Field Label: click_id

Screen Shot 2022-03-27 at 18.20.46

In advanced:
Default value: --CLICK-ID--

Parameter name: --CLICK-ID--

Screen Shot 2022-03-27 at 18.20.32

3. save


In order to add the webhook options to your Gravity form, follow the instructions: 

1. Go to Adds-Ons under Forms 

2. Activate webhooks Add-On
Screen Shot 2022-03-27 at 18.23.46


In order to set the webhook and start tracking the leads, follow the instructions:

1. Go back to the relevant form

2. Open Settings -> Webhooks 

3. Paste the webhook link ( Guide about it below)
4. Under body request map:

Screen Shot 2022-03-27 at 18.21.15

5. Save


That's it 🎉

How to generate a webhook URL in AnyTrack:

Step 1: We have to create a custom integration.
In order to do that, we will go to the integrations section and look for custom: 
Screen Shot 2022-03-03 at 15.22.32

Step 2:  Fill in the name of the integration ( The URL is not obligatory) :
Screen Shot 2022-03-03 at 15.25.56

💡 Good to know:
in the custom integration, it's obligatory to set click ID and commission parameters, but for the integration with Elementor, it's not really important as we will remove it later (In Elementor, we will use webhook and not postback URL). So you can just insert "0" or whatever you want.
Untitled 2 (1)

Step 3: After clicking save, we will get our URL. Please copy it until the question mark: 
Untitled 3 (1)

Need support?

Questions? Problems? Need more info? Contact AnyTrack Support for assistance!

Click here