Skip to content

Commit

Permalink
Revert "fix(storefront): BCTHEME-1368 remove tracking-preferences coo…
Browse files Browse the repository at this point in the history
…kie (#17)" (#18)
  • Loading branch information
bc-alexsaiannyi authored Mar 13, 2023
1 parent cc46ed8 commit acfa3cd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

### Added

- Removed tracking-preferences cookie in favour of bc_consent cookie. [#17](https://github.com/bigcommerce/consent-manager/pull/17)
- Fixed Consent Manager Dialog styles for better positioning on mobile devices. [#16](https://github.com/bigcommerce/consent-manager/pull/16)
- Added custom event when consent preferences are changed [#8](https://github.com/bigcommerce/consent-manager/pull/8)
- Added styles for consent banner buttons for mobiles [#7](https://github.com/bigcommerce/consent-manager/pull/7)
Expand Down
5 changes: 0 additions & 5 deletions src/consent-manager-builder/preferences.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,4 @@ export function savePreferences({
destinationPreferences,
customPreferences
})
// NOTE: bc-consent cookie is being used for the same purpose
cookies.remove(COOKIE_KEY, {
expires: COOKIE_EXPIRES,
domain
})
}

0 comments on commit acfa3cd

Please sign in to comment.