Efficient QA process

In our app, we want to show different onboarding/new-user tutorials depending on the details of the search ad that got them into our app. For example, maybe we want to show Tutorial A if they found our app using search query "abc", and Tutorial B if they found our app using search query "zyx".


Is there an easy way for us to debug/QA this implementation?