Analytics
4.5K members online now
Discuss regaining access to Analytics accounts, restoring accounts, changing user access levels, and navigating the homepage
 
Guide Me
star_border
Reply

Custom Dimensions & Uploading CSV

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

If I'm using the data import (admin feature) for custom dimensions, how would you approach updating the GA script?  

 

var dimensionValue = 'SOME_DIMENSION_VALUE';
ga('set', 'dimension2', dimensionValue);

 

This information would pull from the csv file.  Am I just updating SOME_DIMENSION_VALUE to the custom dimension name that I created?

Re: Custom Dimensions & Uploading CSV

Explorer ✭ ✭ ✭
# 2
Explorer ✭ ✭ ✭
Hi Chrissy,

you wouldn't need to change anything in the GA script.
just create a custom dimension and set it to active then import the data to index number of that custom dimension

here is a bit more info about data imports
https://support.google.com/analytics/answer/3191589?hl=en#types_of_data_you_can_import

and its limitations
https://support.google.com/analytics/answer/6016094?hl=en

and here is how you can import custom data to google analytics
https://support.google.com/analytics/answer/6016094?hl=en

Hope this helps

Re: Custom Dimensions & Uploading CSV

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Thanks! Do you know if it takes a few days for this to begin working? I reviewed my stats today for the new custom dimension and no data is showing. If I apply the custom dimension, could this also be used retroactively or only with new data?