nuxt-community / google-optimize-module

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

feat: Evaluated experiment IDs #44

Open rwd opened 3 years ago

rwd commented 3 years ago

This adds support for supplying a function to experimentID, for evaluation at runtime, for instance to supply per-environment IDs from Nuxt runtime config read from the context.

Changes to the test script's before/after hooks were needed to make the new test experiment eligible on the non-root URL.