I am new to adobe target. I am trying to use Adobe Target with SPA with new at.js 2.0.
So followed the tutorial in https://www.youtube.com/watch?v=deAUBBDYRWQ&t=663s
I have created launch properties in launch i.e page load & start event property
and also targeted the pages in Adobe Target.
I am able to see at.js being loaded in the debugger console.
But when I am trying to add a custom event to triggerView of Adobe Target, I am always getting the window.location.pathname as the home page and also different views are not getting triggered.
I have used List core component for getting the list of pages. When clicked on the links then different view has to be triggered. But that is not happening.
When I click on employeelist or image content observed that window.location.pathname is always same. i.e.,
For triggering view in Launch I have used to create a custom event as below
And the action type is
The data element created is as
the data element script is
So why I am not able to trigger different view and window.location.pathname is always home page one.
@Nupur_Jain @Arun_Patidar @Theo_Pendle any pointers to this Question?