You can personalize the content of the OSM campaign. Use @ to personalize the content or image.
You can personalize the content using User Attributes, User Events, Product Sets, Content APIs and Content Blocks.
For more information, refer to
- MoEngage Templating Language (JINJA)
- Derived Events & Attributes
- Catalogs
- Content APIs
- Content Block
- Auxiliary Data
Do the following:
- In step 2 of campaign creation, click on the text box or the image property URL.
- You can personalize your text by pressing @ anywhere within the text area as shown below.
- Similarly, you can personalise the image by pressing the button as shown in the gif below.
- Click either Data personalization or Content Block.
- Click the Data personalization tab and from the drop-down, select one of the following
- User Attributes
-
Select one of the following as for alternate (Fallback) to the personalization:
- No Fallback
Choose the option for personalized content. The option results in no alternates when the personalization does not work. - Do not send In-App
Choose the option where if the personalization does not work, In-App messages are not sent. - Replace Text
Type or paste the text used when the personalization does not work.
- No Fallback
- Product Sets
- Content API
- Modify the values of the parameters of the Content API.
- Click the Content Block
- Select the content block to be inserted
- Click Insert only the content of the content block.
info Information
When the option is selected
- Only the content is inserted
- The content is disconnected from the content block
- Any content update in the content block is not reflected in the inserted content.
- You can edit your JINJA code in the text area after selecting the attribute or the content block.
-
Click Done.
- Click again on the personalisation to edit the JINJA code as shown below. Make sure that you don't select another attribute from the dropdown, or else it will replace the entire jinja code in the text box.
info |
Note Ensure that custom attributes do not have the same names as MoEngage's standard attributes. If a custom attribute and a standard attribute having the same name are used for personalization, it could result in incorrect personalization. |