@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  <p align="left">
2
- <a href="https://elbwalker.com">
3
- <img title="elbwalker" src="https://www.elbwalker.com/img/elbwalker_logo.png" width="256px"/>
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
- const { elb } = await startFlow();
37
-
38
- elb('walker destination', destinationPlausible, {
39
- settings: {
40
- domain: 'elbwalker.com', // Optional, domain of your site as registered
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 | `'elbwalker.com'` |
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