Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GA4 snippets to web applications #645

Open
11 of 12 tasks
dbietila opened this issue Jan 23, 2023 · 2 comments
Open
11 of 12 tasks

Add GA4 snippets to web applications #645

dbietila opened this issue Jan 23, 2023 · 2 comments
Assignees
Labels
feature New functionality priority Project priority

Comments

@dbietila
Copy link

dbietila commented Jan 23, 2023

Please add the Google Analytics 4 tag to the following web applications. To do so, install the following tag, immediately after the element:

<!-- Google tag (gtag.js) --> 
<script async src="https://www.googletagmanager.com/gtag/js?id=G-EWT5B3NZ15"></script> <script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-EWT5B3NZ15');
gtag('set', 'content_group', 'XXXXX');
</script>

See below for the 'content_group' values for each:

  • Libguides content_group="guides" [DB]
  • Libcal (includes signups, reservations, lib appointments) content_group="libcal" [DB]
  • digital collections #646
  • VuFind (all pages) content_group="catalog" [BB]
  • SFX Find It pages content_group="link resolver" [MT]
  • Tind/Knowledge@UChicago content_group="knowledge" [Adrian or Cecilia]
  • SFX Ejournal list content_group="ejournals" [MT]
  • ILLiad content_group="illiad" [BB]
  • Aeon content_group="aeon" [BB]
  • DIBS content_group="dibs" [MT]
  • EDS content_group="articlesplus" [DB]
  • Finding Aids "https://www.lib.uchicago.edu/e/scrc/findingaids/" content_group="findingaids" [BB]
@dbietila dbietila added feature New functionality priority Project priority labels Jan 23, 2023
@dbietila
Copy link
Author

dbietila commented Feb 21, 2023

Please add the following tag to Loop pages:

<!-- Google tag (gtag.js) --> 
<script async src="https://www.googletagmanager.com/gtag/js?id=G-7CS8BD4F7F"></script> <script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-7CS8BD4F7F ');
</script>

@bbusenius
Copy link
Member

That's done.

@vitorgomateus vitorgomateus added bug feature New functionality and removed feature New functionality bug labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality priority Project priority
Projects
None yet
Development

No branches or pull requests

4 participants