clean-dentist-82655
04/03/2025, 2:52 PMclean-dentist-82655
04/03/2025, 2:56 PMhappy-autumn-40938
04/04/2025, 12:48 AMclean-dentist-82655
04/04/2025, 5:34 AMattributes
object. Here’s how we do it:
attributes: {
id: clientId, // Retrieved from gtagApiResult.client_id
user_id: {{dlv - businessPartnerId}}, // Retrieved from dataLayer variable
mobile: isMobile, // Boolean based on user agent
market_type: {{lt - segment_id}} // Retrieved from another dataLayer variable
}clean-dentist-82655
04/04/2025, 5:39 AMuser_id
attribute is populated from Google Tag Manager. I checked our implementation, and based on debugging, we can confirm that it has a valid string value (e.g., "212810946"
) when the GrowthBook script runs.
However, we still get the error "Skip because missing hashAttribute"
. Could this be related to the expected data type or how GrowthBook reads the attributes?
Is there a way to debug which attributes GrowthBook receives at runtime to verify that user_id
is correctly passed?strong-mouse-55694
04/04/2025, 8:22 PMclean-dentist-82655
04/07/2025, 12:28 PMstrong-mouse-55694
04/07/2025, 2:36 PM