Skip to content

stape-io/hubspot-tag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HubSpot tag for Google Tag Manager Server Side

The HubSpot tag for the server GTM communicates with the HubSpot API.

You can use this tag to:

  • Track custom behavioral events
  • Track ecommerce events
  • Create new contacts
  • Update existing contacts
  • Associate custom objects with contacts
  • Generate Visitor Identification Token cookie for the Chat Widget (e.g. identify logged-in users by passing their name and email to HubSpot for chat functionality, or use identified users for targeted CTAs such as displaying pop-ups only for non-logged-in users).
    • The tag will set the __hs_visitor_id_token cookie with the token value. You must pass this value in your HubSpot Javascript SDK when loading the chat widget. Learn more about the Visitor Identification Token.

How to use HubSpot tag

  1. Add HubSpot tag to the server GTM from the template gallery.
  2. Add HubSpot API Key.
  3. Select event.
  4. Add user email and event information.

Useful Resources

Open Source

HubSpot Tag for GTM Server Side is developed and maintained by Stape Team under the Apache 2.0 license.

GTM Gallery Status

🟢 Listed

Releases

No releases published

Packages

 
 
 

Contributors