Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Pulling profile values into email for third-party dynamic content

terricurry
Level 2
Level 2

Hi,

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.

<!--POST
var ym_user_id = user.attr("id");

var __postalCode__ = user.attr("postalCode");
POST-->

Thanks so much in advance.
Terri C.

dynamic data email
6 Replies
terricurry
Level 2
Level 2
Thanks. I truly appreciate your taking the time to respond. I'm going to give it a try today and see if I can get it to work.
Sukrity_Wadhwa
Employee
Employee
Hi @terricurry, Were you able to resolve this query with the above shared solution or do you still need more help here? Do let us know. Thanks!
terricurry
Level 2
Level 2
@Sukrity_Wadhwa - I haven't solved the issue. I'm a complete newbie to ACS, no nothing about workflows (have someone who can create a very simple workflow for me), and haven't had time to look into it. Here's a sample link where I need to populate `cusUserId`: <a href="http://mi.mycompany.com/p/cp/70e16a2f57c91847/c?mi_u=`cusUserId`&amp;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`&amp;cid=EMAIL-2021_0323_BMSM_LAST_CHANCE_BOL-FLIPP_HDLN_IMG&amp;utm_medium=EMAIL&amp;utm_campaign=2021_0323_BMSM_LAST_CHANCE_BOL&amp;utm_source=FLIPP_HDLN_IMG" /></a>. So, any help would be wonderful.
Sukrity_Wadhwa
Employee
Employee
Thanks for the update, @terricurry! I will escalate it further among our SMEs.
terricurry
Level 2
Level 2

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`&amp;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&amp;cid=EMAIL-2021_0323_BMSM_LAST_CHANCE_BOL-FLIPP_HDLN_IMG&amp;utm_medium=EMAIL&amp;utm_campaign=2021_0323_BMSM_LAST_CHANCE_BOL&amp;utm_source=FLIPP_HDLN_IMG" /></a>