Skip to content

Commit 8bd2029

Browse files
vins01-4scienceAndrea Barbasso
authored andcommitted
[CST-18965] Fixes empty trackerId for bitstream download feature
1 parent 0d7204b commit 8bd2029

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/statistics/matomo.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export class MatomoService {
130130
*/
131131
private appendTrackerId(url: string, visitorId: string) {
132132
const updatedURL = new URL(url);
133-
if (visitorId != null) {
133+
if (isNotEmpty(visitorId)) {
134134
updatedURL.searchParams.append('trackerId', visitorId);
135135
}
136136
return updatedURL.toString();

0 commit comments

Comments
 (0)