Benefits of method
Data gets sent to Target in real time, and can be used on the same server call the data on which it comes in.
Caveats
-
Requires page code update (directly or via a tag management system).
-
If the data must be used for targeting on a subsequent page/server call, it must be translated to a profile script.
-
Query strings can contain only characters as per the Internet Engineering Task Force (IETF) standard .
In addition to those characters mentioned on the IETF site, Target allows the following characters in query strings:
< > # % " { } | \ ^ [ ]Everything else must be url-encoded. The standard specifies the following format ( https://www.ietf.org/rfc/rfc1738.txt ), as illustrated below:
Or, the full list for simplicity:
Code examples
targetPageParamsAll (appends the parameters to all mbox calls on the page):
function targetPageParamsAll() { return "param1=value1¶m2=value2&p3=hello%20world";
targetPageParams (appends the parameters to the global mbox on the page):
function targetPageParams() { return "param1=value1¶m2=value2&p3=hello%20world";
Links to relevant information
Recommendations: Implementation According to Page Type
Order confirmation: Track Conversions
Category affinity: Category Affinity
Was this content helpful?
Announcements
Get hands-on with agentic AI.
Explore how AI agents work together through real examples and hands-on practice. Join your local User Group to design an agent workflow with your peers and leave with a practical framework you can apply to your own work.
Find an eventAdobe Target Roadmap Webinar - Americas & EMEA
Preview the Adobe Target roadmap and ask the product team your questions live.
Adobe Target Roadmap Webinar - Americas & APAC
Preview the Adobe Target roadmap and ask the product team your questions live.