Skip to content

Add global Matomo _paq click tracking with backend-driven component targeting - #2013

Draft
sebastianthulin with Copilot wants to merge 6 commits into
mainfrom
copilot/add-matomo-support
Draft

Add global Matomo _paq click tracking with backend-driven component targeting#2013
sebastianthulin with Copilot wants to merge 6 commits into
mainfrom
copilot/add-matomo-support

test(matomo): clarify backend targeting assertion

c682509
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 5, 2026 in 42s

Annotations

Check warning on line 92 in assets/source/js/matomoTracking.test.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=helsingborg-stad_Municipio&issues=AZ34SAyTgBmgoU5Fb4vc&open=AZ34SAyTgBmgoU5Fb4vc&pullRequest=2013

Check warning on line 19 in assets/source/js/matomoTracking.test.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=helsingborg-stad_Municipio&issues=AZ34SAyTgBmgoU5Fb4vb&open=AZ34SAyTgBmgoU5Fb4vb&pullRequest=2013

Check warning on line 111 in assets/source/js/matomoTracking.test.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=helsingborg-stad_Municipio&issues=AZ34mnmcm4GnQoJwPLYL&open=AZ34mnmcm4GnQoJwPLYL&pullRequest=2013

Check warning on line 102 in assets/source/js/matomoTracking.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=helsingborg-stad_Municipio&issues=AZ34SA3-gBmgoU5Fb4vh&open=AZ34SA3-gBmgoU5Fb4vh&pullRequest=2013

Check warning on line 123 in assets/source/js/matomoTracking.test.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=helsingborg-stad_Municipio&issues=AZ34SAyTgBmgoU5Fb4vd&open=AZ34SAyTgBmgoU5Fb4vd&pullRequest=2013

Check warning on line 144 in assets/source/js/matomoTracking.test.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=helsingborg-stad_Municipio&issues=AZ34SAyTgBmgoU5Fb4ve&open=AZ34SAyTgBmgoU5Fb4ve&pullRequest=2013

Check warning on line 17 in assets/source/js/matomoTracking.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=helsingborg-stad_Municipio&issues=AZ34SA3-gBmgoU5Fb4vf&open=AZ34SA3-gBmgoU5Fb4vf&pullRequest=2013

Check warning on line 139 in assets/source/js/matomoTracking.test.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=helsingborg-stad_Municipio&issues=AZ34SWr4Pja-pdu2f2Kk&open=AZ34SWr4Pja-pdu2f2Kk&pullRequest=2013

Check failure on line 28 in assets/source/js/matomoTracking.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.dataset` over `getAttribute(…)`.

See more on https://sonarcloud.io/project/issues?id=helsingborg-stad_Municipio&issues=AZ34SA3-gBmgoU5Fb4vg&open=AZ34SA3-gBmgoU5Fb4vg&pullRequest=2013

Check warning on line 15 in assets/source/js/matomoTracking.test.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=helsingborg-stad_Municipio&issues=AZ34SAyTgBmgoU5Fb4va&open=AZ34SAyTgBmgoU5Fb4va&pullRequest=2013