Skip to content

Commit

Permalink
chore: update CHANGELOG.md [skip-ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
softvar committed Jun 21, 2024
1 parent a8a4b25 commit dae28bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
```javascript
{
id: 'user-id', // MANDATORY
ip: '1.2.3.4', // OPTIONAL - required for user targeting
ua: '...', // OPTIONAL - required for user targeting
other_attributes: '...', // OPTIONAL - required for user targeting
ipAddress: '1.2.3.4', // OPTIONAL - required for user targeting
userAgent: '...', // OPTIONAL - required for user targeting
// For pre-segmentation in campaigns
customVariables: {
price: 300
// ...
}
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const isFlagEnabled = getFlag.isEnabled();
const intVar = getFlag.getVariable('int_variable_key');

// track event
vwoClient.trackEvent('addToCart', userContext, eventProperties);
vwoClient.trackEvent('add_to_cart', userContext, eventProperties);
```

### Development Scripts
Expand Down

0 comments on commit dae28bc

Please sign in to comment.