Sending Data to Google Analytics

  • Updated

Send training data from your Skilljar training site directly to Google Analytics via the Code Snippets section on the Themeing page of your Skilljar dashboard.

For more information about adding analytics and tracking codes, please see Adding Web Analytics, Conversion Tracking, Completion Tracking or Custom Javascript.

Google Analytics Tracking ID


You can add a Google Analytics (GA) Universal Analytics (UA) Tracking ID into the "Google Analytics Tracking ID" field of your theme and Skilljar will insert the standard GA tracking code onto every page on your domain that your theme is loading on.
  • Note: This will only Load on your Custom Domain URL pages (for example. ) and this will not load on the domain

Universal Analytics is being deprecated on July 1, 2023. Any customer using GA3 and below will need to update their GA instance.


We currently don't support the G-XXXX-Y formatted codes in our Google Analytics Tracking ID section. Instead, please add your G-XXXX-Y formatted code to the snippet below by replacing TAG_ID on lines 1 and 6. After formatting the general tracking snippet, please add it to your theme's Analytics Tracking Code Snippet section.
<!-- Global Head Snippet -->
<script async src=""></script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'TAG_ID');
For more information on the difference between GA3 and GA4, please see Google's support article.

Was this article helpful?

0 out of 0 found this helpful