Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

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

Avatar

Level 1

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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!

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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!