Skip to content
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

Exposing more cookie methods in tracker: methods setSessionCookie, getCookie, hasCookies, getCookieDomain, getCookiePath, and getSessionCookieTimeout #11665

Merged
merged 2 commits into from May 5, 2017

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented May 5, 2017

Those methods are useful for plugins to not having to re-implement this logic and to make sure to respect configured domains etc.

I removed a method again that I added yesterday (areCookiesEnabled()) and replaced it with better method hasCookies() which also checks if browser has cookies enabled.

@tsteur tsteur added c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. Needs Review PRs that need a code review labels May 5, 2017
@tsteur tsteur added this to the 3.0.4 milestone May 5, 2017
@tsteur tsteur merged commit 73568e7 into 3.x-dev May 5, 2017
@tsteur tsteur deleted the cookiemethods branch May 5, 2017 22:08
@mattab mattab changed the title Exposing more cookie methods in tracker Exposing more cookie methods in tracker: methods setSessionCookie, getCookie, hasCookies, getCookieDomain, getCookiePath, and getSessionCookieTimeout May 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant