@equinor/fusion-framework-module-analytics 0.1.1 → 0.2.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/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @equinor/fusion-framework-module-analytics
2
2
 
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#3849](https://github.com/equinor/fusion-framework/pull/3849) [`7caca57`](https://github.com/equinor/fusion-framework/commit/7caca573584ae4daedfb17e287d0329c2633771a) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - `trackFeature` now has an extra optional argument for passing additional analytics
8
+ data.
9
+
10
+ Example
11
+
12
+ ```typescript
13
+ const trackFeature = useTrackFeature();
14
+
15
+ // Without extra data
16
+ trackFeature("SomeComponent:loaded");
17
+
18
+ // Send additional data
19
+ trackFeature("some:feature:happened", {
20
+ extra: "data",
21
+ foo: "bar",
22
+ });
23
+ ```
24
+
3
25
  ## 0.1.1
4
26
 
5
27
  ### Patch Changes
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '0.1.1';
2
+ export const version = '0.2.0';
3
3
  //# sourceMappingURL=version.js.map