Skip to content

Commit

Permalink
www: add analytics tags to the plugin search (gatsbyjs#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 gurpreet-hanjra committed Feb 14, 2019
1 parent d9253b3 commit 9c0f0b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions www/src/components/plugin-searchbar-body.js
Original file line number Diff line number Diff line change
@@ -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 9c0f0b2

Please sign in to comment.