Adding sitewide Google Analytics or Google Tag Manager to Knowledge BaseSOLVE
Nov 26, 2018 4:30 PM
I've managed to work out how to configure Google Search Console to track a sub-domain in the format https://knowledge.spadesmedia.com submitted a sitemap.
But I was a bit perplexed to find that aside from the HubSpot tracking tag there is no way to add in the GA or GTM container to knowledge base articles.
Not sure if this is an oversight, a bug or a feature request.
Can't seem to find anyone else reporting it.
It would be helpful because we could then create remarketing lists in Google Ads or Facebook (or anywhere else for that matter) where people might have viewed a page or a category.
Anyone worked it out?
|Jim BanksSetup, media buying and support for ecommerce merchants using Shopify who want to leverage the HubSpot Growth Stack.|
HubSpot Gold Partner
Solved! Go to Solution.
Aug 19, 2019 10:31 AM - edited Aug 19, 2019 10:32 AM
I wanted to share this workaround for you to use in order to add the GA to the Knowledgebase. In order for this to work you would need access to the Marketing Hub to be able to edit the specific domain the knowledgebase is hosted on.
Choose the domain here (Settings > Website > Pages > Integrations):
and then toggle the "Integrate with Google Analytics" for the domain the knowledgebase is hosted on.
You can ignore the blue banner with the alert, this does not apply in this case.