1.0.3 • Published 6 years ago
dmpg-utils v1.0.3
DMPG Utils Library
A utility library including the commonly used methods within DMPG.
Check the ./src
folder for the list of functions.
Quick Start
<!-- In the HTML's header -->
<script src="http://unpkg.com/dmpg-utils"></script>
<script>
dmpg.sayHi(); // hi from the dmpg
</script>
Use in Google Tag Manager
To use the same function in GTM without requesting the library from the cloud, create a JavaScript Custom Variable with the same name and copy the function
section:
Example: