Click Id (Page) Tag
Web client page tracking integration can be done via Google Tag Manager (GTM) tag or by adding inline JavaScript.
Javascript codes or GTM tag used for Click Id (Page) Tag implementation must be placed/called on all web pages.
JavaScript Implementation
//Paste this code before the closing </body> tag:
<script type="module">
import * as adp from "https://cdn.adpartners.io/adp-client/dist/adp-client-v2.js";
window._adp = window._adp || adp;
</script>
GTM Implementation
Login to your Google Tag Manager and choose appropriate Container under your Tag Manager Accounts
Then navigate to "Workspace" -> Tags" page from the left menu
Create a new Tag by clicking the "New" button.
Click and open tag configuration panel and choose "Custom Html" as tag type
Place the Javascript implementation code , enable "Support document write" and choose "All Pages" triggering as shown below:
Then click "Save" button and after that your container is ready to publish.
Validating Implementation
Before starting validation be sure you can see the adp-client.js in your html source codes as shown below:

If you don't see adp script please be sure that Javascript codes or GTM tag is published on your web site.
After visiting your web site open browsers "Developer Tool" and navigate to "Console" tab.
Write codes below in your browser console and the results will be shown.
window._adp
window._adpClient

If you only see "undefined" results in the console, there should be some errors during the implementations.
Last updated