Expand my Community achievements bar.

SOLVED

Is it Possible to TriggerView in One Activity and Use SPA VEC in Another

Avatar

Level 4

Hello,

Is it possible to (1) create an Activity that adds event handler that calls `adobe.target.triggerView()` (Custom Code Modification), and then (2) create another Activity that uses this View in the VEC (like you would for any SPA)? Or is it strictly necessary that triggerView() be added in the SPA/code base itself outside of Target? I have tried using the QA link for Activity 1 when creating Activity 2 but without success.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

It is technically possible to do this but the general recommendation would be to add triggerView() calls via the tag manager or as part of web application code

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

It is technically possible to do this but the general recommendation would be to add triggerView() calls via the tag manager or as part of web application code