1.0.1 • Published 6 months ago

install-gtag v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

install-gtag

This script is a convenient way to insert the default Google Analytics gtag script.

  1. It can be written in one line.
  2. It deletes itself after it has completed its task.

Replace <GTAG ID> in the HTML script tag under "usage" with your gtag ID.

usage

<script data-gtag-id="<GTAG ID>" src="https://cdn.jsdelivr.net/npm/install-gtag" defer></script>
1.0.1

6 months ago

1.0.0

6 months ago