WebView App
A WebView app is a way to display web content within a native mobile application. It allows you to load HTML pages and execute JavaScript directly in the app. AdOpt can be easily integrated into WebView applications, enabling the collection of necessary data for analysis and optimization.
To integrate AdOpt into a WebView app, follow these steps:
Ensure the WebView has the correct permissions to access cookies and local storage.
Add the JavaScript code provided by AdOpt to the WebView's HTML page. This code will enable the AdOpt banner functionality.
API Integration for Applications Without WebView
For applications that do not use a WebView, AdOpt integration is slightly different. In these cases, you need to create a custom banner and use AdOpt's API calls.
Here are the steps to integrate AdOpt into applications without WebView:
Create a custom banner to display in your app, following the guidelines of regulatory bodies.
Use AdOpt API calls to send relevant information about the tags and cookies consented by the user.
Ensure your app has the correct permissions to access the internet and make API calls.
Operation of Scan
AdOpt provides a "scan" feature that identifies and groups cookies and local storage from advertising services into tags. Each tag represents a set of cookies and local storage related to a specific service.
Here's how the scan process works with tags and cookies:
AdOpt performs a scan on the pages registered in the dashboard to identify existing cookies and local storage.
When a set of cookies and local storage is detected, AdOpt groups them into a tag representing a specific service.
For mobile applications, users must manually send the tags to AdOpt, as the scan feature has access only to pages available on the web.
📢 Important: The data that must be submitted includes: Tag Name (service), Tag Category (can be modified in the AdOpt dashboard), Name of the cookie or local storage and Expiration time of the cookie.
