Methods
(static) submitSignal(data)
Sends audience management a signal with traits.
Parameters:
Name | Type | Description |
---|---|---|
data |
object | Context data |
(static) getVisitorProfile() → {object}
Gets the visitor profile that was most recently obtained.
Returns:
The visitor profile that was most recently obtained. Empty object if no signal has been submitted yet.
- Type
- object
(static) getDpid() → {string}
Returns the current DPID.
Returns:
Current DPID
- Type
- string
(static) getDpuuid() → {string}
Returns the current DPUUID.
Returns:
Current DPUUID
- Type
- string
(static) setDpidAndDpuuid(dpid, dpuuid)
Sets the DPID and DPUUID. If DPID and DPUUID are set, they will be sent with each signal.
Parameters:
Name | Type | Description |
---|---|---|
dpid |
string | DPID value |
dpuuid |
string | DPUUID value |