I have set up Google Tag Manager and 2 data layer variables: one for tracking userid, to be passed to Google Analytics for synchronizing user sessions, and one to track visitor type.
Both variables are assigned values as expected when previewing Google Tag Manager while using Universal Analytics Tag. The UA tag is configured to fire on Window Load (gtm.load) on all pages but when checking in Analytics, no custom variables are being shown under Audience Reports nor any user id specific synch (this is for a new view) is happening. I have tried firing the UA tag on dom ready and page view as well, but no change in result.
My visitorType variable is mapped to corresponding custom dimension index in Analytics, the custom dimension is in active state in GA . The userid has been defined as Field to Set in Tag Manager and value assigned to data layer value. My Google Analytics has userid views enables and I created a new view to be able to see the analytics for user id.