Netcore Unbxd Identity

Learn the integration steps to fetch NetcoreUnbxdIdentity.

SDK versions supporting NetcoreUnbxdIdentity

NetcoreUnbxdIdentity is available in the following SDK version:

  • iOS: Smartech-iOS-SDK: 3.7.1

Integration steps to fetch NetcoreUnbxdIdentity

iOS

Use the following methods to fetch NetcoreUnbxdIdentity on iOS.

Swift

let netcoreUnbxdIdentity = Smartech.sharedInstance().getNetcoreUnbxdIdentity()
NSString *netcoreUnbxdIdentity = [[Smartech sharedInstance] getNetcoreUnbxdIdentity];

How it works

Identity generation

The Smartech SDK generates a NetcoreUnbxdIdentity for each user. This ID helps link user behavior across different platforms.

Activity tracking with Unbxd

When tracking user activities such as product views, searches, clicks, or cart actions using the Unbxd Tracker API, pass the NetcoreUnbxdIdentity as the value for netcore_id.

Example payload:

{
  "data": {
    "query": "Samsung galaxy s24 ultra",
    "url": "",
    "referrer": "",
    "visit_type": "first_time",
    "ver": "{{app_version}}",
    "_uf": 3902881952,
    "visitId": "{{visitId}}",
    "netcore_id": "{{NetcoreUnbxdIdentity}}"
  },
  "action": "search",
  "uid": "{{uid}}",
  "t": "{{timestamp}}",
  "os": "{{os}}",
  "device_type": "{{device_type}}"
}

Ensure the netcore_id is fetched from the Smartech SDK and passed in your Unbxd payload. Refer to the integration steps above to retrieve the value.