This adds a new function for use in tracks, that will help standardize click events from Jetpack wp-admin. I wrote it so it can take both an object or a string as a property.
This PR also fixes a couple of components to allow click tracking to be handled on the onClick property events for Sarch and Popover components.
This adds a new function for use in tracks, that will help standardize click events from Jetpack wp-admin. I wrote it so it can take both an object or a string as a property.
This PR also fixes a couple of components to allow click tracking to be handled on the
onClick
property events for Sarch and Popover components.