Skip to content

Instantly share code, notes, and snippets.

Devin Hartman mrdevin

  • Berlin Germany
View GitHub Profile
View google-tagmanager-webpack-plugin.js
const CODE = `<!-- Global site tag (gtag.js) - Google Analytics -->
<script defer src="https://www.googletagmanager.com/gtag/js?id={{ID}}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ID}}');
</script>`;
class GoogleTagmanagerPlugin {
View keybase.md

Keybase proof

I hereby claim:

  • I am mrdevin on github.
  • I am mrdevin (https://keybase.io/mrdevin) on keybase.
  • I have a public key whose fingerprint is E713 6A86 F2B5 0702 5C75 BA5A E7A9 1E65 148C 1A45

To claim this, I am signing this object:

You can’t perform that action at this time.