mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Analytics: Add ref_campaign to list of stripped params
This commit is contained in:
@@ -216,7 +216,7 @@ r.analytics = {
|
||||
stripAnalyticsParams: function() {
|
||||
var hasReplaceState = !!(window.history && window.history.replaceState);
|
||||
var params = $.url().param();
|
||||
var stripParams = ['ref', 'ref_source'];
|
||||
var stripParams = ['ref', 'ref_source', 'ref_campaign'];
|
||||
var strippedParams = _.omit(params, stripParams);
|
||||
|
||||
if (hasReplaceState && !_.isEqual(params, strippedParams)) {
|
||||
|
||||
Reference in New Issue
Block a user