Skip to content

Commit

Permalink
Revert stop_utm_persistence default
Browse files Browse the repository at this point in the history
  • Loading branch information
chiyc committed Jun 7, 2024
1 parent d039d29 commit 95273d3
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion dist/mixpanel.amd.js
Original file line number Diff line number Diff line change
Expand Up @@ -4172,7 +4172,7 @@ define((function () { 'use strict';
'track_pageview': false,
'skip_first_touch_marketing': false,
'store_google': true,
'stop_utm_persistence': true,
'stop_utm_persistence': false,
'save_referrer': true,
'test': false,
'verbose': false,
Expand Down
2 changes: 1 addition & 1 deletion dist/mixpanel.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -4172,7 +4172,7 @@ var DEFAULT_CONFIG = {
'track_pageview': false,
'skip_first_touch_marketing': false,
'store_google': true,
'stop_utm_persistence': true,
'stop_utm_persistence': false,
'save_referrer': true,
'test': false,
'verbose': false,
Expand Down
2 changes: 1 addition & 1 deletion dist/mixpanel.globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -4173,7 +4173,7 @@
'track_pageview': false,
'skip_first_touch_marketing': false,
'store_google': true,
'stop_utm_persistence': true,
'stop_utm_persistence': false,
'save_referrer': true,
'test': false,
'verbose': false,
Expand Down
2 changes: 1 addition & 1 deletion dist/mixpanel.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/mixpanel.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -4176,7 +4176,7 @@
'track_pageview': false,
'skip_first_touch_marketing': false,
'store_google': true,
'stop_utm_persistence': true,
'stop_utm_persistence': false,
'save_referrer': true,
'test': false,
'verbose': false,
Expand Down
30 changes: 15 additions & 15 deletions examples/commonjs-browserify/bundle.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
var mixpanel = require('./mixpanel.cjs.js');

mixpanel.init("FAKE_TOKEN", {
debug: true,
loaded: function() {
mixpanel.track('loaded() callback works but is unnecessary');
alert("Mixpanel loaded successfully via Browserify/CommonJS");
}
});

mixpanel.track('Tracking after mixpanel.init');

},{"./mixpanel.cjs.js":2}],2:[function(require,module,exports){
'use strict';

var Config = {
Expand Down Expand Up @@ -4173,7 +4186,7 @@ var DEFAULT_CONFIG = {
'track_pageview': false,
'skip_first_touch_marketing': false,
'store_google': true,
'stop_utm_persistence': true,
'stop_utm_persistence': false,
'save_referrer': true,
'test': false,
'verbose': false,
Expand Down Expand Up @@ -6319,17 +6332,4 @@ var mixpanel = init_as_module();

module.exports = mixpanel;

},{}],2:[function(require,module,exports){
var mixpanel = require('./mixpanel.cjs.js');

mixpanel.init("FAKE_TOKEN", {
debug: true,
loaded: function() {
mixpanel.track('loaded() callback works but is unnecessary');
alert("Mixpanel loaded successfully via Browserify/CommonJS");
}
});

mixpanel.track('Tracking after mixpanel.init');

},{"./mixpanel.cjs.js":1}]},{},[2]);
},{}]},{},[1]);
2 changes: 1 addition & 1 deletion examples/es2015-babelify/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ var DEFAULT_CONFIG = {
'track_pageview': false,
'skip_first_touch_marketing': false,
'store_google': true,
'stop_utm_persistence': true,
'stop_utm_persistence': false,
'save_referrer': true,
'test': false,
'verbose': false,
Expand Down
2 changes: 1 addition & 1 deletion examples/umd-webpack/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -4239,7 +4239,7 @@
'track_pageview': false,
'skip_first_touch_marketing': false,
'store_google': true,
'stop_utm_persistence': true,
'stop_utm_persistence': false,
'save_referrer': true,
'test': false,
'verbose': false,
Expand Down
2 changes: 1 addition & 1 deletion src/mixpanel-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ var DEFAULT_CONFIG = {
'track_pageview': false,
'skip_first_touch_marketing': false,
'store_google': true,
'stop_utm_persistence': true,
'stop_utm_persistence': false,
'save_referrer': true,
'test': false,
'verbose': false,
Expand Down

0 comments on commit 95273d3

Please sign in to comment.