Is it possible to dynamically display the value of a URL parameter in a welcome message in a rich text field on a landing page for anonymous visitors?
I tried using a token for a custom field in a rich text block on a landing page. The MKTO form uses a URL parameter for that field. I added the URL parameter to the link to the landing page. Unfortunately, the token couldn't see the parameter associated with the field on the MKTO form.
I looked at dynamic content and that seems to be driven by segmentation. Since this is targeted for an anonymous visitor, I'm not sure that segmentation applies.
Perhaps someone who knows Javascript can suggest some code to display a welcome message that includes the value of the URL parameter?
Here's the spec:
- Create a MKTO landing page link with a URL parameter: http://info.testcompany.com/marketo-landing-page.html?utm_source=AcmeWidgets
- Create a dynamic text block on the landing page that reads the url parameter and displays: Welcome AcmeWidgets
And if someone wants to volunteer to suggest some javascript, can you please also tell me how to format the text block in Javascript so I can try to get the welcome message font to match the other Arial 20 font on the landing page?
Any suggestions would be greatly appreciated. Thanks in advance for any advice.
- Dani