Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marketto/analyticshtmlinjector
Command line tool to quick inject Analytic snippet after build and before upload in your CI
https://github.com/marketto/analyticshtmlinjector
command-line-tool continuous-integration google-analytics html-injection nodejs npm-package
Last synced: about 1 month ago
JSON representation
Command line tool to quick inject Analytic snippet after build and before upload in your CI
- Host: GitHub
- URL: https://github.com/marketto/analyticshtmlinjector
- Owner: Marketto
- License: mit
- Created: 2018-03-25T21:42:44.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-26T13:23:03.000Z (over 5 years ago)
- Last Synced: 2024-11-06T18:52:28.739Z (3 months ago)
- Topics: command-line-tool, continuous-integration, google-analytics, html-injection, nodejs, npm-package
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Analytics HTML Injector
[![NPM Version](http://img.shields.io/npm/v/analytics-html-injector.svg?style=flat)](https://www.npmjs.org/package/analytics-html-injector)
[![NPM Downloads](https://img.shields.io/npm/dm/analytics-html-injector.svg?style=flat)](https://npmcharts.com/compare/analytics-html-injector?minimal=true)
[![Dependency status](https://david-dm.org/Marketto/analyticsHtmlInjector.svg)](https://david-dm.org/Marketto/analyticsHtmlInjector)
![Build Status](http://ci.marketto.it/buildStatus/icon?job=Analytics%20HTML%20Injector)
[![LICENSE](https://img.shields.io/badge/licese-MIT-gold.svg)](https://github.com/Marketto/analyticsHtmlInjector/blob/master/LICENSE)
[![Blog](https://img.shields.io/badge/blog-marketto-blue.svg)](http://blog.marketto.it)
[![Buy me a coffee](https://img.shields.io/badge/Ko--fi-donate-blueviolet)](https://ko-fi.com/marketto)Command line tool to quick inject Analytic snippet after build and before upload in your CI
## Installation
```{r, engine='bash', global_install}
npm install analytics-html-injector -g
```## Getting Started
### Base usage with Google Analytics
```{r, engine='bash', run}
analyticsHtmlInjector -G UA-12345-6
```### Custom Input & Output
```{r, engine='bash', run}
analyticsHtmlInjector -G UA-12345-6 -i page.html -o injected.html
```## LICENSE
[MIT License](LICENSE)## AUTHOR
[Marco Ricupero](mailto:[email protected])