Blue Triangle Help Center
Auto Light Dark
Auto Light Dark

How to find your Site ID for the BTT SDK

  1. Login to https://portal.bluetriangletech.com

  2. Click on "Settings" icon

  3. Open the Sites page under the Settings Modal. (Logged in user needs to have access to Sites page)

blobid2.png

4. Get the value for Site ID from the "Tag Prefix" column for the desired "Site Name"

blobid1.png

Examples for using your Site ID in the SDK configuration below

React Native

const bttOptions = new BTTOptions()
BTTConfiguration.configure("testsite12345z", bttOptions)

Swift

BlueTriangle.configure { config in
    config.siteID = "testsite12345z"
}

Android Manifest

<manifest xmlns:android="http://schemas.android.com/apk/res/android">
    <application>
        <meta-data android:name="com.blue-triangle.site-id" android:value="testsite12345z"/>
    </application>
</manifest>