dequelabs / dequelabs/cauldron

Add GoogleTagManager to Docs Site

Open
#1,919 0 comments 0 reactions 0 assignees View on GitHub
documentation
Dominant language
TypeScript
Stars
127
Forks
31
Avg merge
2d 12h
Merged PRs (30d)
8

Description

Marketing has asked that we implement GTM so they can better understand how outside people are using Cauldron, we would need to include the following script:

```js

(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-T2FM2TZ7');

```

Since Cauldron doesn't currently implement any kind of tracking behaviors, we need to determine if there are any additional things that we would need to include to gain consent (such as a cookie consent banner).

Contributor guide

Open the contributing guide

Research direction

Start by locating the Docs Site entry point and checking how site-wide scripts and any consent or privacy behavior are configured. Confirm the Google Tag Manager requirement and determine whether consent handling is needed; done means the agreed tracking and consent behavior is documented and implemented for the Docs Site.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
analytics, documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.