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

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

and its limitations

and here is how you can import custom data to google analytics

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?