From 96c134942e23b95879dcbd300a4ab2fdb691a512 Mon Sep 17 00:00:00 2001 From: Andrii Date: Tue, 6 Dec 2016 15:26:20 +0100 Subject: [PATCH] - fix for trackMultiProductsPurchaseEventWithCustomDimensionValues method (now GoogleAnalytics.Tracker calls trackMultiProductsPurchaseEventWithCustomDimensionValues method of GoogleAnalyticsBridge in trackMultiProductsPurchaseEventWithCustomDimensionValues method) --- src/GoogleAnalyticsTracker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GoogleAnalyticsTracker.js b/src/GoogleAnalyticsTracker.js index b8c42e355..69f56e49f 100644 --- a/src/GoogleAnalyticsTracker.js +++ b/src/GoogleAnalyticsTracker.js @@ -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); } /**