Skip to content

add DNT and X_DO_NOT_TRACK header support #32

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

Merged
merged 10 commits into from
Apr 10, 2018
Merged

add DNT and X_DO_NOT_TRACK header support #32

merged 10 commits into from
Apr 10, 2018

Conversation

level420
Copy link
Contributor

@level420 level420 commented Apr 5, 2018

This is a replacement for #24 which adds forwarding of the DNT and X_DO_NOT_TRACK header support.

Both headers are forwarded separately which allows matomo to handle them independently.
Tests are added for both headers.

@level420
Copy link
Contributor Author

level420 commented Apr 5, 2018

@mattab I think the tests are failing but are unrelated to the PR. Could you please have a look? Thank you.

@level420
Copy link
Contributor Author

level420 commented Apr 5, 2018

@mattab additionally the php versions which are tested seem to be outdated. there is a test for php 5.4 and 5.5 which are EOL and there are not tests for 7.1 or 7.2. I'd suppose changing the test envs to 5.6, 7.1 and 7.2

@level420
Copy link
Contributor Author

level420 commented Apr 9, 2018

I've disable the DNT specific tests again, as I now understood that the answer from piwik.php does NOT include the DNT headers, as piwik.php does only forward them to matomo without any trace in the answer,
So I don't understand how the tests for this situation supposed to be.
@mattab I could need some help here.

@mattab mattab added this to the Current sprint milestone Apr 9, 2018
@diosmosis
Copy link
Member

Thanks for the PR @level420 , made a couple tweaks to it based on matt's review & merging now.

@diosmosis diosmosis merged commit 7d4d1a1 into matomo-org:master Apr 10, 2018
@innocraft-automation innocraft-automation removed this from the Current sprint milestone Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants