Hi Everyone,
I was following the documentation on https://docs.microsoft.com/en-gb/dynamics365/marketing/personalized-page-content and I read throught the existing thread on the subject but still can't get my head around it.
I simply want to display this message on a marketing page: Hi FirstName by calling the value of my variable.
I copied the JavaScript in the header as specified in the documentation but I don't understand how I can retrieve the var to display in the HTML.
Any help will be appreciated
Hi Nya
Thank you for your answer. I already looked at the tutorials but I still don't get how to call the variable in the html.
The code provided in the examples is the JS we need to add in the header from my understanding.
I only need to call the var firstname in the HTML. The example which includes the HTML is for an alert and far too complicated for what I want to achieve.
I added this JS in the header:
What will be the next step?
Thank you.
Hi Samuel,
Please refer to the tutorials in the following two issues.
(+) Personalized page content - Dynamics 365 Marketing Forum Community Forum
(+) Microsoft Ignite Marketing Demo - Dynamics 365 Marketing Forum Community Forum
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Mansi Soni as our August 2025 Community…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Hamza H 141
Daniyal Khaleel 132
DAnny3211 130