Analytics
2.7K members online now
Understand information in your reports and troubleshoot reporting issues such as self-referrals, (not set) data, and inaccurate information
 
Guide Me
star_border
Reply

Custom Dimensions not showing for IOS

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Im having issues trying to view custom Dimensions on reports. 

I have 2 dimensions setup in GA

Screen Shot 2016-05-06 at 10.25.03 AM.png

 

my code for sending the custom dimension are the following

 func trackScreen(screen:String) {
        let tracker = GAI.sharedInstance().defaultTracker
        tracker.set(kGAIScreenName, value: screen)
        
        tracker.set(GAIFields.customMetricForIndex(1), value: "XXX")
        tracker.set(GAIFields.customMetricForIndex(2), value: "YYY")

        let builder = GAIDictionaryBuilder.createScreenView()
        tracker.send(builder.build() as [NSObject : AnyObject])
    }

 

I am assuming that when i create a report showing my first dimension("PhoneNumber"), I'm expecting that i will see "XXX"

Here is my report:

Screen Shot 2016-05-06 at 10.28.18 AM.png

but when creating the report, the field is empty

Screen Shot 2016-05-06 at 10.35.24 AM.png