Google Tag Manager templates for Hum Beacons

 

Hum Beacon

  1. Download the template
  2. Navigate to your Tag Manager Account and Workspace at tagmanager.google.com
  3. Click Templates
  4. Click New
  5. Click the 3 dots in the top right
  6. Select Import
  7. Choose the template from step 1
  8. Click Save
  9. Close the template Editor
  10. Select Tags
  11. Select New
  12. Click Choose a Tag Type
  13. Select Hum Beacon (under custom)
  14. Add your fields
    1. ClientShortName: This will be the client part of client.hum.works/api. So if your Hum instance is usa.hum.works, then you would use usa.
    2. API Key is your Public Api Key
    3. Content Source is the identifier for the site that is being tracked (e.g. “cms” or “lms”).
      1. It is important that the content source be unique for each subdomain being tracked. Hum uses the content source in combination with a content id (usually derived from the page’s path) to create a unique content record in Hum. So if you were to have www.hum.works/help and blog.hum.works/help but both had the same content source of “hum”, all data for both help pages (such as pageviews or score) would be gathered under 1 content record in Hum: hum_help. In this instance www.hum.works should have a source like humwww and blog.hum.works should have a source like humblog.
    4. Cookie Domain will be the domain of the site. Ideally this will be the least specific domain possible. e.g. If you own www.hum.works and blog.hum.works, the cookie domain for both should be *.hum.works.
  15. Configure Your Trigger
    1. If you are not running a cookie consent manager, this will be pageview. If you are, please refer to your Cookie Consent Manager’s documentation of how to configure the trigger for the category in which you’ve placed Hum.

Hum Cookieless Beacon

If you are running a cookie consent manager, you will also want to install Hum’s Cookieless Beacon. This enables Hum to serve Content Recommendations to people who do not accept cookies using only local information.

  1. Download the template
  2. Navigate to your Tag Manager Account and Workspace at tagmanager.google.com
  3. Click Templates
  4. Click New
  5. Click the 3 dots in the top right
  6. Select Import
  7. Choose the template from step 1
  8. Click Save
  9. Close the template Editor
  10. Select Tags
  11. Select New
  12. Click Choose a Tag Type
  13. Select Hum Cookieless Beacon (under custom)
  14. Add your fields (Note: These fields will be the same values as for the Hum Beacon above)
    1. ClientShortName: This will be the client part of client.hum.works/api
    2. API Key is your Public Api Key
    3. Content Source is the identifier for the site that is being tracked (e.g. “cms” or “lms”) 
  15. Configure Your Trigger
    1. This trigger should be fired when the category that Hum is in has not been accepted. Please refer to your Cookie Consent Manager’s documentation of how to configure this trigger.