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:
UTM (of the campaign that brought the lead to the form)
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.
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.
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.
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.
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.