Quick Start

You can install Bird web SDK either by using a script tag.

Script tag

The SDK can be instantiated using a script tag with the following attributes:

<script
    src="https://embeddables.p.mbirdcdn.net/sdk/v0/bird-sdk.js"
    data-config-url="your_config_url"
></script>

<script>
Bird.contact.identify({
	strategy: 'Visitor',
	identifier: {
		key: 'emailaddress',
		value: 'john@example.com',
	},
});
</script>

There's no need to initialize the SDK since it will be done automatically and attached to the window under the Bird namespace.

Last updated