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 - https://docs.adobe.com/content/help/en/target-learn/tutorials/implementation/implement-atjs-20-in-a-...
IN the Launch one of the rule- adobe.target.triggerView(viewName); 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
Regards,
Pradeep
Solved! Go to Solution.
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 https://docs.adobe.com/content/help/en/target-learn/tutorials/implementation/implement-atj s-20-in-a-single-page-application.html, they are using the trigger view function based on the url change.
Thanks,
Arun Kumaran
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 https://docs.adobe.com/content/help/en/target-learn/tutorials/implementation/implement-atj s-20-in-a-single-page-application.html, they are using the trigger view function based on the url change.
Thanks,
Arun Kumaran
Thanks for that detailed answer arunk19034797
Views
Replies
Total Likes
Hi @pradeepr6574026,
Views
Replies
Total Likes