Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Jchristman
Community profile Jchristman Level 1
Job title here
Location here
0 BADGES
Level 1

Level 1

Learn more
Joined the community 11-11-2020 11:32:40 AM
Offline
Top badges earned by Jchristman
Customize the badges you want to showcase on your profile
Re: Using custom mbox parameter variables in experience e...
Avatar
Level 1
Jchristman
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
Jchristman
- Adobe Target
Additionally...if the syntax is correct, could it be that you can't insert an mbox parameter and pull it back out in the same page? I figured I might be able to depending on the order of the calls (insert first, mbox fill, target audience check, target experience delivered - with custom mbox param item, page render)..but I'm not sure if that is the load sequence.

Views

260

Likes

0

Replies

0
Re: Using custom mbox parameter variables in experience e...
Avatar
Level 1
Jchristman
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
Jchristman
- Adobe Target
Here is the script...I'm injecting it via a tag management application and pushing it out before all other load rules:const queryString = window.location.search;const urlParams = new URLSearchParams(queryString);var MyParam = "";if (urlParams.has('TESTParam')) {MyParam= urlParams.get('TESTParam');targetPageParams = function(){ return ["MyParam=" + MyParam]; }; }console.log('MyParam: ' + MyParam);

Views

290

Likes

0

Replies

0
Using custom mbox parameter variables in experience events
Avatar
Level 1
Jchristman
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
Jchristman
- Adobe Target
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=xyz123I 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,...

Views

320

Likes

0

Replies

3