AEP appendVisitorInfoForURL method - is it safe to sanitize the url? | Adobe Higher Education
Skip to main content
Level 1
June 30, 2026
해결됨

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

  • June 30, 2026
  • 3 답변들
  • 30 조회

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?

    최고의 답변: Gokul_Agiwal

    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. 

     

    3 답변

    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. 

     

    Thanks, Gokul
    cmveas작성자
    Level 1
    June 30, 2026

    thanks! That’s what I needed!

    Gokul_Agiwal
    Community Advisor
    Community Advisor
    June 30, 2026

    Glad that it worked for you. 

    Thanks, Gokul