0.0.16 • Published 8 months ago

tinfoil v0.0.16

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

Tinfoil Analytics Client

A privacy-preserving web analytics solution using the Distributed Aggregation Protocol (DAP). Collects anonymous metrics while ensuring user privacy through secure aggregation.

Quick Start

Add the script tag to your HTML:

<script async src="https://js.tinfoil.sh" data-param="your.domain.com"></script>

For custom event tracking, add the tinfoil-event-name class:

<button class="tinfoil-event-name=Button+Click">Click Me</button>

Development

To run the project locally, use the following commands:

# Install dependencies
npm install

# Build the project
npm run build

# Run unit tests
npm run test

# Run end-to-end tests
npm run test:e2e

Publishing

  1. Bump the version in package.json:
"version": "0.0.XX"
  1. Build the package:
npm run build
  1. Publish the package:
npm publish
  1. Go to the jsdelivr repo and follow the README there to update the hosted version at js.tinfoil.sh.
0.0.16

8 months ago

0.0.15

9 months ago

0.0.14

10 months ago

0.0.13

10 months ago

0.0.12

10 months ago

0.0.11

10 months ago

0.0.10

12 months ago

0.0.9

12 months ago

0.0.8

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago