Enjoying the project, thank you š
It'd be great to open source the docs (if not already) to allow the community to contribute
With Google Optimize retirement you'll no doubt have an influx of people coming across from that product (myself included)
The journey of implementing growthbook via GTM was not the smoothest
During installation I found this page misleading for 2 clear reasons: https://docs.growthbook.io/guide/google-tag-manager-and-growthbook
1. It's not clear in this configuration that you need to pass
url
as a user attribute
a. Most other web based A/B testing packages detect URL via their own script and don't rely on that being passed through
b. When you first create an account, the URL attribute is set up automatically
c. The visual editor prompts you to do URL targeting
d. URL targeted experiments wont work unless url is passed as a user attribute, I had to scrutinise a lot of pages to detect this issue.
2. It'd be great to provide an example in javascript of generating a UUID for anonymous users, a reliable example was hard to come by. but additionally when using GTM it needs to be an instance which does not use ES6