astonishing-salesmen-67987
07/25/2024, 1:16 PMstickyBucketService
with a specific prefix for the cookie, the cookie is not being generated as expected.
Here is a brief overview of my setup:
1. I imported BrowserCookieStickyBucketService
from @growthbook/growthbook
and Cookies
from js-cookie
.
2. Created an instance of BrowserCookieStickyBucketService
with the following configuration:
> const stickyBucketService = new BrowserCookieStickyBucketService({
> jsCookie: Cookies,
> prefix: '_iub_gb_sticky_bucket',
> });
3. Added the stickyBucketing
option to the GrowthBook configuration:
> window.growthbook = new GrowthBook({
> ...
> stickyBucketing: stickyBucketService,
> });
However, when analyzing the page using developer tools, I do not see the expected cookie being generated.
Could you please provide guidance on what might be causing this issue or suggest any additional steps I need to follow to properly configure Sticky Bucketing?
Thank you for your assistance.happy-autumn-40938
07/25/2024, 5:20 PMnew GrowthBook({
...
stickyBucketService: new BrowserCookieStickyBucketService(...)
});
astonishing-salesmen-67987
07/26/2024, 2:53 PM