Question

MixPanel + React native not working?


Hello guys, we recently implemented the SDK for react-native in the version 0.62+, however after tons of tests, we can not get anything neither on users section or live section, is something that we are doing wrong?

 

These are the logs comming from Xcode

[Mixpanel - Flush.swift - func flushQueueInBatches(_:type:)] (debug) - [["$mp_metadata": ["$mp_session_id": "5f048870dec907b5", "$mp_session_seq_id": 0, "$mp_session_start_sec": 1622603731, "$mp_event_id": "50a2ea718c928634"], "$distinct_id": "egiving-dante.cervantes+dev@rokt.io", "$add": ["$ae_total_app_sessions": 1.0], "$device_id": "7D56195D-78B3-428F-B681-55A2D1CB9722", "$user_id": "egiving-dante.cervantes+dev@rokt.io", "$token": "dd798197f7bf394d8c626ed5ba878251", "$time": 1622603793948.0], ["$distinct_id": "egiving-dante.cervantes+dev@rokt.io", "$time": 1622603793948.0, "$device_id": "7D56195D-78B3-428F-B681-55A2D1CB9722", "$mp_metadata": ["$mp_session_seq_id": 1, "$mp_session_id": "5f048870dec907b5", "$mp_event_id": "fcf9c0779177d551", "$mp_session_start_sec": 1622603731], "$token": "dd798197f7bf394d8c626ed5ba878251", "$add": ["$ae_total_app_session_length": 62.6], "$user_id": "egiving-dante.cervantes+dev@rokt.io"]]
[Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - Fetching URL
[Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - https://api.mixpanel.com/engage/
[Mixpanel - Flush.swift - func flushQueueInBatches(_:type:)] (debug) - Sending batch of data
[Mixpanel - Flush.swift - func flushQueueInBatches(_:type:)] (debug) - [["$user_id": "egiving-dante.cervantes+dev@rokt.io", "$device_id": "7D56195D-78B3-428F-B681-55A2D1CB9722", "$time": 1622603793948.0, "$mp_metadata": ["$mp_event_id": "9fad524eec7269ef", "$mp_session_id": "a135a5507b0e8706", "$mp_session_seq_id": 0, "$mp_session_start_sec": 1622603731], "$distinct_id": "egiving-dante.cervantes+dev@rokt.io", "$add": ["$ae_total_app_sessions": 1.0], "$token": "dd798197f7bf394d8c626ed5ba878251"], ["$add": ["$ae_total_app_session_length": 62.6], "$time": 1622603793948.0, "$token": "dd798197f7bf394d8c626ed5ba878251", "$device_id": "7D56195D-78B3-428F-B681-55A2D1CB9722", "$mp_metadata": ["$mp_session_id": "a135a5507b0e8706", "$mp_session_seq_id": 1, "$mp_event_id": "a94d65bbdfebde25", "$mp_session_start_sec": 1622603731], "$distinct_id": "egiving-dante.cervantes+dev@rokt.io", "$user_id": "egiving-dante.cervantes+dev@rokt.io"]]
[Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - Fetching URL
[Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - https://api.mixpanel.com/engage/
[Mixpanel - Flush.swift - func flushQueueInBatches(_:type:)] (debug) - Sending batch of data
[Mixpanel - Flush.swift - func flushQueueInBatches(_:type:)] (debug) - [["$user_id": "egiving-dante.cervantes+dev@rokt.io", "$token": "dd798197f7bf394d8c626ed5ba878251", "$add": ["$ae_total_app_sessions": 1.0], "$distinct_id": "egiving-dante.cervantes+dev@rokt.io", "$mp_metadata": ["$mp_session_id": "225da4762785db8e", "$mp_session_start_sec": 1622603731, "$mp_event_id": "bd7025363ef45c89", "$mp_session_seq_id": 0], "$time": 1622603793948.0, "$device_id": "7D56195D-78B3-428F-B681-55A2D1CB9722"], ["$user_id": "egiving-dante.cervantes+dev@rokt.io", "$mp_metadata": ["$mp_event_id": "620e16317d92ecc6", "$mp_session_id": "225da4762785db8e", "$mp_session_seq_id": 1, "$mp_session_start_sec": 1622603731], "$device_id": "7D56195D-78B3-428F-B681-55A2D1CB9722", "$add": ["$ae_total_app_session_length": 62.6], "$distinct_id": "egiving-dante.cervantes+dev@rokt.io", "$time": 1622603793948.0, "$token": "dd798197f7bf394d8c626ed5ba878251"]]
[Mixpanel - Flush.swift - func flushQueueInBatches(_:type:)] (debug) - Sending batch of data
[Mixpanel - Flush.swift - func flushQueueInBatches(_:type:)] (debug) - [["$token": "dd798197f7bf394d8c626ed5ba878251", "$user_id": "egiving-dante.cervantes+dev@rokt.io", "$add": ["$ae_total_app_sessions": 1.0], "$mp_metadata": ["$mp_session_start_sec": 1622603731, "$mp_session_id": "3bbd82a1bcdb62f4", "$mp_event_id": "91568357ad53f97f", "$mp_session_seq_id": 0], "$device_id": "7D56195D-78B3-428F-B681-55A2D1CB9722", "$distinct_id": "egiving-dante.cervantes+dev@rokt.io", "$time": 1622603793948.0], ["$device_id": "7D56195D-78B3-428F-B681-55A2D1CB9722", "$distinct_id": "egiving-dante.cervantes+dev@rokt.io", "$time": 1622603793948.0, "$mp_metadata": ["$mp_session_seq_id": 1, "$mp_session_id": "3bbd82a1bcdb62f4", "$mp_session_start_sec": 1622603731, "$mp_event_id": "84a07a4be878a81d"], "$user_id": "egiving-dante.cervantes+dev@rokt.io", "$add": ["$ae_total_app_session_length": 62.6], "$token": "dd798197f7bf394d8c626ed5ba878251"]]
[Mixpanel - Flush.swift - func flushQueueInBatches(_:type:)] (debug) - Sending batch of data
[Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - Fetching URL
[Mixpanel - Flush.swift - func flushQueueInBatches(_:type:)] (debug) - Sending batch of data
[Mixpanel - Flush.swift - func flushQueueInBatches(_:type:)] (debug) - Sending batch of data
[Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - Fetching URL
[Mixpanel - Flush.swift - func flushQueueInBatches(_:type:)] (debug) - [["$user_id": "egiving-dante.cervantes+dev@rokt.io", "$time": 1622603793948.0, "$add": ["$ae_total_app_sessions": 1.0], "$mp_metadata": ["$mp_session_id": "c41d9571dd770c94", "$mp_session_seq_id": 0, "$mp_event_id": "07fc11b2d05af31b", "$mp_session_start_sec": 0], "$distinct_id": "egiving-dante.cervantes+dev@rokt.io", "$token": "dd798197f7bf394d8c626ed5ba878251", "$device_id": "7D56195D-78B3-428F-B681-55A2D1CB9722"], ["$device_id": "7D56195D-78B3-428F-B681-55A2D1CB9722", "$mp_metadata": ["$mp_session_seq_id": 1, "$mp_session_id": "c41d9571dd770c94", "$mp_event_id": "e7f023ee67c56391", "$mp_session_start_sec": 0], "$distinct_id": "egiving-dante.cervantes+dev@rokt.io", "$user_id": "egiving-dante.cervantes+dev@rokt.io", "$time": 1622603793948.0, "$add": ["$ae_total_app_session_length": 62.6], "$token": "dd798197f7bf394d8c626ed5ba878251"]]
[Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - https://api.mixpanel.com/engage/
[Mixpanel - Flush.swift - func flushQueueInBatches(_:type:)] (debug) - [["properties": ["$lib_version": "1.2.3", "$screen_height": 844, "time": 1622603792, "$screen_width": 390, "distinct_id": "egiving-dante.cervantes+dev@rokt.io", "$carrier": "", "$os_version": "14.5", "$app_version_string": 4.6, "$model": "x86_64", "$app_build_number": 501, "$device_id": "7D56195D-78B3-428F-B681-55A2D1CB9722", "token": "dd798197f7bf394d8c626ed5ba878251", "$user_id": "egiving-dante.cervantes+dev@rokt.io", "$radio": "None", "$manufacturer": "Apple", "$os": "iOS", "mp_lib": "react-native"], "$mp_metadata": ["$mp_session_start_sec": 0, "$mp_event_id": "b9e253fdcd4fa728", "$mp_session_id": "41837451ed3492e0", "$mp_session_seq_id": 0], "event": "MixPanel initialization"], ["event": "MixPanel initialization", "$mp_metadata": ["$mp_session_id": "41837451ed3492e0", "$mp_session_start_sec": 0, "$mp_session_seq_id": 1, "$mp_event_id": "7025e6fa1189fe39"], "properties": ["$lib_version": "1.2.3", "$device_id": "7D56195D-78B3-428F-B681-55A2D1CB9722", "$app_build_number": 501, "$model": "x86_64", "$carrier": "", "$manufacturer": "Apple", "$user_id": "egiving-dante.cervantes+dev@rokt.io", "mp_lib": "react-native", "time": 1622603792, "$os": "iOS", "$app_version_string": 4.6, "$screen_height": 844, "$screen_width": 390, "$radio": "None", "token": "dd798197f7bf394d8c626ed5ba878251", "$os_version": "14.5", "distinct_id": "egiving-dante.cervantes+dev@rokt.io"]]]
[Mixpanel - Flush.swift - func flushQueueInBatches(_:type:)] (debug) - [["$distinct_id": "egiving-dante.cervantes+dev@rokt.io", "$token": "dd798197f7bf394d8c626ed5ba878251", "$time": 1622603793948.0, "$user_id": "egiving-dante.cervantes+dev@rokt.io", "$mp_metadata": ["$mp_session_id": "58646211df0a0490", "$mp_event_id": "446fa88504a12d98", "$mp_session_seq_id": 6, "$mp_session_start_sec": 0], "$add": ["$ae_total_app_sessions": 1.0], "$device_id": "7D56195D-78B3-428F-B681-55A2D1CB9722"], ["$time": 1622603793948.0, "$distinct_id": "egiving-dante.cervantes+dev@rokt.io", "$mp_metadata": ["$mp_session_start_sec": 0, "$mp_event_id": "5e48449c69b026af", "$mp_session_id": "58646211df0a0490", "$mp_session_seq_id": 7], "$token": "dd798197f7bf394d8c626ed5ba878251", "$user_id": "egiving-dante.cervantes+dev@rokt.io", "$device_id": "7D56195D-78B3-428F-B681-55A2D1CB9722", "$add": ["$ae_total_app_session_length": 62.6]]]
[Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - https://api.mixpanel.com/engage/
[Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - Fetching URL
[Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - https://api.mixpanel.com/engage/
[Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - Fetching URL
[Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - Fetching URL
[Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - https://api.mixpanel.com/engage/
[Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - https://api.mixpanel.com/track/

 

But nothing is displayed on the mixpanel Live or Users


0 replies

Be the first to reply!

Reply


Mixpanel