Skip to main content
All CollectionsBotify ActivationPageWorkersInstalling the PageWorkers Tag
Adding the PageWorkers Tag with Google Tag Manager
Adding the PageWorkers Tag with Google Tag Manager
Updated over 4 months ago

πŸ›  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:

  1. Click the Add a new tag link in the Workspace Overview.
    ​

    gtm_addtag_blur.png

  2. Click the Tag Configuration card to select the tag type, then select Custom HTML.
    ​

    gtm_choosetag.png

  3. 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>
    image__1_.png
  4. In the Advanced Settings section, scroll to the Consent Settings section and select the "No additional consent required" option.
    ​

    pw_gtm_cookies.jpg

  5. Click the Triggering card, and then select Initialization - All Pages.
    ​

    pw_gtm_initialpage.jpg

  6. Click the Save button at the top of the page to save the tag configuration.

  7. Click the Submit button at the top of the page.
    ​

    pw_gtm_submit_blur.png

  8. Provide the following details, and then click Publish to publish the tag to your site:
    ​

    pw_gtm_publish1.png
  • 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:

Did this answer your question?