Hello everyone!
I have a task to create a JavaScript that detects if a GrowthBook test is running on a page, fetches the test parameters and stores them in a cookie that persists until checkout. This will allow me to accurately track the revenue generated by each test.
I'm looking for the best way to implement this—specifically, the most effective method to interact with the GrowthBook's eJS vents on the page. Has anyone done something similar or have any advice on best practices?
Any insights would be greatly appreciated!