@blotoutio/providers-google-ads-clicks-sdk 1.19.0 → 1.19.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.
package/index.cjs.js CHANGED
@@ -391,9 +391,7 @@ new Set([...isoCountries.keys(), ...usStates.keys()]);
391
391
  // TODO: once categories becomes a stable field, we need to remove this and start using categories data for google consent mode.
392
392
  const getGoogleConsentFromChannels = (consent) => {
393
393
  const gadsConsent = hasUserConsentForProvider(consent, 'googleAdsClicks');
394
- const ga4Consent = hasUserConsentForProvider(consent, 'googleAnalytics4');
395
394
  return {
396
- analytics_storage: ga4Consent ? 'granted' : 'denied',
397
395
  ad_storage: gadsConsent ? 'granted' : 'denied',
398
396
  ad_user_data: gadsConsent ? 'granted' : 'denied',
399
397
  ad_personalization: gadsConsent ? 'granted' : 'denied',
@@ -597,14 +595,14 @@ const tag = ({ data, eventName, manifestVariables, destination, }) => {
597
595
  !getCookieValue('_gcl_au')) {
598
596
  return {
599
597
  isFired: false,
600
- sdkVersion: "1.19.0" ,
598
+ sdkVersion: "1.19.1" ,
601
599
  };
602
600
  }
603
601
  const conversionLabel = getConversionLabel(eventName, manifestVariables);
604
602
  if (!conversionLabel) {
605
603
  return {
606
604
  isFired: false,
607
- sdkVersion: "1.19.0" ,
605
+ sdkVersion: "1.19.1" ,
608
606
  };
609
607
  }
610
608
  if (manifestVariables['enhancedConversionsSetting'] === 'gtag' &&
@@ -621,7 +619,7 @@ const tag = ({ data, eventName, manifestVariables, destination, }) => {
621
619
  });
622
620
  return {
623
621
  isFired: true,
624
- sdkVersion: "1.19.0" ,
622
+ sdkVersion: "1.19.1" ,
625
623
  };
626
624
  };
627
625
 
package/index.js CHANGED
@@ -392,9 +392,7 @@ var ProvidersGoogleAdsClicksSdk = (function () {
392
392
  // TODO: once categories becomes a stable field, we need to remove this and start using categories data for google consent mode.
393
393
  const getGoogleConsentFromChannels = (consent) => {
394
394
  const gadsConsent = hasUserConsentForProvider(consent, 'googleAdsClicks');
395
- const ga4Consent = hasUserConsentForProvider(consent, 'googleAnalytics4');
396
395
  return {
397
- analytics_storage: ga4Consent ? 'granted' : 'denied',
398
396
  ad_storage: gadsConsent ? 'granted' : 'denied',
399
397
  ad_user_data: gadsConsent ? 'granted' : 'denied',
400
398
  ad_personalization: gadsConsent ? 'granted' : 'denied',
@@ -598,14 +596,14 @@ var ProvidersGoogleAdsClicksSdk = (function () {
598
596
  !getCookieValue('_gcl_au')) {
599
597
  return {
600
598
  isFired: false,
601
- sdkVersion: "1.19.0" ,
599
+ sdkVersion: "1.19.1" ,
602
600
  };
603
601
  }
604
602
  const conversionLabel = getConversionLabel(eventName, manifestVariables);
605
603
  if (!conversionLabel) {
606
604
  return {
607
605
  isFired: false,
608
- sdkVersion: "1.19.0" ,
606
+ sdkVersion: "1.19.1" ,
609
607
  };
610
608
  }
611
609
  if (manifestVariables['enhancedConversionsSetting'] === 'gtag' &&
@@ -622,7 +620,7 @@ var ProvidersGoogleAdsClicksSdk = (function () {
622
620
  });
623
621
  return {
624
622
  isFired: true,
625
- sdkVersion: "1.19.0" ,
623
+ sdkVersion: "1.19.1" ,
626
624
  };
627
625
  };
628
626
 
package/index.mjs CHANGED
@@ -389,9 +389,7 @@ new Set([...isoCountries.keys(), ...usStates.keys()]);
389
389
  // TODO: once categories becomes a stable field, we need to remove this and start using categories data for google consent mode.
390
390
  const getGoogleConsentFromChannels = (consent) => {
391
391
  const gadsConsent = hasUserConsentForProvider(consent, 'googleAdsClicks');
392
- const ga4Consent = hasUserConsentForProvider(consent, 'googleAnalytics4');
393
392
  return {
394
- analytics_storage: ga4Consent ? 'granted' : 'denied',
395
393
  ad_storage: gadsConsent ? 'granted' : 'denied',
396
394
  ad_user_data: gadsConsent ? 'granted' : 'denied',
397
395
  ad_personalization: gadsConsent ? 'granted' : 'denied',
@@ -595,14 +593,14 @@ const tag = ({ data, eventName, manifestVariables, destination, }) => {
595
593
  !getCookieValue('_gcl_au')) {
596
594
  return {
597
595
  isFired: false,
598
- sdkVersion: "1.19.0" ,
596
+ sdkVersion: "1.19.1" ,
599
597
  };
600
598
  }
601
599
  const conversionLabel = getConversionLabel(eventName, manifestVariables);
602
600
  if (!conversionLabel) {
603
601
  return {
604
602
  isFired: false,
605
- sdkVersion: "1.19.0" ,
603
+ sdkVersion: "1.19.1" ,
606
604
  };
607
605
  }
608
606
  if (manifestVariables['enhancedConversionsSetting'] === 'gtag' &&
@@ -619,7 +617,7 @@ const tag = ({ data, eventName, manifestVariables, destination, }) => {
619
617
  });
620
618
  return {
621
619
  isFired: true,
622
- sdkVersion: "1.19.0" ,
620
+ sdkVersion: "1.19.1" ,
623
621
  };
624
622
  };
625
623
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotoutio/providers-google-ads-clicks-sdk",
3
- "version": "1.19.0",
3
+ "version": "1.19.1",
4
4
  "description": "Google Ads Browser SDK for EdgeTag",
5
5
  "author": "Blotout",
6
6
  "license": "MIT",