Skip to content

Commit

Permalink
Merge pull request aksonov#93 from malaman/multiProductsPurchaseEvent…
Browse files Browse the repository at this point in the history
…WithCustomDimensionValues_v.4

 - fix for trackMultiProductsPurchaseEventWithCustomDimensionValues method
  • Loading branch information
cbrevik authored Jan 12, 2017
2 parents 5365c85 + 96c1349 commit e235c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GoogleAnalyticsTracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class GoogleAnalyticsTracker {
*/
trackMultiProductsPurchaseEventWithCustomDimensionValues(products = [], transaction = {}, eventCategory = "Ecommerce", eventAction = "Purchase", customDimensions) {
const formattedCustomDimensions = this.transformCustomDimensionsFieldsToIndexes(customDimensions);
GoogleAnalyticsBridge.trackMultiProductsPurchaseEvent(this.id, products, transaction, eventCategory, eventAction, formattedCustomDimensions);
GoogleAnalyticsBridge.trackMultiProductsPurchaseEventWithCustomDimensionValues(this.id, products, transaction, eventCategory, eventAction, formattedCustomDimensions);
}

/**
Expand Down

0 comments on commit e235c06

Please sign in to comment.