1.0.1 • Published 12 months ago

@adhese/sdk-devtools v1.0.1

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
12 months ago

Adhese SDK Devtools

The SDK offers a inline application to debug the Adhese instance. The Devtools is available whenever the SDK is in debug mode.

Installation

The devtools are not included in the SDK by default. To use the Devtools, you need to install the @adhese/sdk-devtools

::: code-group

npm install @adhese/sdk-devtools
pnpm add @adhese/sdk-devtools
yarn add @adhese/sdk-devtools
bun add @adhese/sdk-devtools

:::

Add the devtoolsPlugin function to your Adhese config plugins field:

import { devtoolsPlugin } from '@adhese/sdk-devtools';
import { createAdhese } from '@adhese/sdk';

const adhese = createAdhese({
  account: 'your-account-id',
  plugins: [devtoolsPlugin],
});

Usage

Enable debug mode by setting the debug property to true in the createAdhese function or by adding ?adhese_debug=true to the URL.

Whenever the debug mode is enabled, the Devtools is available by clicking the button Open Adhese Devtools in the bottom right corner of the page.

Inspect slots

The Devtools allows you to inspect the added slots on the page. It shows the following information:

  • Slot name
  • Format
  • Location
  • Render status
  • Campaign ID
  • Booking ID
  • Creative ID
  • Tracking ID
  • Creative type
  • Viewability tracked
  • Impression tracked
  • Element
  • Slot parameters - if available

Logs

The Devtools logs all messages from the SDK. These logs are also available in the browser console.

Parameters

The parameters tab shows all the global parameters set on the Adhese instance.

1.0.1

12 months ago

1.0.0

1 year ago

0.11.0

1 year ago

0.12.0

1 year ago

0.11.1

1 year ago

0.13.0

1 year ago

0.12.1

1 year ago

0.11.2

1 year ago

0.11.3

1 year ago

0.11.4

1 year ago

0.11.5

1 year ago

0.11.6

1 year ago

0.10.0

1 year ago

0.9.0

1 year ago

0.9.1

1 year ago

0.8.0

1 year ago

0.7.7

1 year ago

0.7.6

1 year ago

0.7.5

1 year ago

0.7.4

1 year ago

0.7.3

1 year ago

0.7.2

1 year ago

0.7.1

1 year ago

0.7.0

1 year ago

0.6.5

1 year ago

0.6.4

1 year ago

0.6.3

1 year ago

0.6.2

1 year ago

0.5.2

1 year ago

0.6.0

1 year ago

0.5.1

1 year ago

0.5.0

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago