Skip to content

Commit

Permalink
Merge pull request #3 from vtex-apps/feat/ab-testing
Browse files Browse the repository at this point in the history
Add `anonymousId` query arguments for A/B testing
  • Loading branch information
rodorgas authored Dec 7, 2023
2 parents a596d89 + 2f5f056 commit f38b415
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [0.2.0] - 2023-12-05

### Added

- Created query parameter `anonymousId` for `sponsoredProducts` used on A/B testing.

## [0.1.0] - 2023-10-24

### Added
Expand Down
4 changes: 4 additions & 0 deletions graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,9 @@ type Query {
Rules for pormoting, demoting, adding or removing products
"""
dynamicRules: [DynamicRuleInput]
"""
Identifier for users, logged in or not. Used for A/B tests.
"""
anonymousId: String
): [SponsoredProduct] @cacheControl(scope: PUBLIC, maxAge: SHORT)
}

0 comments on commit f38b415

Please sign in to comment.