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

TimeEvent and Track not capturing Duration Property #261

Open
ranuja-apps opened this issue Aug 13, 2024 · 0 comments
Open

TimeEvent and Track not capturing Duration Property #261

ranuja-apps opened this issue Aug 13, 2024 · 0 comments

Comments

@ranuja-apps
Copy link

I am using mixpanel v3.0.5 and i have notice either timeEvent or track not working as per the intended.

  static startTimeTrack(eventName: TimeTrackTypes) {
    this.Instance.timeEvent(eventName);
  }
  static endTimeTrack(eventName: TimeTrackTypes) {
    this.Instance.track(eventName);
  }

This is my code for tracking and i am calling startTimeTrack first and then endTimeTrack but i am not seeing duration field set in the mixpanel portal.

{
  "event": "TimeToInteract",
  "properties": {
    "time": 1723575091.91,
    "distinct_id": "$device:XX9df8XX-X3XX-X2XX-b7af-5fXX36XXbXX",
    "$android_brand": "OnePlus",
    "$android_manufacturer": "OnePlus",
    "$android_model": "CPH2569",
    "$city": "XX",
    "$device_id": "XX9df8XX-X3XX-X2XX-b7af-5fXX36XXbXX",
    "$insert_id": "0b71942e18f1a217",
    "$lib_version": "3.0.5",
    "$mp_api_endpoint": "api.mixpanel.com",
    "$mp_api_timestamp_ms": 1723575100668,
    "$os": "android",
    "$os_version": 34,
    "$region": "XXXX",
    "mp_country_code": "XX",
    "mp_lib": "react-native",
    "mp_processing_time_ms": 1723575100762
  }
}
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

1 participant