@Elaniobro opened this Issue on April 30th 2020

Hello, I am using Matomo, within a Vue.js application. I am wanting to override the referrer url, with a specific value for tracking purposes.

I am doing the following:

const entryPoint = 'Unicorns Poop Sparkles'
this.$matomo.setReferrerUrl(entryPoint)

When sniffing the network traffic, I see the query parameter being set for urlref with the override I set:
urlref "Unicorns Poop Sparkles"

What I can not find, is where this value should show up for me in the dashboard… I assumed that I would be seeing the value in the “acquisition/All Channel” panel, but I do not see anything populated other than Direct Entry

I know that my code works since I use this: this.$matomo.setCustomVariable(2, 'Role', provider.occupation, 'visit'), and I DO see the custom variable I set Role being populated in the dashboard and according to the docs, both methods are for modifying the tracking object.

So is this a bug or just a lack of Matomo understanding on my part?

@tsteur commented on April 30th 2020 Member

@Elaniobro could you maybe send us a simple HTML page (ideally not using vue.js but the regular _paq tracking methods) so we can test things and reproduce your issue?

Generally, the urlref should create a new visit if it is different to the value stored in the current visit AFAIK. And it should show up in the referrer report

@Elaniobro commented on May 1st 2020

@tsteur thank you for your reply, but not sure if pushing a standard method with _paq will be of service, since I am using this in vue.js

Generally, the urlref should create a new visit if it is different to the value stored in the current visit AFAIK. And it should show up in the referrer report

Where would this appear in the dashboard, because I do not see any mention of referrer in there.

@tsteur commented on May 4th 2020 Member

You should be seeing this in the Acquisitions report indeed. Any chance you are setting urlref to a domain that is also your site? Or is urlref from some external site? If it is the same domain, then it would be considered a direct visit maybe.

Powered by GitHub Issue Mirror