Skip to content

Commit

Permalink
Merge pull request #43 from DripEmail/wjohnston/leave-unsubscribed-wh…
Browse files Browse the repository at this point in the history
…en-identifying

Leave unsubscribed when identifying
  • Loading branch information
wjohnstondrip authored Jul 3, 2020
2 parents 5dbeff1 + aa1b996 commit cfc8035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/customer_identify.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(function(dwid) {
const _q = (typeof _dcq !== 'undefined' && _dcq !== null) ? _dcq : [];
const _d = (typeof dwid !== 'undefined' && dwid !== null) ? dwid : {found: false};
if(_d.found) { _q.push(["identify", { email: _d.id }]); }
if(_d.found) { _q.push(["identify", { email: _d.id, drip_unknown_status: true }]); }
})(drip_woocommerce_identify_data);

0 comments on commit cfc8035

Please sign in to comment.