UTM Data and timestamp doesn’t pass from Elementor form to the webhook

I placed webhook within the “after submission” field in one of the forms that I have in my website. the thing is that there are 2 data piceses that don’t pass to the webhook output:

  1. UTM (of the campaign that brought the lead to the form)
  2. Timestamp - when does the client field the lead.

From quick search within the elementor table that aggregate all the forms result I can see that these two data picese are exist in the system but for some reason they didn’t pass to the webhook.

Any idea of how to handle it?

@Msquare_Automation - Maybe you know what we can do?

1 Like

Hi Ido,

There are a couple of ways to handle this:

  1. Enable the “Advanced Data” option: When editing your webhook URL, toggle the “Advanced Data” checkbox. This will provide more detailed information but will present the data as an object array, which might be a bit trickier to map.
  2. Use hidden UTM parameter fields: My go-to recommendation is to create hidden fields for UTM parameters and use a simple client-side script to populate them. You can easily add this script via Google Tag Manager (GTM) or a WordPress header/footer insertion plugin. This approach allows you to capture the UTM data as regular form fields.

The best method depends on your specific use case. For example, if your website visitors navigate through several pages before filling out a form, the original UTM parameters may not persist. In such scenarios, a script that saves UTM data to local storage or cookies can be incredibly useful. When the form is submitted, the script automatically populates the hidden fields with the stored UTM data, ensuring you capture the correct parameters.

This is a script you could use that is specifically designed to work with elementor forms, you just have to make sure you give the utm fields the correct names i.e utm_source, utm_medium etc…

Hope this helps! Let me know if you need more guidance.

2 Likes

Hey @EyalGershon Thanks for yout detailed response.

As for the first option - The "Advanced Data” checkbox is in the webhook settings? or in the elementor? I searched in the webhook settings and toggled the “Show advanced settings” and didn’t see any more detailed information.

1 Like

Hey Ido,
As I mentioned this is not my preferred way of doing this, its not 100% that you will get this information that way. If you use the method I suggested, I can promise you it will work 100% of the time.

1 Like

Hi @Ido_Puterkovski

Usually we suggest to do this with hidden fields. As @EyalGershon already explained the way, you can give it a try.

Regards,
Msquare Automation - Platinum Partner of Make
@Msquare_Automation

1 Like

Thanks! @EyalGershon appreciate your detailed help

2 Likes