https://github.com/dataform-co/dataform-snowplow
https://github.com/dataform-co/dataform-snowplow
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/dataform-co/dataform-snowplow
- Owner: dataform-co
- License: mit
- Created: 2019-12-23T09:40:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-10T21:50:55.000Z (about 2 years ago)
- Last Synced: 2025-01-12T05:11:21.916Z (over 1 year ago)
- Language: JavaScript
- Size: 23.4 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dataform-snowplow
Common data models for snowplow data, including page views, sessions and users.
## Install the package
TODO
## Configure the package
Create a new JS file in your `definitions/` folder and create the snowplow tables with the following example:
```js
const snowplow = require("@dataform/snowplow");
snowplow({
// the name of your snowplow schema
snowplowSchema: "atomic",
// heartbeat interval setting from the javascript tracker
heartBeatSeconds: 10,
// minimumVisitLength setting from the javascript tracker
minimumVisitLengthSeconds: 30,
// Default configuration applied to all produced datasets.
defaultConfig: {
schema: "snowplow_package_example",
tags: ["snowplow"],
type: "view"
}
});
```