Blog, Website & Page Publishing

DavideB
Member

How to install on Wordpress using a script, without using the official plugin

SOLVE

Hi,

 

I have Hubspot CRM integrated with Wordpress websites using the official plugin and it's working great, BUT this solution is not compliant with cookie laws because Hubspot installs its cookies right away and I have no way to block it.

 

To my knowledge (I'm a good freelance marketer, but no coder) I could be able to block it with the Iubenda banner (or other third party solution) but only if I resorted to installing Hubspot via a script. Where can I find it? I have chatted with customer support, but the only thing the lady could do was pointing me to the community, so here I am...

Also if you have a better solution, feel free to share as I would be very grateful.

 

Thanks in advance for any useful suggestions.

0 Upvotes
2 Accepted solutions
trevorjones71
Solution
Key Advisor

How to install on Wordpress using a script, without using the official plugin

SOLVE

Hi @DavideB and thanks for the Tag @sharonlicari!

 

You'll find the tracking script in Settings>Tracking and Analytics>Tracking Code.  Just click the gear icon in the top right and then use the menu on the left to navigate to the code, and then you should be able to copy and paste the script in the body of your page template, just before the </body> tag.

 

You can also use Google Tage Manager and implement your tracking code using that.

 

Hope this helps!

 

-Trevor

If my post resolves your issue, please accept my post as a solution.

View solution in original post

Mike_Eastwood
Solution
Key Advisor | Gold Partner
Key Advisor | Gold Partner

How to install on Wordpress using a script, without using the official plugin

SOLVE

Hi @DavideB 

 

As @trevorjones71 mentioned you can install the tracking code in your footer.

 

BUT that will have the same outcome as the WordPress Plugin (and it will be more difficult to maintain).

 

HubSpot is GDPR Compliant out of the box – here's more information.

 

Personally I recommend the WordPress Plugin with the GDPR Settings enabled.

 

Have fun

Mike

View solution in original post

3 Replies 3
Mike_Eastwood
Solution
Key Advisor | Gold Partner
Key Advisor | Gold Partner

How to install on Wordpress using a script, without using the official plugin

SOLVE

Hi @DavideB 

 

As @trevorjones71 mentioned you can install the tracking code in your footer.

 

BUT that will have the same outcome as the WordPress Plugin (and it will be more difficult to maintain).

 

HubSpot is GDPR Compliant out of the box – here's more information.

 

Personally I recommend the WordPress Plugin with the GDPR Settings enabled.

 

Have fun

Mike

sharonlicari
Community Manager
Community Manager

How to install on Wordpress using a script, without using the official plugin

SOLVE

Hey @DavideB 

 

Welcome to the Community!

 

I'll invite a few experts to this conversation that might have some ideas to share with you.

 

Hey @Mike_Eastwood @trevorjones71 @Phil_Vallender what would you recommend in this case?

 

Thanks

Sharon


¿Sabías que la Comunidad está disponible en Español?
¡Participa hoy en conversaciones en el idioma de tu preferencia,cambiando el idioma en tus configuraciones!

Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !


trevorjones71
Solution
Key Advisor

How to install on Wordpress using a script, without using the official plugin

SOLVE

Hi @DavideB and thanks for the Tag @sharonlicari!

 

You'll find the tracking script in Settings>Tracking and Analytics>Tracking Code.  Just click the gear icon in the top right and then use the menu on the left to navigate to the code, and then you should be able to copy and paste the script in the body of your page template, just before the </body> tag.

 

You can also use Google Tage Manager and implement your tracking code using that.

 

Hope this helps!

 

-Trevor

If my post resolves your issue, please accept my post as a solution.