nice-animal-35979
08/19/2025, 8:34 AMuser.targetingKey, user.email, etc. Using dev tools we figured out that if we pass an object like { user: { targetingKey: "1234", email: "<mailto:joe@example.com|joe@example.com>" } }, our experiments are always skipped for all users with message "Skip because missing hashAttribute" (hashAttribute being set as user.targetingKey) even though user.targetingKey is (sort of?) specified.
Problem
In order to fix this, we tried to pass literal keys with dots e.g. { "user.targetingKey": "1234", "user.email": "<mailto:joe@example.com|joe@example.com>" } & it fixed experimentation but broke feature flag conditions (e.g. IF user.targetingKey = "3456" lines in GB settings) which worked correctly with nested objects.
This seem to work as described in any SDK, but, as a matter of fact, we use SDKs for React & .NET.
Extra
Additionally to the bug itself, dev tools make it feel like nested objects aren't supported at all which doesn't quite correlate with SDK setup instructions shown in GB itself (see screenshots attached)future-teacher-7046
{
"userTargetingKey": "1234",
"userEmail": "..."
}nice-animal-35979
08/19/2025, 1:39 PMfuture-teacher-7046