Skip to content

Commit

Permalink
feat(docsearch): track docsearch-react UA
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Jul 9, 2020
1 parent f9398c4 commit 715bc4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docsearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function docsearch(props) {
<DocSearch
{...props}
transformSearchClient={(searchClient) => {
searchClient.addAlgoliaAgent(`docsearch.js (${version})`);
searchClient.addAlgoliaAgent('docsearch.js', version);

return props.transformSearchClient
? props.transformSearchClient(searchClient)
Expand Down

0 comments on commit 715bc4f

Please sign in to comment.