logfit
v0.9.2
Published
Logfit web client
Readme
logfit.js
Logfit Javascript Client
This is a client that will report website visitor data to log.fit.
Setup (Embedding into web page)
<script>
const LogFitConfig = {
"source": "<your source uuid>"
};
</script>
<script src="logfit.min.js"></script>Setup (Node)
const LogFit = require('logfit');
const config = {
"source": "<your source uuid>"
};
const logfit = new LogFit(config);
logfit.report();Release
- Update Changelog with new version
- Update package.json version and run
npm install - Update webpack.config.js version.
- Update client.js version and run
npm run package - Git commit, tag, and push
