Bringing Google Tag Manager's data layer variables into HubSpot
SOLVE
Hi all!
We are using Google Tag Manager on our website's acquisition funnel in order to bring some data into Google Analytics.
I'm wondering: can I bring these variables also inside defined HubSpot's custom properties?
For example:
- user A begings the onboarding funnel
- I have "procedureId" both on HubSpot's contact and in data layer on website: maybe I can use this one to match the user and bring other data in? i.e. gclid, amount request, etc
- You can't add json / embed code into the custom properties. -If you want to add code via api then try with this JSON.stringify("{'id':'123', 'age' : 10}")
Bringing Google Tag Manager's data layer variables into HubSpot
SOLVE
Hey there. We use our own developement - Google Tag Manager tag to track all the needed data and inject them into the non Hubspot form hidden fields (to be still tracked by HubSpot). Btw, if you want to track offline conversions/sales, than GA CID is by far not a single parameter you need to send to GA in order to bypass its filter as well as to send a correct IP (geo) or not a server, but a user.
- You can't add json / embed code into the custom properties. -If you want to add code via api then try with this JSON.stringify("{'id':'123', 'age' : 10}")