ActiveCampaign Forum

Pass Page Title and/or URL as hidden field in form


Trying to pass the Course Title and/or URL as a hidden field when a user submits a form. Anyone have any step-by-step on best practices to do this in AC?


  • Stu


You can use Google Tag Manager to do this quite easily if you’re short on dev resources. The page URL is a standard variable in GTM, you can then use a custom html tag that selects the correct hidden field based on the name attribute of the AC form and assign it the value of the GTM variable. See screenshot attached. You can contact me if you’re looking for more help.