const queryString = window.location.search; //
// Further parsing:
const params = new URLSearchParams(queryString);
const utm_author = params.get("utm_author");// берете все метки
console.log(utm_author)
const anchors = document.getElementsByTagName('a');
for (const anchor of anchors) {
const p = new URLSearchParams(anchor.search);
p.append('utm_author',utm_author)
console.log(p)
}