How to filter clicks on OS’user in webhook setup ?
I want to setup webhooks for GA. I have one GA account with several views filtered on website and apps parameters. Precisely, I have one iOS account and one Android account so I want to configure 2 different webhooks filtered on OS. I read the documentation several times and made several tests based on the received JSON to find the correct property but without success. Is there anyone who achieved this ?
It looks like the Branch documentation on this page is actually out of date. The click.device.* keywords are only used for events triggered by incoming Universal Links (iOS) and App Links (Android). To catch the other events, you need to use click.browser.*.
The reason for this is that Universal Links and App Links actually don’t bounce through a web browser, so we trigger a different kind of event for those. To capture all situations, you’ll want to set up a two different webhooks:
- Filtering on click.device.metadata.os
- Filtering on click.browser.metadata.os
You can use click.device.metadata.model and click.browser.metadata.model for differentiating between iPhone and iPad on iOS, but currently this is not supported for Android. Too many devices on the market!