Skip to content

Commit

Permalink
feat(gatsby-plugin-google-analytics): Pass event object to the user's…
Browse files Browse the repository at this point in the history
… onClick callback in OutboundLink (#11340)
  • Loading branch information
maciekmaciej authored and pieh committed Jan 28, 2019
1 parent 3beb891 commit e81b246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-google-analytics/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function OutboundLink(props) {
{...props}
onClick={e => {
if (typeof props.onClick === `function`) {
props.onClick()
props.onClick(e)
}
let redirect = true
if (
Expand Down

0 comments on commit e81b246

Please sign in to comment.