Skip to content

Commit

Permalink
utm_content should be pathname
Browse files Browse the repository at this point in the history
  • Loading branch information
marwie committed Aug 26, 2024
1 parent c6be142 commit e61ce63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/.vuepress/components/sample.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default {
url.searchParams.append("hideClose", "");
url.searchParams.append("utm_source", "needle_docs");
url.searchParams.append("utm_content", currentUrl?.toString() || "");
url.searchParams.append("utm_content", currentUrl?.pathname || "");
this.sanitizedUrl = url.toString();
}
}
Expand Down

0 comments on commit e61ce63

Please sign in to comment.