Personalization Strings in Marketing Cloud

Personalization Strings in Marketing Cloud

Quote "A personalization string lets you insert subscriber attributes, such as subscriber name, into your emails. Personalization strings can appear in the subject line, preheader, or in the content of the email. You may hear personalization strings referred to as merge fields or substitution strings." Unquote

EXAMPLE :

Hello %%FirstName%%   %%LastName%%

OR 

%%[
  SET @FIRSTNAME=AttributeValue("FIRSTNAME")
  SET @LASTNAME=AttributeValue("LASTNAME")
]%%

Hello %%=v(@FIRSTNAME)=%%   %%=v(@LASTNAME)=%%

When you write this code in your email, it personalizes the data based on
the subscriber context.

WHAT DO YOU UNDERSTAND BY SUBSCRIBER CONTEXT ?

It means where does the subscriber resides during the send, does it resides
in All Subscriber, Sendable Data Extension, Journey Builder entry source
attributes.

SCENARIO 1 :

SENDABLE DATA EXTENSION

SUBSCRIBERKEY EMAIL FIRSTNAME LASTNAME 1234567890 B2.SHASHI@GMAIL.COM SHASHI PRASAD

ALL SUBSCRIBER PROFILE ATTRIBUTE

SUBSCRIBERKEY EMAIL FIRSTNAME LASTNAME 1234567890 B2.SHASHI@GMAIL.COM SHASHI PRASAD


WHEN YOU PERFORM THE SEND WHAT HAPPENS :

THE SUBSCRIBER IS PRESENT IN ALL SUBSCRIBERS, SO THE EMAIL WILL PULL
THE DATA FROM ALL SUBSCRIBERS AND PROFILE ATTRIBUTES

DISPLAYS :

Hello SHASHI PRASAD


SCENARIO 2 :

SENDABLE DATA EXTENSION

SUBSCRIBERKEY EMAIL FIRSTNAME LASTNAME 1234567890 B2.SHASHI@GMAIL.COM <BLANK> <BLANK>

ALL SUBSCRIBER PROFILE ATTRIBUTE

SUBSCRIBERKEY EMAIL FIRSTNAME LASTNAME 1234567890 B2.SHASHI@GMAIL.COM SHASHI PRASAD

WHEN YOU PERFORM THE SEND WHAT HAPPENS :

THE SUBSCRIBER IS PRESENT IN ALL SUBSCRIBERS, SO THE EMAIL WILL PULL
THE DATA FROM ALL SUBSCRIBERS AND PROFILE ATTRIBUTES

DISPLAYS :

Hello SHASHI PRASAD


SCENARIO 3 :

SENDABLE DATA EXTENSION

SUBSCRIBERKEY EMAIL FIRSTNAME LASTNAME 1234567890 B2.SHASHI@GMAIL.COM SHASHI PRASAD

ALL SUBSCRIBER PROFILE ATTRIBUTE

SUBSCRIBERKEY EMAIL FIRSTNAME LASTNAME 1234567890 B2.SHASHI@GMAIL.COM <BLANK> <BLANK>

WHEN YOU PERFORM THE SEND WHAT HAPPENS :

THE SUBSCRIBER IS PRESENT IN ALL SUBSCRIBERS, SO THE EMAIL WILL PULL
THE DATA FROM ALL SUBSCRIBERS AND PROFILE ATTRIBUTES

DISPLAYS :

Hello SHASHI PRASAD

SENDABLE DATAEXTENSION ATTRIBUTES TAKES PRECEDENCE FOR DSIPLAYING IT
OVER THE PROFILE ATTRIBUTES BUT IT DOESNOT UPDATE THE PROFILE ATTRIBUTE.
IT WILL UPDATE THE PROFILE ATTRIBUTE IF YOU PERFORM A TRIGGER SEND.
HERE IS THE LINK

SCENARIO 4 :

SENDABLE DATA EXTENSION

SUBSCRIBERKEY EMAIL FIRSTNAME LASTNAME 1234567890 B2.SHASHI@GMAIL.COM SHASHI PRASAD

ALL SUBSCRIBER PROFILE ATTRIBUTE

SUBSCRIBERKEY EMAIL FIRSTNAME LASTNAME <BLANK>      <BLANK> <BLANK> <BLANK>

WHEN YOU PERFORM THE JOURNEY SEND WHAT HAPPENS :

IN YOUR JOUREY SETTING YOU MADE THE FOLLOWING SEETINGS



DISPLAYS :

YOU WILL NOT RECEIVE THE EMAIL AND LEADS TO HARD ERRORS.



SCENARIO 5 :

SENDABLE DATA EXTENSION

SUBSCRIBERKEY EMAIL FIRSTNAME LASTNAME 1234567890 B2.SHASHI@GMAIL.COM SHASHI PRASAD

ALL SUBSCRIBER PROFILE ATTRIBUTE

SUBSCRIBERKEY EMAIL FIRSTNAME LASTNAME <BLANK>      <BLANK> <BLANK> <BLANK>

WHEN YOU PERFORM THE JOURNEY SEND WHAT HAPPENS :

IN YOUR JOUREY SETTING YOU MADE THE FOLLOWING SEETINGS

DISPLAYS :
YOU WILL RECEIVE THE EMAIL AND SUBSCRIBER WILL BE ADDED TO ALL SUBSCRIBERS BUT
WILL NOT UPDATE PROFILE ATTRIBUTES



Comments

Most Viewed

CLOUD PAGE ENABLEMENT - PART 1

EMAIL NOT SENT IN JOURNEY BUILDER

CONSIDERATIONS FOR JOURNEY BUILDER

Understanding Transactional Messaging

Preference Center Demystified


Knowledge Article

Popular Posts

CLOUD PAGE ENABLEMENT - PART 1

EMAIL NOT SENT IN JOURNEY BUILDER

CONSIDERATIONS FOR JOURNEY BUILDER

Understanding Transactional Messaging

Preference Center Demystified

Journey Builder REST API Documentation

Share with Friends

Disclaimer:

The information provided on this technical blog is for general informational purposes only. As a SFMC (Salesforce Marketing Cloud) Technical Architect, I strive to offer accurate and up-to-date content related to SFMC and its associated technologies. However, please note that technology is constantly evolving, and the information provided may become outdated or inaccurate over time.

The content published on this blog represents my personal views and experiences as a SFMC Technical Architect and does not necessarily reflect the official views or opinions of any organization or employer I may be affiliated with.

While I make every effort to ensure the accuracy and reliability of the information presented, I cannot guarantee its completeness, suitability, or applicability to your specific circumstances. Therefore, it is essential to verify any information provided and make your own independent assessments or seek professional advice if needed.

Furthermore, any actions taken based on the information provided on this blog are at your own risk. I shall not be held liable for any damages, losses, or inconveniences arising from the use of the information presented here.

Please keep in mind that SFMC and its associated technologies are complex and require technical expertise for proper implementation and management. It is recommended to consult with qualified professionals or official SFMC documentation for comprehensive guidance.

Finally, please note that any product or company names mentioned on this blog are trademarks or registered trademarks of their respective owners. The mention of these trademarks or registered trademarks does not imply any endorsement or affiliation with the blog.

By accessing and using this blog, you agree to the terms of this disclaimer. If you do not agree with any part of this disclaimer, please refrain from using this blog.