{"id":17508210,"url":"https://github.com/snowplow/snowplow-javascript-tracker","last_synced_at":"2025-05-12T20:52:31.095Z","repository":{"id":9379262,"uuid":"11238039","full_name":"snowplow/snowplow-javascript-tracker","owner":"snowplow","description":"Snowplow event tracker for client-side and server-side JavaScript. Add analytics to your websites, web apps and servers.","archived":false,"fork":false,"pushed_at":"2025-05-06T13:17:36.000Z","size":12646,"stargazers_count":565,"open_issues_count":92,"forks_count":226,"subscribers_count":49,"default_branch":"master","last_synced_at":"2025-05-08T18:53:27.641Z","etag":null,"topics":["javascript","snowplow","snowplow-javascript-tracker","snowplowanalytics","tracker"],"latest_commit_sha":null,"homepage":"http://snowplowanalytics.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snowplow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2013-07-07T18:38:59.000Z","updated_at":"2025-05-06T13:15:16.000Z","dependencies_parsed_at":"2023-02-19T07:46:06.768Z","dependency_job_id":"423f7d7e-945e-4af8-bb04-29ab159f98a9","html_url":"https://github.com/snowplow/snowplow-javascript-tracker","commit_stats":{"total_commits":1423,"total_committers":73,"mean_commits":"19.493150684931507","dds":0.6226282501756852,"last_synced_commit":"426269ca72e0aa21f455bd3ca401c1944daaf44a"},"previous_names":[],"tags_count":1927,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snowplow%2Fsnowplow-javascript-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snowplow%2Fsnowplow-javascript-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snowplow%2Fsnowplow-javascript-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snowplow%2Fsnowplow-javascript-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snowplow","download_url":"https://codeload.github.com/snowplow/snowplow-javascript-tracker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253821609,"owners_count":21969738,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","snowplow","snowplow-javascript-tracker","snowplowanalytics","tracker"],"created_at":"2024-10-20T04:13:45.274Z","updated_at":"2025-05-12T20:52:31.064Z","avatar_url":"https://github.com/snowplow.png","language":"TypeScript","readme":"# Browser and Node.js analytics for Snowplow\n\n[![actively-maintained]][tracker-classificiation]\n[![Release][release-image]][releases]\n[![License][license-image]](LICENSE)\n[![Build Status][gh-actions-image]][gh-actions]\n[![Saucelabs Test Status][saucelabs-button-image]][saucelabs]\n\n![snowplow-logo](common/media/snowplow_logo.png)\n\nSnowplow 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.\n\n**To find out more, please check out the [Snowplow website][website] and our [documentation][docs].**\n\n## Snowplow JavaScript Trackers Overview\n\nThe Snowplow JavaScript Trackers allow you to add analytics to your websites, web apps and Node.js applications when using a [Snowplow][snowplow] pipeline.\n\nWith these trackers you can collect user event data (page views, e-commerce transactions etc) from the\nclient-side and server-side tiers of your websites and web apps.\n\n**Technical documentation can be found for each tracker in our [Documentation][javascript-docs].**\n\n### @snowplow/browser-tracker (npm)\n\n| Technical Docs                              | Setup Guide                          |\n|---------------------------------------------|--------------------------------------|\n| [![i1][techdocs-image]][tech-docs-browser]  | [![i2][setup-image]][setup-browser]  |\n| [Technical Docs][tech-docs-browser]         | [Setup Guide][setup-browser]         |\n\n### @snowplow/javascript-tracker (tag based)\n\n| Technical Docs                         | Setup Guide                     |\n|----------------------------------------|---------------------------------|\n| [![i3][techdocs-image]][tech-docs-js]  | [![i4][setup-image]][setup-js]  |\n| [Technical Docs][tech-docs-js]         | [Setup Guide][setup-js]         |\n\n### @snowplow/node-tracker (npm)\n\n| Technical Docs                           | Setup Guide                       |\n|------------------------------------------|-----------------------------------|\n| [![i5][techdocs-image]][tech-docs-node]  | [![i6][setup-image]][setup-node]  |\n| [Technical Docs][tech-docs-node]         | [Setup Guide][setup-node]         |\n\n## Maintainers\n\n| Contributing                         |\n|--------------------------------------|\n| ![i7][contributing-image]            |\n| [Contributing](CONTRIBUTING.md)      |\n\n### Maintainer quick start\n\nAssuming [git](https://git-scm.com/downloads), [Node.js 18 - 20](https://nodejs.org/en/download/releases/) are installed.\n\n#### Clone repository\n\n```bash\ngit clone https://github.com/snowplow/snowplow-javascript-tracker.git\n```\n\n#### Install gitleaks\n\nTo commit with safety in the repository, preventing sensitive key leakage, we use [gitleaks](https://github.com/gitleaks/gitleaks). Gitleaks runs as a pre-commit hook making sure it can prevent accidental committing of sensitive data.\n\nTo install gitleaks, you can follow the [getting started](https://github.com/gitleaks/gitleaks) section on the repository.\n\n_For open source users before the update, you might need to re-run `rush install` to update your git hooks from source._\n\n:warning: To disable gitleaks check, you can run your commit command with the `SKIP=gitleaks` variable. e.g. `SKIP=gitleaks git commit -m \"Unsafe commit\"`.\n\n#### Building\n\n```bash\nnpm install -g @microsoft/rush\nrush update\nrush build\n```\n\n## Testing\n\nTo run unit tests:\n\n```bash\nrush test\n```\n\nTo run e2e browser tests (locally):\n\n- Add `127.0.0.1 snowplow-js-tracker.local` to your `hosts` file:\n\n```bash\ncd trackers/javascript-tracker/\nrushx test:e2e:local\n```\n\n[![Sauce Labs Test Status][saucelabs-matrix-image]][saucelabs]\n\n## Copyright and license\n\nLicensed and distributed under the [BSD 3-Clause License](LICENSE) ([An OSI Approved License][osi]).\n\nCopyright (c) 2022 Snowplow Analytics Ltd, 2010 Anthon Pang.\n\nAll rights reserved.\n\n[website]: https://snowplowanalytics.com\n[snowplow]: https://github.com/snowplow/snowplow\n[docs]: https://docs.snowplowanalytics.com/\n[docker-install]: https://docs.docker.com/install/\n[javascript-docs]: https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/javascript-trackers/\n[tech-docs-browser]: https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/javascript-trackers/browser-tracker/browser-tracker-v3-reference/\n[setup-browser]: https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/javascript-trackers/browser-tracker/quick-start-guide/\n[tech-docs-js]: https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/javascript-trackers/javascript-tracker/javascript-tracker-v3/\n[setup-js]: https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/javascript-trackers/javascript-tracker/web-quick-start-guide/\n[tech-docs-node]: https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/javascript-trackers/node-js-tracker/node-js-tracker-v3/\n[setup-node]: https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/javascript-trackers/node-js-tracker/node-js-tracker-v3/setup/\n[techdocs-image]: https://d3i6fms1cm1j0i.cloudfront.net/github/images/techdocs.png\n[setup-image]: https://d3i6fms1cm1j0i.cloudfront.net/github/images/setup.png\n[contributing-image]: https://d3i6fms1cm1j0i.cloudfront.net/github/images/contributing.png\n[release-image]: https://img.shields.io/github/v/release/snowplow/snowplow-javascript-tracker?sort=semver\n[releases]: https://github.com/snowplow/snowplow-javascript-tracker/releases\n[gh-actions]: https://github.com/snowplow/snowplow-javascript-tracker/actions\n[gh-actions-image]: https://github.com/snowplow/snowplow-javascript-tracker/workflows/Build/badge.svg\n[saucelabs]: https://saucelabs.com/u/snowplow\n[saucelabs-button-image]: https://img.shields.io/static/v1?style=flat\u0026label=Sauce%20Labs\u0026message=Tested\u0026color=e2231a\u0026logo=sauce-labs\n[saucelabs-matrix-image]: https://app.saucelabs.com/browser-matrix/snowplow.svg\n[osi]: https://opensource.org/licenses/BSD-3-Clause\n[license-image]: https://img.shields.io/npm/l/@snowplow/javascript-tracker\n[tracker-classificiation]: https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/tracker-maintenance-classification/\n[actively-maintained]: https://img.shields.io/static/v1?style=flat\u0026label=Snowplow\u0026message=Actively%20Maintained\u0026color=6638b8\u0026labelColor=9ba0aa\u0026logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAeFBMVEVMaXGXANeYANeXANZbAJmXANeUANSQAM+XANeMAMpaAJhZAJeZANiXANaXANaOAM2WANVnAKWXANZ9ALtmAKVaAJmXANZaAJlXAJZdAJxaAJlZAJdbAJlbAJmQAM+UANKZANhhAJ+EAL+BAL9oAKZnAKVjAKF1ALNBd8J1AAAAKHRSTlMAa1hWXyteBTQJIEwRgUh2JjJon21wcBgNfmc+JlOBQjwezWF2l5dXzkW3/wAAAHpJREFUeNokhQOCA1EAxTL85hi7dXv/E5YPCYBq5DeN4pcqV1XbtW/xTVMIMAZE0cBHEaZhBmIQwCFofeprPUHqjmD/+7peztd62dWQRkvrQayXkn01f/gWp2CrxfjY7rcZ5V7DEMDQgmEozFpZqLUYDsNwOqbnMLwPAJEwCopZxKttAAAAAElFTkSuQmCC\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowplow%2Fsnowplow-javascript-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnowplow%2Fsnowplow-javascript-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowplow%2Fsnowplow-javascript-tracker/lists"}