Sometimes, we were asked whether website owners could track the page through which a user has filled a form successfully. This is possible with Convert Pro!
Note: Please make sure you have installed and activated the Additional Script addon.
var current_page_url = window.location.href;
var hidden_field_id = 'cp_hidden_input-2-249';
jQuery( "#" + hidden_field_id + " .cp-target").val( current_page_url );
You just need to modify the hidden field ID according to your hidden form field ID. You can find the ID for your hidden field here –