Analytics


Google Lighthouse
Google Lighthouse is used on our Buyer Experience site to measure the performance of our site over time.
Tracking Web Events with Google Tag Manager

Google Tag Manager

Google Tag Manager (GTM) is a tag management tool that configures web tracking rules, sending data to various analytics and advertisement platforms such as Google Analytics 4, Google Ads, and LinkedIn Ads.

The GTM javascript code is placed in the <head> section across public-facing gitlab.com pages on the following web properties:

  • about.gitlab.com
  • page.gitlab.com
  • learn.gitlab.com
  • docs.gitlab.com
  • gitlab.com (public pages only)
<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-NJXWQL');</script>

Tag

A tag contains the event name from an activity that occurred on the website (e.g. page view, video play, link click, scroll), the destination of the data, and additional information about the event. Each tag contains a trigger that instructs the tag on how and when to fire (e.g. page load, form submission, link click). Optionally, the tag may contain variables to capture additional information about the event (e.g. page name, video title)

Last modified November 17, 2023: Move digital experence files in to place (153d5985)