I am moving my email from another ESP that used ampscript to pull in profile values. I don't know much about non-HTML development and I need to pull the zipCode and CusGuid into my email, which will then populate the URLs for third-party content. Can someone provide instructions on how to pull that into my emails? Below is what my ampscript looked like in the old ESP.
var ym_user_id = user.attr("id");
var __postalCode__ = user.attr("postalCode");
Thanks so much in advance.
you can reference the link below and personalize your email using additional data.
hope this helps.
Do I want to add it to the workflow if I want the CusUserId to be populated in tracking used by a 3rd party? Could I just add @cusUserId into the tracking as shown below?
Here's a sample link where I need to populate `cusUserId`: <a href="http://mi.mycompany.com/p/cp/70e16a2f57c91847/c?mi_u=`cusUserId`&cid=EMAIL-2021_0323_BMSM_LAST_C.... mycompany.com%2Fp%2Frp%2F57d4f662dc27e689%2Furl" style="display: block;"><img alt="Display images to show real-time content" style="border: 0; display: block;" border="0" src="http://mi. mycompany.com/89.png?mi_u=@cusUserId&cid=EMAIL-2021_0323_BMSM_LAST_CHANCE_BOL-FLIPP_HDLN_IMG&utm_medium=EMAIL&utm_campaign=2021_0323_BMSM_LAST_CHANCE_BOL&utm_source=FLIPP_HDLN_IMG" /></a>