Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

meghanpowers
Level 2
Level 2

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?

1 Accepted Solution
TanviAgarwal89
Correct answer by
Level 4
Level 4

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!

View solution in original post

4 Replies
guillermot25136
Level 1
Level 1

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

 

Regards,

Guillermo.

gaureshk3014423
Level 8
Level 8

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

TanviAgarwal89
Correct answer by
Level 4
Level 4

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!

View solution in original post

karand53490614
Level 4
Level 4

@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