5 Replies Latest reply on May 17, 2016 9:30 AM by akashj11168953

    Doubt about targetPageParams and Ajax

    txemam26262263 Level 1


      I am stuck in a specific scenario where I need to pass some parameters from AEM to Target. The problem is that those parameters are populated after an Ajax call, and I can't find the way to pass them. As they are only populated after Ajax success, I think that the only way those parameters will be populated is calling the function targetPageParams after the success.

      I tried defining a function that contains targetPageParams, and calling it in the Ajax success event. My TargetPageParams function stopped working then (even thought it was working perfectly fine before the change). The parameters won't even appear in the Adobe Marketing Cloud Debugger. 

      Is there any way to make this work?

      Thanks in advance