fix style for tracks prop `suggestion_slug` (lower_case not camelCase)

This commit is contained in:
haszari 2019-03-14 14:05:27 +13:00
parent 6995e6ec84
commit f02ba1d727
2 changed files with 4 additions and 4 deletions

View File

@ -115,7 +115,7 @@
linkoutButton.onclick = function() {
window.wcTracks.recordEvent( 'marketplace_suggestion_clicked', {
suggestionSlug: slug
suggestion_slug: slug
} );
};
@ -370,7 +370,7 @@
usedSuggestionsContexts.push( context );
window.wcTracks.recordEvent( 'marketplace_suggestion_displayed', {
suggestionSlug: suggestionsToDisplay[ i ].slug
suggestion_slug: suggestionsToDisplay[ i ].slug
} );
}
} );
@ -445,7 +445,7 @@
refreshBannerColspanForScreenOptions( content );
window.wcTracks.recordEvent( 'marketplace_suggestion_displayed', {
suggestionSlug: suggestionToDisplay.slug
suggestion_slug: suggestionToDisplay.slug
} );
}
} );

File diff suppressed because one or more lines are too long