Adobe Target Views and Single Page Applications



Hi All,

at.js added to the site

Some lines of code  added in the library footer code has mentioned as mentioned in the link -

IN the Launch one of the rule-; has added

IN the network, I can able to see the delivery request , But viewName are not available , I don’t see the views in the prefetch.

To get the viewName , Do we need to add the logic’s inside the code base of the Mobile  site is required?

Or library footer code will help us to generate the views.

Can you please provide the steps in order to get the view name in the vec for Spa using launch with the Angular

Thanks In Advance



Accepted Solutions (1)

Accepted Solutions (1)



Hi pradeepr65740266​,

               Consider the scenario, we have a home page and a next button.

               For home page trigger view name is home and after clicking next button a new content gets loaded then trigger view for this content will be step2.

              In launch create a rule to load target and fire target for at.js 2.2.0 and then add a custom action trigger for home page load and give a unique name to the trigger view.


     In custom code :


Now Load the page in target VEC in the modification tab you can see the current view as homeView and click next button you will get current view as step2.

According to the documentation s-20-in-a-single-page-application.html, they are using the trigger view function based on the url change.


Arun Kumaran

Answers (2)

Answers (2)




Hi @pradeepr6574026,


Our next Adobe Target Skill Builder Webinar is right around the corner on May 5th, and will be presented by Adobe Target Product Management on migrating Adobe Target’s mbox.js to At.js. Check out this community discussion to register today. Hope you can make it!