Is it possible to put hidden field in AEM form in order to track UTM? | Community
Skip to main content
New Participant
Oct 19, 2021 6:41 AM UTC
Solved

Is it possible to put hidden field in AEM form in order to track UTM?

Hi all,

Please give me some answer or other way to do that.

 

Our company is getting lead information through AEM form in our webite.

But I couldn't know which UTM is for each lead.

 

I have used other CMS or Landing page platforms and it is possible to put hidden field in lead form.

Hidden field was taking UTM parameter so I can see from where lead came into our page.

 

No way in AEM? Please answer that.

Big thanks in advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Oct 19, 2021 10:18 AM UTC

Hi @yoooni 

 

Yes, you can add hidden input fields in form and using jQuery you can read the UTM param value from URL and update the hidden input.

 

Now when you submit the form, the hidden input value also will be submitted and can be tracked in the backend system.

 

Hope this helps!

 

Thanks!

2 replies

Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Oct 19, 2021 10:18 AM UTC

Hi @yoooni 

 

Yes, you can add hidden input fields in form and using jQuery you can read the UTM param value from URL and update the hidden input.

 

Now when you submit the form, the hidden input value also will be submitted and can be tracked in the backend system.

 

Hope this helps!

 

Thanks!

Translate
yoooniAuthor
New Participant
Nov 10, 2021 7:29 AM UTC

Thank you very much! It will be solved. 🙂 🙂

Translate