SPA with Adobe Target V2 -- Different views are not getting loaded | Community
Skip to main content
Level 2
July 26, 2020
Question

SPA with Adobe Target V2 -- Different views are not getting loaded

  • July 26, 2020
  • 1 reply
  • 1014 views

Hi,

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.

 

Regards,

Sree

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

kautuk_sahni
Community Manager
Community Manager
August 27, 2020

@nupur_jain @arunpatidar @theo_pendle  any pointers to this Question? 

Kautuk Sahni