Commit a95e34e0 authored by Ken Hawkins's avatar Ken Hawkins
Browse files

Trim long referrers at slash

parent b341b2d7
......@@ -269,6 +269,10 @@ function parseReferralName(siteToParse) {
// Break any remaining long urls at slash
// We shouldn't have any http/s at this point
siteToParse = siteToParse.split('/')[0];
// no match, return what it was:
return siteToParse;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment