Track URL from where the form was filled

Hey @Prakash_Amg
The full URL can be captured with a combination of what @samliew and @kevin.fogarty posted.
This worked for me as the code @samliew posted didn’t seem to capture CMS item pages (at least not when within a symbol form, but now this code does.
However i’m not sure if it captures the URL along with the UTM as @myonke was wanting as i’ve not got anything to test it on to see. But worked for my requirement!

Basically value = location.pathname changed to value = location.href

<script>
{
 	document.getElementById('hiddenKey02').value = location.href;
}
</script>