amplitude / Amplitude-Swift

Native iOS/tvOS/macOS/watchOS SDK
MIT License
26 stars 20 forks source link

Not receiving events #184

Closed afern247 closed 2 months ago

afern247 commented 2 months ago

Summary

I have setup the SDK and I'm emitting events with:

private func trackEvent(eventType: String, properties: [String: Any]?) {
        guard let amplitude = amplitude else { return }

        let event = BaseEvent(
            eventType: eventType,
            eventProperties: properties
        )
        amplitude.track(event: event)
    }

but when I go to the website I don't see anything, is there a specific thing I need to look for on the website or add on my code?

afern247 commented 2 months ago

never mind was the way I was passing the API key, you guys should log an error or something...

crleona commented 2 months ago

@afern247 thank you for your feedback, I am glad you were able to get it working.