Skip to content

Commit

Permalink
Include ‘click’ action property for TrainTracks
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnmoon committed Oct 14, 2019
1 parent e4640ce commit 37535e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class SearchResultMinimal extends Component {
event.stopPropagation();
event.preventDefault();
// Send out analytics call
recordTrainTracksInteract( this.getCommonTrainTracksProps() );
recordTrainTracksInteract( { ...this.getCommonTrainTracksProps(), action: 'click' } );
// Await next animation frame to ensure w.js processes the queue
requestAnimationFrame( () => {
// Re-dispatch click event
Expand Down

0 comments on commit 37535e3

Please sign in to comment.