Array
<!--window.-->targetPageParams = function() {
return ["a=1", "b=2", "c=hello world"];
};
Values do not need to be URL encoded. For example, if a value contains a space, there is no need to encode the space.
This example sends the following data to the mbox edge:
- a=1
- b=2
- c=hello world
JSON
JSON is a powerful way to pass parameters. Target uses the JSON object keys to flatten complicated structures into simple parameters.
<!--window.-->targetPageParams = function() {
return {
"a": 1,
"b": 2,
"profile": {
"memberStatus": Gold,
"country": {
"city": "San Francisco"
}
}
};
};
Values do not need to be URL encoded. For example, “San Francisco” does not require the space to be encoded. A space suffices.
This example sends the following data to the mbox edge:
- a=1
- b=2
profile.memberStatus
=Goldprofile.country.city
=San Francisco
Previous pageUse a global mbox from a legacy implementation
Next pageGlobal mbox frequently asked questions
Personalization & Experiementation Excellence with Recommendations and AI
Adobe Customer Success Webinars
Tuesday, Mar 4, 4:00 PM UTC
Adobe Target innovations, including GenAI, and best practices on AI-powered personalization and experimentation at scale.
RegisterAdobe Target at Summit
Register for these developer sessions:
- Put the Customer at the Center and Build Relationships That Last a Lifetime (attend online)
- AI-Powered Personalization: Prudential's Secret to a 135% Engagement Boost
- Transforming D2C: How CASIO Delivers Immersive, Personalized Web Experiences
- A Tax Transformation: How H&R Block and Adobe MarTech Improved Engagement
- Boost Experimentation with Auto-Created Tests the Home Depot Way
Connect with Experience League at Summit!
Get front-row access to top sessions, hands-on activities, and networking—wherever you are!
Learn more