Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

yoooni
Level 1
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
Asutosh_Jena_
Correct answer by
Community Advisor
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
Asutosh_Jena_
Correct answer by
Community Advisor
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