BranchMetrics / web-branch-deep-linking-attribution

The Branch Web SDK for deep linking and attribution. Once initialized, the Branch Web SDK allows you to create and share links with a banner (web only), over SMS, or your own methods by generating deep links. It also offers event tracking, access to referrals, and management of credits.
https://help.branch.io/developers-hub/docs/web-sdk-overview
MIT License
288 stars 101 forks source link

V2 event example #721

Closed jdee closed 4 years ago

jdee commented 4 years ago

There is an event-example.html here, but that just logs v1 events, mostly involving banners.

This exercises the branch.logEvent() function used to log v2 events. It first initializes the SDK and then will send a standard VIEW_ITEM event for a content item or a custom event you can type in. You can also supply a Customer Event Alias for both standard and custom events.

This is just a basic example to test some recent functionality.

Note that of the several example HTML files here, only example.html is hosted/deployed.

aaaronlopez commented 4 years ago

👍