AEP appendVisitorInfoForURL method - is it safe to sanitize the url? | Community
Skip to main content
Level 1
June 30, 2026
Question

AEP appendVisitorInfoForURL method - is it safe to sanitize the url?

  • June 30, 2026
  • 1 reply
  • 0 views

The method appendVisitorInfoForURL returns in some situations a “|” character. When these urls are processed by some of our systems this character is causing problems.

adobe_mc=TS=1781184368|MCMID=30298187359278372896471907409936339487|MCORGID=A174401053C92A7E0A490D4C

Would it be possible to encoide this url without causing other side effects or losing the user journey?

    1 reply

    Gokul_Agiwal
    Community Advisor
    Community Advisor
    June 30, 2026

    Hi ​@cmveas 

    Yes, the adobe_mc value can be URL‑encoded.
    This does not break tracking or the user journey, because Adobe already expects and supports the encoded format. 

    Here is the reference link - 
    https://experienceleague.adobe.com/en/docs/experience-cloud-kcs/kbarticles/ka-19190

    https://developer.adobe.com/client-sdks/home/base/mobile-core/identity/api-reference  

    In case your other system receives the unencoded version, encode only the value of adobe_mc, not the full URL using below function. 

    encodeURIComponent(adobe_mc_value)

    Hope this helps. 

    Thank you.