Comments (3)
Why not set the weights accordingly based on the current environment you're in? e.g., using environment variables, etc.
I think this is kind of outside the scope. What do you think @hecktarzuli @pi0 ?
from google-optimize-module.
@farzadso Can you provide some more insight on how I might go about setting those environment variables? Do the experiments
receive the context as an argument? Or are you simply talking about referencing process.env.TEST_A_WEIGHT
within the experiments. The latter will not work as we build the application once using docker, then inject various environment specific variables.
Passing the context as an argument could be beneficial in that it would allow for different test id's within environments as well.
from google-optimize-module.
@t1mwillis I meant the latter and since you're using the same built image you can't achieve what I meant.
If your test environments have a specific URL structure, a hacky version would be to set the conditions based on the different URLs.
from google-optimize-module.
Related Issues (20)
- Use with google-tag-manager HOT 2
- Unsure of how to use HOT 16
- Seems to require Google Tag Manager
- Run multiple experiments simultaneously HOT 1
- The usage of the module is not clear HOT 3
- Missing Features HOT 4
- isEligible should fire on route change HOT 3
- publish as @nuxtjs HOT 3
- Support for several experiments HOT 2
- named variants
- Just for SSR? HOT 4
- Hydration error while using v-if
- Support with gtag? HOT 1
- Can't Handle MVT HOT 1
- Experiment is not set on Google Analytics
- How to prevent `exp` cookie from being set before consent is given?
- Dependency Dashboard
- Will there be support for Nuxt 3? HOT 2
- You need to run more than one experiment at a time HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-optimize-module.