Articles on: Notifications HUB

Guide: How to implement Notification Hub script with Google Tag Manager

This whitepaper provides detailed instructions on how to implement the Icomm Notification Hub script using Google Tag Manager. Follow these steps for a successful integration on your website.

Step 1: Get the Notification Hub script

Before starting the deployment, you need to obtain the Notification Hub script:

  1. Request the Notification Hub script from Icomm by email.

Step 2: Access Google Tag Manager

Step 3: Set up in Google Tag Manager

Once in Google Tag Manager, follow these steps to create a tag and trigger:

Create a new tag:

  1. In the control panel, within the Labels section, select the "New" option.




  1. Name the label. For example "Icomm HUB".
  2. In the tag settings, select "Custom HTML".
  3. Paste the script provided by Icomm into the HTML field.

Configure the trigger:

  1. Click "Choose a trigger for this tag."

  1. Select "All Pages" as the trigger type.
  2. Click "Add" to save the trigger.

  1. Click "Save" to save the label settings.

Step 4: Finish the deployment

To complete the deployment:

  1. Click "Submit" to publish your changes.
  2. Confirm the post in the pop-up window.

Verification

After deploying the Notifications Hub:

  1. Wait a few minutes for the changes to propagate.
  2. Visit the website and verify that the Notification Hub is working correctly.
  3. If you encounter any problems, check the settings in Google Tag Manager or contact Icomm support for assistance.

Optin:

Once the script is implemented, customize the Optin since it is activated automatically when the script is activated.

Consult the following article: How to configure Optin in HUB


Templates from GTM for VTEX IO

To generate templates from Google Tag Manager for VTEX IO:

  1. Click on TEMPLATES: > Generate
  2. Click on the three dots + import
  3. Import the tpl file and save:

ICOMM WebPush Invoke Script

Once the templates have been generated, you must generate the tags as always, but instead of Custom HTML, select the new ICOMM template.

  1. Select the template and edit the ID (customer)

How ​​to obtain it?

From the .txt script that Icomm provides when registering the module:

Red shows where we should place the PUSH client ID

Here is the push ID in the .txt script

  • HUB trigger must be in All Pager / All Pages
  • Submit changes

Activate TAGS

Once the previous steps have been completed, it is necessary to activate the html TAGS

Step by step:

  1. Enter VTEX my apps
  2. Click on allow custom HTML tags

By following these steps, you will have successfully implemented the Icomm Notification Hub on your website using Google Tag Manager. This implementation will allow you to easily manage notifications and improve communication with your users.

See also: How to activate Lead and ADQ script

Updated on: 09/02/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!