Step Summary
Enter Debug mode.
Use
R89SDK.singleTagConfiguration
to append custom data that would otherwise not exist either in the fake local data or in our prod API.Initialize normally the single tag implementation.
1. Enter Debug Mode
For testing single tag implementation add this before initialization
Code Block | ||
---|---|---|
| ||
R89SDK.setDebug(); |
We also recommend adding
Code Block | ||
---|---|---|
| ||
R89SDK.setLogLevel(LogLevel.debug); |
Full example
Code Block |
---|
R89SDK.setLogLevel(LogLevel.debug);
R89SDK.setDebug(getLocalFakeData: true);
/* <SingleTagConfiguratorCode> */
addTestingSingleTagData()
R89SDK.initialize(
publisherId: "TestRefinery89ID", /* This is for testing purposes, change it on prod */
appId: "TestDemoApp", /* This is for testing purposes, change it on prod */
singleTag: true); |