Fixed query param typo for newsletter source attribution

The attribution tracking script uses the `ref` param, not `rel`
This commit is contained in:
Fabien "egg" O'Carroll 2022-09-27 10:25:29 +01:00
parent 4858baf2df
commit d3030cb87d

View File

@ -34,7 +34,7 @@ class MemberAttributionService {
addEmailSourceAttributionTracking(url, newsletter) {
// Create a deep copy
url = new URL(url);
url.searchParams.append('rel', newsletter.get('slug') + '-newsletter');
url.searchParams.append('ref', newsletter.get('slug') + '-newsletter');
return url;
}