@mparticle/web-double-click-kit 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -279,7 +279,7 @@ function EventHandler(common) {
279
279
  this.common = common || {};
280
280
  }
281
281
 
282
- EventHandler.prototype.maybeSendConsentUpdateToGa4 = function (event) {
282
+ EventHandler.prototype.maybeSendConsentUpdateToGoogle = function (event) {
283
283
  // If consent payload is empty,
284
284
  // we never sent an initial default consent state
285
285
  // so we shouldn't send an update.
@@ -306,7 +306,7 @@ EventHandler.prototype.maybeSendConsentUpdateToGa4 = function (event) {
306
306
  };
307
307
 
308
308
  EventHandler.prototype.logEvent = function (event) {
309
- this.maybeSendConsentUpdateToGa4(event);
309
+ this.maybeSendConsentUpdateToGoogle(event);
310
310
 
311
311
  var gtagProperties = {};
312
312
  this.common.setCustomVariables(event, gtagProperties);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mparticle/web-double-click-kit",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "repository": "https://github.com/mparticle-integrations/mparticle-javascript-integration-doubleclick",
5
5
  "main": "dist/DoubleClick-Kit.common.js",
6
6
  "browser": "dist/DoubleClick-Kit.common.js",