Hi all,
How can I target a specific view in React SPA with the form base composer? It only works on the first page load but not if I navigate to a new page/view.
I know it is possible with VEC, but I can't use it.
Many thanks,
UK
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Hi @Perrin_Ennen, thank you, but as I wrote in the question, I can't create an VEC A/B test, is it possible to use triggerView() with form-based A/B tests?
Hi @UKCH,
Hi,
I am not quite sure myself - as far as I know triggerView() is rather meant for VEC and serverside targeting.
I remember a SPA where I worked with form-based experiments. I don't know if that was a good solution. But in that case I triggered even the target-global-mbox (by adobe.target.getOffer() ..) on a SPA page change. The activity was built in such a way, that it itself determines in which view the page is located. Works technically - but yes - you have to be careful that e.g. no other activities are running on the pages - or that is considered accordingly there.