Hi Steve,
Is it possible to use custom targeting using gatsby and cookies?
I added 3 pages with similar urlPath and with different whatEverKey values. Then I tried adding this code below somewhere in my code but it’s not filtering my pages.
builder.setUserAttributes({
userIsLoggedIn: cookies.get("userIsLoggedIn"),
whatEverKey: cookies.get("whatEverKey"),
});
It always end up with the page that has no additional targeting aside from urlPath. When I added all 3 pages with a targeting whatEverKey
, nothing is display. The graphql results returns empty.
Please enlighten me with this one.
Thanks,
Chester