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:

    alt image

    Or, the full list for simplicity:

    alt image

Code examples

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

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

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

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

Recommendations: Implementation According to Page Type

Order confirmation: Track Conversions

Category affinity: Category Affinity

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 event

Ask AI

Not sure where to start?
Ask me anything about Adobe products.

Type your question or pick a suggestion below.

Use of this AI chatbot is subject to Adobe's Privacy Policy. Don't share sensitive data. AI responses are not your Content, may be inaccurate, and any offers provided are non-binding. Generative AI Terms.

Ask AI