mytart 0.2.3 → 0.2.4

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/dist/index.js CHANGED
@@ -110,10 +110,12 @@ var GoogleAnalyticsProvider = class extends BaseProvider {
110
110
  };
111
111
  const script = document.createElement("script");
112
112
  script.async = true;
113
- script.src = `${GTAG_URL}?id=${this.config.measurementId}`;
113
+ script.src = GTAG_URL;
114
114
  script.onload = () => {
115
115
  window.gtag("js", /* @__PURE__ */ new Date());
116
- window.gtag("config", this.config.measurementId);
116
+ window.gtag("config", this.config.measurementId, {
117
+ send_page_view: false
118
+ });
117
119
  resolve();
118
120
  };
119
121
  script.onerror = () => resolve();
package/dist/index.mjs CHANGED
@@ -67,10 +67,12 @@ var GoogleAnalyticsProvider = class extends BaseProvider {
67
67
  };
68
68
  const script = document.createElement("script");
69
69
  script.async = true;
70
- script.src = `${GTAG_URL}?id=${this.config.measurementId}`;
70
+ script.src = GTAG_URL;
71
71
  script.onload = () => {
72
72
  window.gtag("js", /* @__PURE__ */ new Date());
73
- window.gtag("config", this.config.measurementId);
73
+ window.gtag("config", this.config.measurementId, {
74
+ send_page_view: false
75
+ });
74
76
  resolve();
75
77
  };
76
78
  script.onerror = () => resolve();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mytart",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Multi-Yield Tracking & Analytics Relay Tool — framework-agnostic analytics for any project",
5
5
  "keywords": [
6
6
  "analytics",