Skip to content

Commit

Permalink
www: add analytics tags to the plugin search (#11693)
Browse files Browse the repository at this point in the history
* www: add analytics tags to the plugin search

* add import

* Update www/src/components/plugin-searchbar-body.js
  • Loading branch information
Haroenv authored and m-allanson committed Feb 12, 2019
1 parent 9433b6c commit 6e75f5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions www/src/components/plugin-searchbar-body.js
@@ -1,6 +1,7 @@
import React, { Component } from "react"
import {
InstantSearch,
Configure,
SearchBox,
Stats,
RefinementList,
Expand Down Expand Up @@ -195,6 +196,7 @@ class Search extends Component {
<SearchBox translations={{ placeholder: `Search Gatsby Library` }} />

<div css={{ display: `none` }}>
<Configure analyticsTags={[`gatsby-plugins`]} />
<RefinementList
attributeName="keywords"
defaultRefinement={[`gatsby-component`, `gatsby-plugin`]}
Expand Down

0 comments on commit 6e75f5c

Please sign in to comment.