https://github.com/unlyed/utils-googletag
Utils for Google Tag Manager
https://github.com/unlyed/utils-googletag
Last synced: 8 months ago
JSON representation
Utils for Google Tag Manager
- Host: GitHub
- URL: https://github.com/unlyed/utils-googletag
- Owner: UnlyEd
- License: mit
- Created: 2019-01-08T15:18:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-03-09T23:33:59.000Z (over 6 years ago)
- Last Synced: 2025-03-03T01:08:22.828Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 184 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.com/UnlyEd/utils-googletag)
[](https://codeclimate.com/github/UnlyEd/utils-googletag/maintainability)
[](https://codeclimate.com/github/UnlyEd/utils-googletag/test_coverage)
[](https://snyk.io/test/github/UnlyEd/utils-googletag?targetFile=package.json)
# Utils Googletag
This project is a transversal project, helpers for google tag manager
- [Getting started](#getting-started)
- [API](#api)
- [Contributing](#contributing)
* [Getting started](#getting-started-1)
* [Test](#test)
* [Releasing and publishing](#releasing-and-publishing)
- [License](#license)
- [Vulnerability disclosure](#vulnerability-disclosure)
- [Contributors and maintainers](#contributors-and-maintainers)
- [**[ABOUT UNLY]**](#about-unly-)
## Getting started
npm or yarn
```
npm install @unly/utils-googletag
```
Use:
```
const { gaPageview, initializeAsHTML, convertTrackingIDToGTag } = require('@unly/utils-googletag');
```
## API
[API](./API.md)
---
## Contributing
We gladly accept PRs, but please open an issue first so we can discuss it beforehand.
### Getting started
```
yarn start # Shortcut - Runs linter + build + tests in concurrent mode (watch mode)
OR run each process separately for finer control
yarn lint
yarn build
yarn test
```
### Test
```
yarn test # Run all tests, interactive and watch mode
yarn test:once
yarn test:coverage
```
### Releasing and publishing
```
yarn releaseAndPublish # Shortcut - Will prompt for bump version, commit, create git tag, push commit/tag and publish to NPM
yarn release # Will prompt for bump version, commit, create git tag, push commit/tag
npm publish # Will publish to NPM
```
## License
MIT
# Vulnerability disclosure
[See our policy](https://github.com/UnlyEd/Unly).
---
# Contributors and maintainers
This project is being maintained by:
- [Unly] Ambroise Dhenain ([Vadorequest](https://github.com/vadorequest)) **(active)**
Thanks to our contributors:
- Anthony Troupenat ([Fukoyamashisu](https://github.com/Fukoyamashisu))
---
> [Unly](https://unly.org) is a socially responsible company, fighting inequality and facilitating access to higher education.
> Unly is committed to making education more inclusive, through responsible funding for students.
We provide technological solutions to help students find the necessary funding for their studies.
We proudly participate in many TechForGood initiatives. To support and learn more about our actions to make education accessible, visit :
- https://twitter.com/UnlyEd
- https://www.facebook.com/UnlyEd/
- https://www.linkedin.com/company/unly
- [Interested to work with us?](https://jobs.zenploy.io/unly/about)
Tech tips and tricks from our CTO on our [Medium page](https://medium.com/unly-org/tech/home)!
#TECHFORGOOD #EDUCATIONFORALL