Skip to content

Commit

Permalink
Evaluate formFactors client hints for device detecion (#22549)
Browse files Browse the repository at this point in the history
* Evaluate form factor client hints for device detecion

* build tracker js

* Adjust test

* update php tracker
  • Loading branch information
sgiehl authored Oct 14, 2024
1 parent edded96 commit 8ee37b8
Show file tree
Hide file tree
Showing 10 changed files with 68 additions and 19 deletions.
10 changes: 5 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/piwik.js
Original file line number Diff line number Diff line change
Expand Up @@ -3183,7 +3183,7 @@ if (typeof window.Matomo !== 'object') {
// currently this methods simply returns the requested values through a Promise
// In later versions it might require a user permission
navigatorAlias.userAgentData.getHighEntropyValues(
['brands', 'model', 'platform', 'platformVersion', 'uaFullVersion', 'fullVersionList']
['brands', 'model', 'platform', 'platformVersion', 'uaFullVersion', 'fullVersionList', 'formFactors']
).then(function(ua) {
var i;
if (ua.fullVersionList) {
Expand Down
2 changes: 1 addition & 1 deletion js/piwik.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion matomo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8ee37b8

Please sign in to comment.