Noticed in one user's logs, the campaign information came in the second request. @mattab suggested that direct entry referrers should be overwritten by campaign information if supplied in a later request.
example.com the main URL for the site? Or an alias URL?
example.com would be the main URL (or even alias URL) but which wasn't specified in Website URLs field.
@mattab I see there's no required main URL field anymore. So you mean to add
hostname(url) to the list of website URLs, makes sense.
Looks good to me (quick look). Looking forward to the tests :+1:
Added integration tests, system tests will need to be fixed, ready for a review.