Code Monkey home page Code Monkey logo

Comments (9)

orta avatar orta commented on August 17, 2024

Are you including the reactive cocoa subspec?

from aranalytics.

kevinrenskers avatar kevinrenskers commented on August 17, 2024

Same issue here, also not seeing the stats show up. @orta, do you mean the DSL subspec?

from aranalytics.

orta avatar orta commented on August 17, 2024

yes

from aranalytics.

kevinrenskers avatar kevinrenskers commented on August 17, 2024

Without that subspec this code doesn't even compile.. so yes, it's included :)

from aranalytics.

ashfurrow avatar ashfurrow commented on August 17, 2024

I can look into this tomorrow.

from aranalytics.

kevinrenskers avatar kevinrenskers commented on August 17, 2024

I'm starting to think it's a problem with google rather then this library. When using the google analytics library and Aspects directly, I am seeing all the correct calls going out.

- (void)setupGoogleAnalytics {
    [[[GAI sharedInstance] logger] setLogLevel:kGAILogLevelVerbose];
    [[GAI sharedInstance] trackerWithTrackingId:@"xxx"];

    [UIViewController aspect_hookSelector:@selector(viewDidAppear:) withOptions:AspectPositionAfter usingBlock:^(id<AspectInfo> aspectInfo, BOOL animated) {
        UIViewController *controller = aspectInfo.instance;
        id tracker = [[GAI sharedInstance] defaultTracker];
        [tracker set:kGAIScreenName value:NSStringFromClass([controller class])];
        [tracker send:[[GAIDictionaryBuilder createScreenView] build]];
    } error:NULL];
}

However, nothing actually shows up in Google Analytics.

from aranalytics.

ashfurrow avatar ashfurrow commented on August 17, 2024

Any update on this @kevinrenskers ?

from aranalytics.

kevinrenskers avatar kevinrenskers commented on August 17, 2024

Ah sorry. Yeah so I'm no longer using ARAnalytics, that code that I posted above is fine for my use case. And yes, I did see stuff in Google Analytics eventually. Might have been a temporary issue with their server or library, as I remember it did have an update shortly after I posted this code.

So, I think you should be fine.

from aranalytics.

ashfurrow avatar ashfurrow commented on August 17, 2024

OK, thanks.

from aranalytics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.