Code Monkey home page Code Monkey logo

behavioral-tracker's Introduction

Browser and Node.js analytics

actively-maintained Release License Build Status Saucelabs Test Status

snowplow-logo

Snowplow is a scalable open-source platform for rich, high quality, low-latency data collection. It is designed to collect high quality, complete behavioral data for enterprise business.

To find out more, please check out the Snowplow website and our documentation.

Snowplow JavaScript Trackers Overview

The Snowplow JavaScript Trackers allow you to add analytics to your websites, web apps and Node.js applications when using a Snowplow pipeline.

With these trackers you can collect user event data (page views, e-commerce transactions etc) from the client-side and server-side tiers of your websites and web apps.

Technical documentation can be found for each tracker in our Documentation.

@snowplow/browser-tracker (npm)

Technical Docs Setup Guide
i1 i2
Technical Docs Setup Guide

@snowplow/javascript-tracker (tag based)

Technical Docs Setup Guide
i3 i4
Technical Docs Setup Guide

@snowplow/node-tracker (npm)

Technical Docs Setup Guide
i5 i6
Technical Docs Setup Guide

Maintainers

Contributing
i7
Contributing

Maintainer quick start

Assuming git, Node.js 14 or 16 are installed.

Clone repository

git clone https://github.com/snowplow/snowplow-javascript-tracker.git

Install gitleaks

To commit with safety in the repository, preventing sensitive key leakage, we use gitleaks. Gitleaks runs as a pre-commit hook making sure it can prevent accidental committing of sensitive data.

To install gitleaks, you can follow the getting started section on the repository.

For open source users before the update, you might need to re-run rush install to update your git hooks from source.

โš ๏ธ To disable gitleaks check, you can run your commit command with the SKIP=gitleaks variable. e.g. SKIP=gitleaks git commit -m "Unsafe commit".

Building

npm install -g @microsoft/rush
rush update
rush build

Testing

To run unit tests:

rush test

To run e2e browser tests (locally):

  • Add 127.0.0.1 snowplow-js-tracker.local to your hosts file:
cd trackers/javascript-tracker/
rushx test:e2e:local

Sauce Labs Test Status

Copyright and license

Licensed and distributed under the BSD 3-Clause License (An OSI Approved License).

Copyright (c) 2022 Snowplow Analytics Ltd, 2010 Anthon Pang.

All rights reserved.

behavioral-tracker's People

Contributors

fblundun avatar alexanderdean avatar github-actions[bot] avatar igneel64 avatar mhadam avatar chuwy avatar jbeemster avatar matus-tomlein avatar greg-el avatar benfradet avatar rgabo avatar peel avatar colmsnowplow avatar jamessnowplow avatar adatzer avatar jethron avatar jack-keene avatar dependabot[bot] avatar murphybob avatar nagyadam2092 avatar leipert avatar mmathias01 avatar mtibben avatar philipherrmann avatar rvetere avatar rcs avatar samseabourn avatar stephenhonor avatar steve-gh avatar toddbluhm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.