简体   繁体   English

在Salesforce Marketing Cloud中使用AMPScript进行SMS个性化

[英]SMS Personalization using AMPScript in Salesforce Marketing Cloud

My CRM team is running into problems when attempting to personalize SMS using AMPScript. 尝试使用AMPScript个性化SMS时,我的CRM团队遇到了问题。 The syntax used is as follows: 使用的语法如下:

%%[
Var @subscriberKey 
Set @subscriberKey = _subscriberKey 
]%%

%%= v(@subscriberKey) =%%

Thank you for signing up for a 45 day risk-free hearing aid trial! 感谢您注册参加为期45天的无风险助听器试用! One of our expert hearing consultants will call you soon to discuss next steps. 我们的一位听力专家将很快致电给您,讨论下一步的工作。 During this call, we'll discuss your hearing loss situation and go over the details of the 45 day risk-free trial. 在通话过程中,我们将讨论您的听力损失情况,并详细介绍为期45天的无风险试用。 We look forward to speaking with you shortly! 我们期待着您的光临!

I have created a data extension in Marketing Cloud with just me in it, and used it on a journey that sends a text message with this content to my phone. 我已经在Marketing Cloud中创建了一个数据扩展,其中只有我一个,并且在将带有此内容的文本消息发送到手机的过程中使用了它。 The text message delivers, however the personalization content is not in there, just the plain text is shown. 文本消息会发送,但是个性化内容不在其中,仅显示纯文本。 Of course, once the personalization works, we will change it so that other information is in there and not subscriberKey, but for now it would be a ton of help to know why the syntax is not working when it should. 当然,一旦个性化工作成功,我们将对其进行更改,以使其他信息位于其中,而不是subscriberKey,但就目前而言,要知道为什么该语法在什么情况下不起作用,将大有帮助。

Kind regards, Michael 亲切的问候,迈克尔

you will need to add the personalized field ie First Name/ Subscriber Key/etc in the following format %%FirstName%% . 您将需要以以下格式%% FirstName %%添加个性化字段,即名字/订户密钥/等。 This field is actually picked up from the Attributed which are linked in your Contact Builder. 该字段实际上是从“联系人构建器”中链接的“属性”中选取的。 Look for Mobile Connect Demographics, make sure these attributes which are trying to add in personalization are present there. 查找“ Mobile Connect受众特征”,确保在那里存在尝试添加个性化的这些属性。 Now next step is how to link your information from your Master DE to the MobileConnect Demographics, for that u need to create an Import Activity from Contact Builder, and Import these details in a Mobile Connect List. 现在,下一步是如何将您的信息从Master DE链接到MobileConnect人口统计信息,因为您需要从Contact Builder创建一个Import Activity,并将这些详细信息导入Mobile Connect List。

Hope this helps. 希望这可以帮助。 Mobile Connect Lists are different from Emails Studio Lists - Keep this in mind. 移动连接列表与Email Studio列表不同-请记住这一点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 SSJS 从 Salesforce Marketing Cloud 云页面向 Twilio 发送请求 - POST request from Salesforce Marketing Cloud cloudpage to Twilio using SSJS 如何将JSON数组从文本/ JavaScript块传递到精确目标/ Salesforce营销云中的runat = server块? - How do I pass a JSON array from a text/javascript block to a runat=server block in exacttarget/salesforce marketing cloud? Twilio SMS不使用解析云发送 - Twilio SMS Not Sending Using Parse Cloud 当以前未使用DTM设置Cookies时获得Adobe Marketing Cloud ID吗? - Obtain Adobe Marketing Cloud ID when Cookies not set previously using DTM? Marketing Cloud SSJS-在2个脚本之间传递值的javascript - Marketing cloud SSJS - javascript passing values between 2 scripts 从 Config.Json、Journey Builder、Marketing Cloud 获取 InArguments - Getting InArguments from Config.Json, Journey Builder, Marketing Cloud 如何从数据扩展中获取 sfmc/email 中的整个列值。 使用 ampscript - how to fetch enitre column values in sfmc/email from data extension. Using ampscript 在同一个 CloudPage 中执行 AMPScript - Execute AMPScript into the same CloudPage 执行时间,AMPScript / JavaScript? - Execution timing, AMPScript / JavaScript? Twilio 不在 Firebase 云功能内发送短信 - Twilio not sending SMS inside firebase cloud function
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM