how to pass Adobe target geo.country to hidden Marketo form field (VEC custom pop up) | Community
Skip to main content
Level 2
February 23, 2026
Question

how to pass Adobe target geo.country to hidden Marketo form field (VEC custom pop up)

  • February 23, 2026
  • 1 reply
  • 9 views

i have an exit intent pop up built in adobe target VEC custom code that loads Marketo form(single field - email)

 

i need to capture country from adobe target and pass it into hidden marketo field (country) without showing it to the user. but the country sometimes empty. 

what is the recommended prod safe way to pass Target geo attributes into Marketo hidden field?

    1 reply

    Gokul_Agiwal
    Community Advisor
    Community Advisor
    February 23, 2026

    Hi ​@GauravDu1 

    You can make a use of Adobe Target Response tokens which delivers the geo information. once you have that information you can use in your marketo field. 

    Response token doc - https://experienceleague.adobe.com/en/docs/target/using/administer/response-tokens 

    Not an expert in Marketo but there is a method available for hidden fields called addHiddenFields 

    https://experienceleague.adobe.com/en/docs/marketo-developer/marketo/javascriptapi/forms-api-reference 

    Hope this helps