Skip to content

Commit 74bb659

Browse files
committed
Merge pull request #21 from amplitude/development
Include referrer when empty
2 parents afe35a8 + feaa9c6 commit 74bb659

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

amplitude.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ Amplitude.prototype._logEvent = function(eventType, eventProperties, apiProperti
430430
object.merge(userProperties, this._utmProperties);
431431

432432
// Add referral info onto the user properties
433-
if (this.options.includeReferrer && this._getReferrer()) {
433+
if (this.options.includeReferrer) {
434434
object.merge(userProperties, {
435435
'referrer': this._getReferrer(),
436436
'referring_domain': this._getReferringDomain()

0 commit comments

Comments
 (0)