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

TrackCharge doc is out of date? #116

Closed
xinatcg opened this issue Jul 7, 2021 · 3 comments
Closed

TrackCharge doc is out of date? #116

xinatcg opened this issue Jul 7, 2021 · 3 comments

Comments

@xinatcg
Copy link

xinatcg commented Jul 7, 2021

// Tracks $25 in revenue for user 13793 on the 2nd of
// January
var props = new Value();
props["time"] = "2012-01-02T00:00:00";

Mixpanel.People.TrackCharge(25, props);

this method override has been removed?

void mixpanel.Mixpanel.People.TrackCharge(double | amount, Value | properties )
@xinatcg
Copy link
Author

xinatcg commented Jul 7, 2021

so we need add amount by outsefl right?

 
            mixPanelValue.Add("$amount", usdPrice);
            Mixpanel.People.TrackCharge(mixPanelValue);

@zihejia
Copy link
Contributor

zihejia commented Sep 29, 2021

hi @xinatcg , you are right. The doc is out of date and we will update it. Thanks for bringing it up and sorry for the inconvenience.

@zihejia
Copy link
Contributor

zihejia commented Oct 21, 2021

Hi @xinatcg. it's released in v3.0.0, please feel free to reopen if you find any issues.

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

No branches or pull requests

2 participants