Pulling User Profile Data

If a Connected Content response contains user profile fields (within a Liquid personalization tag), these values must be defined earlier in the message via Liquid, before the Connected Content call in order to render the Liquid passback properly. Similarly, the :rerender flag must be included in the request.

For personalization, the Braze pulls user profile fields before passing that field to Liquid—so if the response from Connected Content has user profile fields, it must be defined beforehand.

For example, if this were the Connected Content call:

1
2
Hi ${first_name},
{% connected_content https://examplewebsite.com :rerender %}

And the Connected Content response is Your language is ${language}, the content displayed in this scenario will be Hi Jon, your language is. The language itself will not be templated.

In order to render the Liquid passback properly, you must put the ${language} tag anywhere in the body, as shown below.

1
"Hi ${first_name}, {% connected_content https://examplewebsite.com?language=${language} :rerender %}
WAS THIS PAGE HELPFUL?
New Stuff!