Adds 'Direct / None' referrer when no referrer is present
parent
846afad0a4
commit
dc7931a061
|
@ -298,7 +298,7 @@ export async function savePageView(website_id, session_id, url, referrer) {
|
|||
website_id,
|
||||
session_id,
|
||||
url: url?.substr(0, URL_LENGTH),
|
||||
referrer: referrer?.substr(0, URL_LENGTH),
|
||||
referrer: referrer ? referrer.substr(0, URL_LENGTH) : 'Direct / None',
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue