Skip to content

Commit

Permalink
fix(logo): empty utm campaign (#1259)
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts committed Jan 12, 2022
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
Expand Up @@ -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"
>
Expand Down

0 comments on commit 30ee161

Please sign in to comment.