(Optional) External ID's Support in Bridge
External ID and Secondary ID
info
Outbrain supports two custom values that can be used by the publisher for reporting purposes. Make sure to set the extId
or extSecondaryId
params before calling sfWidget.configure()
method. External ID in the Bridge is supported from SDK v4.26.0.
In the "Article ViewController" the app developer should set "external ID" and the optional "secondary external ID" as shown below:
self.sfWidget.extId = "aaaaaa";
self.sfWidget.extSecondaryId = "bbbbbb";
Publisher Imp id in Bridge
info
Outbrain uses the odb parameter pubImpId
to get the session ID / "click identifier"
from the publisher.
in order to send the value make sure to set the "OBPubImp" param before calling sfWidget.configure()
method.
warning
OBPubImp ID in the Bridge is supported from SDK version v4.31.0.
In the "Article ViewController" the app developer should set "OBPubImp" as shown below:
self.sfWidget.OBPubImp = "exampleID";