CMS Development

SHelfenstein
Member

Adding Google Tag Manager into meetings.hubspot.com for tracking reason

SOLVE

Hello,

 

I'm using this site for meetings purposes:

https://meetings.hubspot.com/helfenstein-kevin/strategiegesprach-kevin-helfenstein?embed=true&parent...

 

I would like to know if its possible to insert the Google Tag Manager code into a meetings.hubspot.com code directly? 

 

I mean this codes:

 

-- in <head> --

<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-XXXXXXX');</script>
<!-- End Google Tag Manager -->

 

-- and after the opening <body> --

 

<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-XXXXXXX"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

 

I want to track mostly click's on that site. Is it possible?

 

Thanks in advance.

With best regards.

 

0 Upvotes
1 Accepted solution
Indra
Solution
Guide | Elite Partner
Guide | Elite Partner

Adding Google Tag Manager into meetings.hubspot.com for tracking reason

SOLVE

Hi @SHelfenstein,

 

The meeting tool from HubSpot is a tool that can't be edit by code and has limited options for styling.

Therefor it's not possible to add external script to it.

 

An alternative is to embed the meetings page onto a custom site as a iframe. Then you can track that page.

 

You can also submit an idea on the HubSpot forum for requesting a new functionality.

 

Best,

Indra


Indra Pinsel - Front-end developer - Bright Digital
Did my answer solve your issue? Help the community by marking it as the solution.

View solution in original post

2 Replies 2
Indra
Solution
Guide | Elite Partner
Guide | Elite Partner

Adding Google Tag Manager into meetings.hubspot.com for tracking reason

SOLVE

Hi @SHelfenstein,

 

The meeting tool from HubSpot is a tool that can't be edit by code and has limited options for styling.

Therefor it's not possible to add external script to it.

 

An alternative is to embed the meetings page onto a custom site as a iframe. Then you can track that page.

 

You can also submit an idea on the HubSpot forum for requesting a new functionality.

 

Best,

Indra


Indra Pinsel - Front-end developer - Bright Digital
Did my answer solve your issue? Help the community by marking it as the solution.
Jaycee_Lewis
Community Manager
Community Manager

Adding Google Tag Manager into meetings.hubspot.com for tracking reason

SOLVE

Thanks, @Indra 🙌

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot