Is it possible to put hidden field in AEM form in order to track UTM? | Community
Skip to main content
October 19, 2021
Solved

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

  • October 19, 2021
  • 1 reply
  • 1187 views

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.
Best answer by Asutosh_Jena_

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!

1 reply

Asutosh_Jena_
Community Advisor
Asutosh_Jena_Community AdvisorAccepted solution
Community Advisor
October 19, 2021

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!

yoooniAuthor
November 10, 2021

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