pendo-io / pendo-mobile-sdk

Pendo captures product usage data, gathers user feedback, and lets you communicate in-app to onboard, educate, and guide users to value
https://www.pendo.io
Other
57 stars 2 forks source link

How to differentiate mobile environments? #62

Closed dabaicaifen closed 1 year ago

dabaicaifen commented 1 year ago

I had browsed the documentation for a while, but no one mentioned this. Mobile applications can be configured with different environments Debug, Release, for example, and different config has different bundle id. How do I create a corresponding project in Pendo? Do I need to create a new subscription?

noambartouv commented 1 year ago

There are two approaches we suggest:

  1. Our recommended method if the bundle name stays the same across environments, we suggest using a single Pendo application in your subscription and utilizing exclude lists to keep your data clean (see: https://support.pendo.io/hc/en-us/articles/360032209171-Exclude-and-Include-Listing). To achieve this effectively, we suggest setting the accountId to something unique and identifiable (or setting a visitorId with a unique pattern) for your non-production environments. Using this method, you will only need to tag pages and manage guides in a single Pendo application (the visitors part of the exclude list won't contaminate the data but will still be eligible to see the guides in the app).

  2. Otherwise, If your bundle name is affected by the environment (debug, staging, qa, production, ...), we recommend using separate Pendo applications in your subscription - so a different appkey for each environment. The reasoning behind this approach is that the bundle name affects page recognition and therefore requires capturing and tagging the page in each environment separately. This separation of Pendo application seems to work better with the multiple captures of each page.

Pleas let us know if you have further questions.

MikePendo commented 1 year ago

Hi @denizerdalpendo I am closing that issue with your permission. please ping us if u need any further assistance. As a side note you can always exclude/include the bundle name with the toggle in your page. i.e screen identifiers might be collected with bundle id of your target you can exclude it if needed