We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3beb891 commit e81b246Copy full SHA for e81b246
packages/gatsby-plugin-google-analytics/src/index.js
@@ -7,7 +7,7 @@ function OutboundLink(props) {
7
{...props}
8
onClick={e => {
9
if (typeof props.onClick === `function`) {
10
- props.onClick()
+ props.onClick(e)
11
}
12
let redirect = true
13
if (
0 commit comments