Learn business growth with Google Analytics 4 › Forums › Google Analytics 4 › How to Use a Custom Dimension with GA4 and JDBC › Reply To: How to Use a Custom Dimension with GA4 and JDBC
-
Based on the information you’ve described, the issue might be related to the way you’re querying your custom dimension. In Google Analytics 4, custom dimensions sometimes require a specific syntax and you may need to reference them in a different way than just
'customUser:dimension1'
. Instead of applying theWHERE
clause toDimensions
directly, you need to use the dimension name more specifically. For example, if the dimension is a custom User scoped dimension, you might need to use something likeUser_Dimensions.<Your_Custom_Dimension_Name>
. Additionally, ensure that your data type format and date are correct. If these suggestions do not solve the problem, it would be beneficial to check Google’s documentation on querying custom dimensions in GA4, as they have detailed instructions and guides which can help resolve your issue.