application_store_snapshot
event does not show up in Tracks for iOS
#10574
Labels
Milestone
application_store_snapshot
event does not show up in Tracks for iOS
#10574
Ref p1693330596268339/1692625489.705669-slack-C039133E1M3
Describe the bug
Even though we implemented the Tracks event in #10484, we didn't see any events in Tracks after a day of release.
After a deeper look, I found a silent validation error on the event properties because the property name can only contain alpha characters and underscores while the payment gateway properties have
-
:Custom properties dictionary keys must contain alpha characters and underscores only.
Validation errors like this aren’t logged to the console at all, and were missed during development/review. I should have made sure the Tracks event appears after a day or so. I’m also looking into the Tracks library why the error messages aren’t shown in console while it’s supposed to separately in Automattic/Automattic-Tracks-iOS#262.
To Reproduce
Steps to reproduce the behavior:
🔵 Tracked application_store_snapshot
but it doesn't get sent in the Tracks POST request after a bitExpected behavior
The Tracks event should be included in the POST request and show up in Tracks.
Isolating the problem (mark completed items with an [x]):
Mobile Environment
Please include:
WordPress Environment
The text was updated successfully, but these errors were encountered: