intelops / website

This is the repo to manage all the website work, which is being developed using hugo framework.
https://intelops.ai
5 stars 20 forks source link

adding Google Tag Manager to the site #201

Closed devopstoday11 closed 1 year ago

devopstoday11 commented 1 year ago

GTM is a tag management tool for tracking website traffic data for analytics and attribution.  Google Tag Manager (GTM) is a tag management tool wherein we can integrate GA4 and other third-party tools (email marketing tool, linkedin ads, google ads, CMS ecommerce) to set up tracking. Instead of adding all the codes individually, we only need to add GTM code on the website - https://marketingplatform.google.com/about/tag-manager/

https://vilcins.medium.com/how-to-add-google-tag-manager-code-to-your-hugo-website-e0b1c8990f26 -- reference blog.

@tfsojon If I provide our GTM code, could you add it to website and docs sites and test it to ensure it's working fine?

tfsojon commented 1 year ago

@devopstoday11 Sure! Give me the GTM code. example: G-XXXXXXXXXX

FYI : you need to use two different code for two different sites.

devopstoday11 commented 1 year ago

Here is the GTM code for our website purpose. I will get a separate one for the docs site soon. IntelOps GTM Code.txt

@tfsojon

tfsojon commented 1 year ago

@devopstoday11 here it is - https://github.com/intelops/website/pull/205 If you want to change the ID simply update the google_tag_manager value in params

image

devopstoday11 commented 1 year ago

@tfsojon Thank you. I will ask the marketing team to test it.