event API and google tag manager

mathieud
Member

Hello there,

 

I need to use the _hsq.push(["identify" ...]) API (from https://developers.hubspot.com/docs/api/events/tracking-code)

 

Is it possible to do it from within a GTM container ?

If I understand correctly, I would need to push the email address in GTM datalayer, and then pull from the datalayer in this snippet ?

Is that correct ?

 

Anybody doing this way ?

 

 

 

0 Upvotes
1 Reply 1
WendyGoh
HubSpot Employee

Hey @mathieud,

 

You should be able to include the HubSpot identify API with GTM.

 

Here's a similar forum thread in which the implement this function. 

 

Let me know if there's any further questions on this 🙂 

0 Upvotes