Comments (6)
I ran into this issue using the React component and was able to solve it by using a passthrough function.
closeBehavior={(categories) => categories}
This sets all the preferences to null
and properly sets the cookie as though all are accepted.
from consent-manager.
Thanks for reporting this! :-) We will prioritize this bug fix ASAP
from consent-manager.
hi, @notfelineit is there any progress on this?
from consent-manager.
@niallzato still getting the issue on 4.3.0. any tips or other dependencies?
from consent-manager.
This is still happening
from consent-manager.
We also ran into this issue with 4.13.1 in the standalone version. We ended up passing @blindman's fix in the params:
container: "#target-container",
writeKey: ...,
shouldRequireConsent: inEU,
bannerContent: bannerContent,
bannerSubContent: bannerSubContent,
preferencesDialogTitle: preferencesDialogTitle,
preferencesDialogContent: preferencesDialogContent,
cancelDialogTitle: cancelDialogTitle,
cancelDialogContent: cancelDialogContent,
closeBehavior: (categories) => {
categories;
},
from consent-manager.
Related Issues (20)
- window.analytics.user().traits() vs tracking-preferences document.cookie HOT 2
- Feature: Allow the change of default categories HOT 3
- Bug: Standealone CSS HOT 1
- 5.8.0 not published on npm HOT 1
- Does segment.com still use this? HOT 2
- Convert to Github Actions HOT 1
- The prop workspaceAddedNewDestinations is true whenever the page is reloaded HOT 5
- [Easy and Important] Get 5.8.0 release out of sync with NPM HOT 2
- Cannot read properties of undefined (reading 'addSourceMiddleware') HOT 3
- Cannot read properties of undefined (reading 'initialized'), at conditionallyLoadAnalytics HOT 4
- Recreate cookie if user has trail linked to their ID on Segment HOT 3
- I can confirm that we can add
- Custom destinations to Essential category but maintaining the N/A value HOT 2
- Cannot read properties of undefined (reading addSourceMiddleware) when Incognito (Google Chrome) HOT 1
- `shouldReload` is ignored sometimes HOT 1
- Consent Manager Builder on Render HOT 6
- Custom analytics events stopped working
- List categories instead of destinations when using ConsentManagerBuilder HOT 3
- `acceptAll` method in `bannerActionsBlock` overridden by `initialPreferences` settings HOT 5
- When using custom categories - it is not possible to create a category with N/A HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from consent-manager.