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

can't use event Click on oc #142

Closed
HelloWorldStap opened this issue May 23, 2017 · 4 comments
Closed

can't use event Click on oc #142

HelloWorldStap opened this issue May 23, 2017 · 4 comments
Assignees
Labels

Comments

@HelloWorldStap
Copy link

can't use event Click on oc.........i can't find a SEL in Tracker about event

@brototyp
Copy link
Member

brototyp commented May 23, 2017

Hi @HelloWorldStap, do you mean calling the SDK with Objective-C code? Are you using the newest beta version?

@brototyp
Copy link
Member

If that is the case please try the following:

  • Import the PiwikTracker Framework in the header of the file you want to use it in like so: @import PiwikTracker;
  • Track your events like this for example: [[Tracker shared] trackWithView:@[@"example"]];

Does that work for you?

@brototyp brototyp added the bug label May 23, 2017
@brototyp brototyp self-assigned this May 23, 2017
@HelloWorldStap
Copy link
Author

i'am using the newest beta version 4.0.0-beta1 but i can't find the Tracker.shared?.track(eventWithCategory: "player", action: "slide", name: "volume", value: 35.1) using Objective-C

@brototyp
Copy link
Member

Hi @HelloWorldStap, thank you for your followup. I found the issue and fixed it in a pull request. I expect to release 4.0.0-beta2 in the end of this week where this fix should be included.

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

No branches or pull requests

2 participants