Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6622909
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:28:03+00:00 2026-05-25T21:28:03+00:00

I am not sure I fully understand the Google Analytics integration. At least, what

  • 0

I am not sure I fully understand the Google Analytics integration. At least, what I read on Google’s SDK Page and what I see in reality are not the same.

I’ve setup the Tracker in my applicationDidFinishLaunching method, with my key.

[[GANTracker sharedTracker] startTrackerWithAccountID:@"UA-xxxxxxxx-1"
                                       dispatchPeriod:30 // SENDS EACH 30 SECONDS.
                                             delegate:self];

NSError *error;
if (![[GANTracker sharedTracker] setCustomVariableAtIndex:1
                                                     name:@"iPhone"
                                                    value:appVersion
                                                withError:&error]) {
    // Handle error here
    ALog("Google Analytics Error: %@", error);
}


if (![[GANTracker sharedTracker] trackPageview:@"/app_did_finish_Launching"
                                     withError:&error]) {
    // Handle error here
    ALog("Google Analytics Error:%@", error);
}

I am using a delegate to ensure that the dispatch is firing, and it is, and each time it says it is successful.

- (void)trackerDispatchDidComplete:(GANTracker *)tracker
                  eventsDispatched:(NSUInteger)eventsDispatched
              eventsFailedDispatch:(NSUInteger)eventsFailedDispatch {
    DLog(@"events dispatched: %d, events failed: %d", eventsDispatched, eventsFailedDispatch);
}

Question 1:
I am trying to see this over WIFI, with a proxy I’ve setup between my iPhone and the web. I see nothing that looks like Google analytics traffic. Should I expect to see anything?

Question 2:
Its been 24 hrs, and I don’t see anything on the Google Analytics site. Should I see something? I’ve had success with this implementation only when I set the dispatchPeriod to 0, and manually call dispatch in the code.
BOOL success = [[GANTracker sharedTracker] dispatch];

But I really don’t want to do this in a shipping app version.

What am I doing wrong? Do I need to call dispatch manually? The SDK implied you only call the dispatch if you want to send it manually (without batching the sends). Am I understanding this correctly?

Thanks for your help.

-Yenyi

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T21:28:04+00:00Added an answer on May 25, 2026 at 9:28 pm

    Well, it takes a long time to update. More than 24 hrs. But it does update. In the end, decided to go with Flurry, the API was just cleaner.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Not sure I fully understand what phpmyadmin does. I created a database in phpmyadmin,
I'm new to pagination, so I'm not sure I fully understand how it works.
I'm not sure if I fully understand the difference between these two. Can someone
Not sure the title fully describes the problem/question I'm trying to ask, sorry. One
I am completely baffled by this and don't fully understand IE7's problem. The page
This question contains a lot of background information, to make sure you fully understand
I've read a number of posts about this but I'm still not sure that
i've playing around with mysql's full text search and I'm not sure if it
Not sure if this is possible or if I'm expressing correctly what I'm looking
Not sure how to ask a followup on SO, but this is in reference

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.