mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 21:43:04 +00:00
[CST-18964] Fixes empty trackerId for bitstream download feature
This commit is contained in:
@@ -145,7 +145,7 @@ export class MatomoService {
|
|||||||
*/
|
*/
|
||||||
private appendTrackerId(url: string, visitorId: string) {
|
private appendTrackerId(url: string, visitorId: string) {
|
||||||
const updatedURL = new URL(url);
|
const updatedURL = new URL(url);
|
||||||
if (visitorId != null) {
|
if (isNotEmpty(visitorId)) {
|
||||||
updatedURL.searchParams.append('trackerId', visitorId);
|
updatedURL.searchParams.append('trackerId', visitorId);
|
||||||
}
|
}
|
||||||
return updatedURL.toString();
|
return updatedURL.toString();
|
||||||
|
Reference in New Issue
Block a user