Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
pradnya_balvir
pradnya_balvirAccepted solution
Adobe Champion and Community Advisor
September 18, 2024

2 replies

pradnya_balvir
Adobe Champion and Community Advisor
pradnya_balvirAdobe Champion and Community AdvisorAccepted solution
Adobe Champion and Community Advisor
September 18, 2024
Level 5
September 25, 2024

Hey @sriharshanaladala98,

 

The targetPageParams JavaScript function is used to pass parameters to the global mbox in Adobe Target, allowing for additional targeting and contextual information. This is essential in scenarios like Recommendations activities, where parameters represent the current product or category being viewed. 

The function must be defined before the global mbox is included on the page, whether it's loaded via at.js or manually. Parameters can be passed as an array, JSON object, or an ampersand-delimited list. 

Use the Adobe Experience Cloud Debugger to verify parameter passing. Ensure the function is defined as targetPageParams before adding the global mbox.

 

For further information, please refer to Pass Parameters to a global mbox.

 

Hope this helps.

Thank you

Translate