Skip to main content
meghanpowers
Adobe Champion
Adobe Champion
May 11, 2020 2:17 PM UTC
Solved

Looking for a way to do multivariate test on a SPA page

Hello, I'm looking for a way to run a multivariate test on a SPA page.  I know the VEC won't work for this situation, but has anyone else had luck with a different solution?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Tanvi_Agarwal_
Tanvi_Agarwal_Accepted solution
Adobe Employee
May 20, 2020 12:20 PM UTC

Hi @meghanpowers !

 

You can use VEC on SPA pages if using at.js 2.x as mentioned here > https://docs.adobe.com/content/help/en/target/using/experiences/spa-visual-experience-composer.html

 

Hope that helps!

4 replies

guillermot25136
May 12, 2020 1:32 PM UTC

I haven't tried on an SPA but you can run tests at will from your JS using getOffer and applyOffer.

 

Regards,

Guillermo.

Translate
Gaureshk_Kodag
Adobe Employee
Adobe Employee
May 12, 2020 3:29 PM UTC

Hi @meghanpowers ,

 

One way is you should implement trigger view for your SPA which will be permanent solution to use VEC for your SPA.

Or

Use get offer apply offer as @guillermot25136 suggested

Translate
Tanvi_Agarwal_
Adobe Employee
Tanvi_Agarwal_Adobe EmployeeAccepted solution
Adobe Employee
May 20, 2020 12:20 PM UTC

Hi @meghanpowers !

 

You can use VEC on SPA pages if using at.js 2.x as mentioned here > https://docs.adobe.com/content/help/en/target/using/experiences/spa-visual-experience-composer.html

 

Hope that helps!

Translate
Adobe Employee
May 20, 2020 3:07 PM UTC

@meghanpowers If you want to create an MVT for an SPA based upon views then the modicfications tab(which displays the views) is not shown for an MVT. You could possibly try to create using a form based approach.

 

Regards,

Karan

Translate