π This article explains adding the PageWorkers JavaScript tag with Google Tag Manager. PageWorkers is part of Botify's Activation Suite, available as an option with all Botify plans.
Installing the Tag
While you can install the required JavaScript tag directly on your website, you can also add the tag through any tag manager. This example demonstrates how to add the tag with Google Tag Manager.
π¨ Installing the tag directly on your site is the recommended method, as described in PageWorkers Implementation and Tech Notes: Installing the PageWorkers Tag.
In Google Tag Manager:
Click the Add a new tag link in the Workspace Overview.
βClick the Tag Configuration card to select the tag type, then select Custom HTML.
βAdd the following script to the HTML box, replacing websiteid with your site ID:
β<script async src="https://tags.pw.adn.cloud/{websiteId}/activation.js"></script>
In the Advanced Settings section, scroll to the Consent Settings section and select the "No additional consent required" option.
βClick the Triggering card, and then select Initialization - All Pages.
βClick the Save button at the top of the page to save the tag configuration.
Click the Submit button at the top of the page.
βProvide the following details, and then click Publish to publish the tag to your site:
β
Choose "Publish and Create Version" to immediately publish the tag.
Identify a name and description to help identify the tag version.
Refer to the Tag Manager help center for more information on Google Tag Manager.
Confirming the Tag Deployment
Refer to the steps in Setting up PageWorkers to confirm the tag is deployed to your pages.
Read next: