Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ios): add custom event tracking #1676

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

chore(ios): add custom event tracking #1676

wants to merge 1 commit into from

Conversation

adwinross
Copy link
Collaborator

Description

Track custom events using the below public APIs

Measure.shared.trackEvent(name: "event-name", timestamp: nil)
 [[Measure shared] trackEventWithName:@"event-name" timestamp:nil];

Related issue

Closes #1581

@adwinross adwinross self-assigned this Jan 2, 2025
Copy link

vercel bot commented Jan 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
measure-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 2, 2025 3:54am

@adwinross adwinross added chore internal tasks ios ios related labels Jan 2, 2025
@adwinross adwinross requested a review from abhaysood January 2, 2025 03:54
func trackEvent(name: String, timestamp: Number?)
}

final class BaseCustomEventCollector: CustomEventCollector {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add support for custom attributes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore internal tasks ios ios related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement custom event
1 participant