@walkeros/web-destination-plausible 0.4.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -10
- package/dist/dev.js +1 -1
- package/dist/dev.js.map +1 -1
- package/dist/dev.mjs +1 -1
- package/dist/dev.mjs.map +1 -1
- package/dist/examples/index.js +24 -18
- package/dist/examples/index.mjs +24 -18
- package/dist/index.browser.js +1 -1
- package/dist/index.es5.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<p align="left">
|
|
2
|
-
<a href="https://
|
|
3
|
-
<img title="elbwalker" src="https://www.
|
|
2
|
+
<a href="https://www.walkeros.io">
|
|
3
|
+
<img title="elbwalker" src="https://www.walkeros.io/img/elbwalker_logo.png" width="256px"/>
|
|
4
4
|
</a>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
@@ -33,20 +33,25 @@ Here's a basic example of how to use the Plausible destination:
|
|
|
33
33
|
import { startFlow } from '@walkeros/collector';
|
|
34
34
|
import { destinationPlausible } from '@walkeros/web-destination-plausible';
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
await startFlow({
|
|
37
|
+
destinations: {
|
|
38
|
+
plausible: {
|
|
39
|
+
code: destinationPlausible,
|
|
40
|
+
config: {
|
|
41
|
+
settings: {
|
|
42
|
+
domain: 'walkeros.io', // Optional, domain of your site as registered
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
},
|
|
41
46
|
},
|
|
42
47
|
});
|
|
43
48
|
```
|
|
44
49
|
|
|
45
50
|
## Configuration
|
|
46
51
|
|
|
47
|
-
| Name | Type | Description | Required | Example
|
|
48
|
-
| -------- | -------- | -------------------------------------------------- | -------- |
|
|
49
|
-
| `domain` | `string` | The domain of your site as registered in Plausible | No | `'
|
|
52
|
+
| Name | Type | Description | Required | Example |
|
|
53
|
+
| -------- | -------- | -------------------------------------------------- | -------- | --------------- |
|
|
54
|
+
| `domain` | `string` | The domain of your site as registered in Plausible | No | `'walkeros.io'` |
|
|
50
55
|
|
|
51
56
|
## Contribute
|
|
52
57
|
|