@jmumby opened this Issue on November 14th 2021

The Matomo app shows the referrer in the real time log.

APP
image

The browser version does not have this data.

Web APP
image

The desktop version is of course the same.

Summary

Can we please add the referrer to the web version of Matomo.

@jameysharp commented on November 14th 2021

Specifically, this happens for incoming links with ?mtm_campaign= query parameters. In the Android app, the referrer appears as from <campaign> - <domain>, which is great. There just isn't any referrer information in the web version, on mobile or desktop, if a campaign ID was passed.

If there's no campaign ID, then the Android app shows from <domain> and the web version shows Website: <domain>. So that case works just fine.

@sgiehl commented on November 16th 2021 Member

The campaign should actually be visible in the real time widget. I guess the reason why it isn't is not part of core.
The MarketingCampaignsReporting plugin seems to hide it here:
https://github.com/matomo-org/plugin-MarketingCampaignsReporting/blob/c3ef72423f2837e52731a1703490d972a6246fa2/stylesheets/styles.less#L1-L3

@jameysharp commented on November 16th 2021

Oh, huh. Using Firefox developer tools, I can confirm that disabling the "display: none" rule associated with .visitorReferrer.campaign makes the information I want show up.

Powered by GitHub Issue Mirror