-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unused cookies in Umbraco 10 #10
Comments
Hi - yes, it might make sense if we disabled the cookie based tracking if you don't have the criteria that make use of them enabled. But in the meantime, or perhaps anyway to give most flexibility, you could remove this yourself. It's implemented as a middleware. So I believe if you add this to your startup's
And that should remove it. Please let me know how it goes and at very least I'll make sure to add this to the documentation. |
I've added that to ConfigureServices and I'm getting 'Our.Umbraco.PersonalisationGroups.Core.Middleware.TrackUserActivityMiddleware is inaccessible due to its protection level.' Thanks |
Ah, of course. So unless you resort to reflection hacks, this will need a release. Probably best to add a configuration options that allows you disable the user activity tracking if you aren't using it - I'll look at adding that. |
Nice one, thanks Andy |
I've just pushed 3.2.8 which includes a new configuration value. Setting i.e.:
|
That's awesome, cheers Andy! |
Hi Andy,
I want to remove all the cookies that I don't require so I am using the configuration:
but this isn't working. I am still seeing personalisationGroupsNumberOfVisitsSessionStarted, personalisationGroupsNumberOfVisits, personalisationGroupsPagesViewed.
The only criteria I need are country and querystring but the below doesn't work either:
This is in UmbracoPersonalisationGroups 3.2.7
Thanks
Tony
The text was updated successfully, but these errors were encountered: