Caveats

Requires page code updates (directly or via a tag management system).

Attributes and values are visible in server calls, so a visitor can see the values. If sharing information such as credit ranges or other potentially private information, this method might not be the best approach.

Code examples

targetPageParamsAll (appends the attributes to all mbox calls on the page):

function targetPageParamsAll() { return "profile.param1=value1&profile.param2=value2&profile.p3=hello%20world"; }

targetPageParams (appends the attributes to the global mbox on the page):

function targetPageParams() { return profile.param1=value1&profile.param2=value2&profile.p3=hello%20world"; }

Attributes in mboxCreate code:

<div class="mboxDefault"> default content to replace by offer </div> <script> mboxCreate('mboxName','profile.param1=value1','profile.param2=value2'); </script>

Profile Attributes

Visitor Profile

Previous pagePage parameters
Next pageScript profile attributes

Target


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.

Register

Connect with Experience League at Summit!

Get front-row access to top sessions, hands-on activities, and networking—wherever you are!

Learn more