We have recently implemented a new instance of UA and GA4. With this implementation we have passed a few of our custom dimensions via custommap function in the gTag.js
gtag('config', 'GA_XXXXXXXX', {'custom_map': {'dimension1': 'product_id'}
After that we did set up custom dimensions inside the custom dimension in Google Analytics Admin
Admin > Property > Custom Definitions > Custom Dimensions > +New Custom Dimension
Now when we check our instance in the secondary dimensions we are able to see
Custom Dimensions that did set in Google Analytics Admin - but no data is being pushed in them.
No data is being pushed in these custom dimensions.
what would be the best way to debug this solution
We see another tab Custom Variables - which have values like custom variable 11 etc.
Data is coming in them.
What would be the best way to figure out the corresponding custom variable key value pair mapping from the google dev tools?