Using custom mbox parameter variables in experience events

Avatar

Avatar

Jchristman

Avatar

Jchristman

Jchristman

23-02-2021


I'm using targetPageParams to add a parameter into the mbox (default mbox), lets call it "MyParam". 

In my script its pulling in a querystring parameter and setting a custom mbox parameter to the value found there.

Example URL: [my URL]?TESTParam=xyz123

I know Target has seen  "MyParam" in the mbox because it offers that parameter ("MyParam") as way to build audiences off of, in "Custom" rules. 


That being said..if I wanted to create an experience that now uses the value found in MyParam on the page, let's say appending it to a text field. How can I do that? I tried using ${mbox.MyParam} in a SetHTML modification for a text area in the content section. This did not appear to render anything. 

What am I missing? Is the syntax ${mbox.MyParam} for adding that mbox variable to the page correct? Is there another way to do it? 

 

Thanks for any help. 

 

mbox parameters

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

josejr19

Avatar

josejr19

josejr19

24-02-2021

@Jchristman Can you share the mark up and the screenshot of the call to Target with the parameter being passed in?

 

Thanks!