Skip to content

Commit

Permalink
fix(logo): empty utm campaign (#1259)
Browse files Browse the repository at this point in the history
shortcuts authored Jan 12, 2022

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
1 parent 40ee15c commit 30ee161
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/docsearch-react/src/AlgoliaLogo.tsx
Original file line number Diff line number Diff line change
@@ -10,9 +10,10 @@ type AlgoliaLogoProps = {

export function AlgoliaLogo({ translations = {} }: AlgoliaLogoProps) {
const { searchByText = 'Search by' } = translations;

return (
<a
href="https://www.algolia.com/docsearch"
href={`https://www.algolia.com/ref/docsearch/?utm_source=${window.location.hostname}&utm_medium=referral&utm_content=powered_by&utm_campaign=docsearch`}
target="_blank"
rel="noopener noreferrer"
>

0 comments on commit 30ee161

Please sign in to comment.