You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a use-at-your-own-risk super-lightweight javascript SDK for use with RudderStack or Segment (and maybe works with others). Minimal functionality, intentionally so. Goal is to load and run super fast to only serverside destinations (mostly data warehouse)
4
+
5
+
### Does
6
+
- Support standard (`page`, `track`, `identify`, `group`) APIs
7
+
- Handle retries
8
+
- Use 1st party (client set) cookies for `anonymousId`, `userId`, and `traits`
9
+
- Use RudderStack or Segment cookies if they exist
10
+
- Send to any cloud mode (server-to-server) destination
11
+
12
+
### Does not
13
+
- Support device mode (client-side) integrations
14
+
- Handle sessions
15
+
- Handle consent
16
+
- Come with any support (but you can make a PR)
17
+
18
+
## Setup
19
+
Run your install
20
+
`npm install`
21
+
22
+
Normal tasks in `package.json` include:
23
+
24
+
`npm run build` to build from src
25
+
`npm test` to run test suite (it's thin for now)
26
+
27
+
## Usage
28
+
Install and customize and build whatever you want, or you can use the most recent from CDN:
29
+
`https://d1naog1jhl3jaq.cloudfront.net/tt.js`
30
+
31
+
To use on your website:
32
+
```
33
+
A snippet will go here
34
+
Eventually
35
+
```
36
+
37
+
Use your own RudderStack or Segment `writeKey` and `dataPlaneUrl` in the `init` and you're off to the races with the standard API spec.
0 commit comments