Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Target Community Q&A Coffee Break: On Wednesday, February 1 at 8am PT, Brent Kostak of the Adobe Target Product team will be joining us to answer your Target questions. To register and for more information, follow the link to the right.

targetPageParams not called


Level 2

Hello, a relative AEM newbie here.


I am trying to pass params with the following `targetPageParams` function to be called by AT.js. 

    targetPageParamsAll = function() { 

        let referrer = document.referrer
        console.log("called targetPageParams: referrer");

        return { 
            "mboxReferrer": referrer, 
            "context.address.referringUrl": referrer


I even have it defined in the two places below, before Target loads

  • Target > Implementation
    • sean12341_0-1669786898834.png
  • Data Collection > Rules
    • sean12341_1-1669787156432.png


When I load my site page, I was expecting the `console.log("called targetPageParams: referrer");`  to be called by AT.js, but nothing is logged, which makes me think that the function `targetPageParamsAll` is not being called. 


Some other source suggest to define it directly on top of the AT.js file. But I don't know how to find/edit that file.


Also, I don't know if this matters, but my Target debugger shows empty Network Request.




Thanks for your inputs, 



Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply


Level 4

Hi Sean,


If your using Launch Tag Management implementation Method , then you dont need to put it in custom code , you can directly set the global params using action Type(Refer Below)



and select all params to all request. There you can select the key name and value(from data element also)

Further if it doesn't show in debugger, please share screenshot of the rule(including event selected)