Skip to content

Commit 10d409b

Browse files
update node example
1 parent 771c2b9 commit 10d409b

File tree

1 file changed

+1
-1
lines changed
  • src/feature-management-applicationinsights-node

1 file changed

+1
-1
lines changed

src/feature-management-applicationinsights-node/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const featureManager = new FeatureManager(provider, {onFeatureEvaluated: publish
2626
featureManager.getVariant("TestFeature", {userId : "<TARGETING_ID>"}).then((variant) => { /* do something*/ });
2727

2828
// Emit a custom event with targeting id attached.
29-
trackEvent(appInsights.defaultClient, "<TARGETING_ID>", {name: "TestEvent"});
29+
trackEvent(appInsights.defaultClient, "<TARGETING_ID>", {name: "TestEvent", properties: {"Tag": "Some Value"}});
3030
```
3131

3232
## Contributing

0 commit comments

Comments
 (0)