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

Ability to set the timestamp #101

Open
kmcgaire opened this issue Mar 10, 2017 · 2 comments
Open

Ability to set the timestamp #101

kmcgaire opened this issue Mar 10, 2017 · 2 comments

Comments

@kmcgaire
Copy link

  • I can't see this in the docs anywhere. I'm wondering if there is a supported feature to set the timestamp of the event.
  • ie. If we send events asynchronously but we have a timestamp of when it actually occurred I would like that to be the timestamp on the event
@kmcgaire
Copy link
Author

kmcgaire commented Apr 5, 2017

Bump

@kdeggelman
Copy link

kdeggelman commented Jul 21, 2017

There is a special property called time that will do exactly what you want.
See more https://mixpanel.com/help/reference/http#tracking-events

// Tracks an event, recording the fact that
// user "13793", completed level 9
// on January 15th, 2013 on a machine with ip
// 203.0.113.9
{
    "event": "Level Complete",
    "properties": {
        "Level Number": 9,
        "distinct_id": "13793",
        "token": "e3bc4100330c35722740fb8c6f5abddc",
        "time": 1358208000,
        "ip": "203.0.113.9"
    }
}

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