Giter VIP home page Giter VIP logo

Comments (2)

alanjcharles avatar alanjcharles commented on August 14, 2024

@saeedbashir Google deprecated Google Analytics for mobile in 2019. The Segment-GoogleAnalytics lib should be removed and you should rely exclusively on Segment-Firebase. Please feel free to reach out to [email protected] if you're still running into issues with your Firebase implementation.

from analytics-ios-integration-firebase.

vrokida avatar vrokida commented on August 14, 2024

Hello @saeedbashir and @alanjcharles !
I have similar problem

My dependencies :

pod 'Analytics', '~> 4.1'

pod 'Segment-Firebase', '2.7.12'

My code for Segment-Firebase Integration :

    let configuration = AnalyticsConfiguration(writeKey: "MyKEY")
    configuration.trackApplicationLifecycleEvents = true 
    configuration.flushAt = 1
    configuration.recordScreenViews = true 
    configuration.use(SEGFirebaseIntegrationFactory.instance())
    Analytics.setup(with: configuration)
    Analytics.debug(true)

My code for events:
Analytics.shared().track("ItemPurchased", properties: ["item": "Sword of Heracles", "revenue": 2.95])

And I can't see data/events on my Firebase console, but if log a event using
FirebaseAnalytics.Analytics.logEvent("Testevent", parameters: ["message" :"Testing"])
I saw data in Firebase console.

Is something missing from the configuration?
Why if I use the Analytics.logEvent it's works ?

Thanks in advance

from analytics-ios-integration-firebase.

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.