nuxt-community / google-optimize-module

SSR friendly Google Optimize module for Nuxt.js
MIT License
215 stars 32 forks source link

isEligible should fire on route change #7

Closed japboy closed 5 years ago

japboy commented 5 years ago

I need this Optimize module and want to run different experiments on each page, so I made #3 possible.

japboy commented 5 years ago

I think I need more considerations before this is accepted, so I close this PR. Sorry for bothering.

tschut commented 5 years ago

@japboy what's the problem? I'd really like to have this functionality too so would like to help if possible.

japboy commented 5 years ago

@tschut first of all, running multiple experiments at once is not ideal way of A/B testing or MVT. second, changing cookie format is necessary to support multiple experiment data to be stored properly. current implementation supports only one experiment at once. and i need some minor fixes if this is merged (like firing multiple route events at once etc...).

i think i should define MVT for multiple endpoint experiments instead of firing route event.