Find out more about Managed Components here for inspiration and motivation details.
- Make sure you're running node version >=18.
- Install dependencies with
npm i
- Run unit test watcher with
npm run test:dev
Settings are used to configure the tool in a Component Manager config file
writeKey
- You need to create an HTTP API source, and enter the Write Key here. Learn more
callType
- Options are:
- Page - Record page views on your website
- Track - Record the actions your users perform
- Identify - Tie a user to their actions
- Alias - Associate one identity with another identity
- Group - Associate an individual user with a group
event
- Name of the action that a user has performed. See the Event field docs for more details.
name
- Name of the page. For example, most sites have a "Signup" page that can be useful to tag, so you can see users as they move through your funnel.
anonymousId
- A pseudo-unique substitute for a User ID, for cases when you don’t have an absolutely unique identifier. See the Identities docs for more details.
userId
- Unique identifier for the user in your database. See the Identities docs for more details.
previousId
- The existing ID you’ve referred to the user by. It might be an Anonymous ID assigned to that user or a User ID you previously identified them with.
Licensed under the Apache License.
Thanks to everyone contributing in any manner for this repo and to everyone working on Open Source in general.
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!