trackExperiencePageview usage Bryce Bangerter October 26, 2023 17:27 I have an angular app I am using in showpad (so SPA application). I want to add analytics to track user navigation within the app. My code (stripped down to the showpad sdk portions) import { Showpad } from '@showpad/experience-app-sdk'; Called during the ngOnInit of my main component. private async showpadInit() { await Showpad.onShowpadLibLoaded(); } Called as the user the clicks buttons in the UI to navigate to different parts of the app private async pageView(id: string) { if (!this.pageViewMap.has(id)) return; await Showpad.trackExperiencePageview({ id: id, sourceId: this.currentPage, destinationId: this.pageViewMap.get(id) }); this.currentPage = this.pageViewMap.get(id);} pageViewMap is simply a dictionary of parts of the UI I currently want to track. But I am unclear on several things. Should the id passed to trackExperiencePageview be unique for each button (it currently is), or is it supposed to be a single value for the entire application? Can it be any string I want, or is it supposed to be a specific id generated from a showpad API endpoint somewhere? That is, could my id be "This is my id" or does it need to be some form of specific Guid value or other hex value? Same question for sourceId and destinationId. Can those be any string value I want to send, or are those supposed to be generated by showpad in some fashion and I need to pass the generated values in? Currently none of my analytics are showing up when I make calls to the https://mentor.showpad.biz/api/v3/exports/events.json endpoint. So I'm getting something above wrong, just not clear what. (A reference to a tutorial using the sdk for this purpose would also be useful if anyone has one). I am getting the built in showpad events for opening the app, (example below), just not my custom ones I'm trying to add { "eventId": "062be0d11d4fed33620f8a880bc2f05f6a7cb0509f9e4af03e93b8c94c23249d", "startTime": "2023-10-26T17:12:58+00:00", "endTime": "2023-10-26T17:13:09+00:00", "loggedAt": "2023-10-26T17:12:56+00:00", "userId": "b83d7a4588e4719e1ce10cee934455ba", "channelId": null, "shareId": null, "sharedSpaceId": null, "sharedSpaceParticipantId": null, "deviceId": "0c07053bf94351f6f72395c915086462", "divisionId": null, "assetId": null, "contactId": null, "type": "app-opened", "page": null, "metadata": null }, 0