Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setReferrerUrl(String) not populating dashboard #15890

Open
Elaniobro opened this issue Apr 30, 2020 · 3 comments
Open

setReferrerUrl(String) not populating dashboard #15890

Elaniobro opened this issue Apr 30, 2020 · 3 comments
Labels
Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.

Comments

@Elaniobro
Copy link

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?

@Elaniobro Elaniobro changed the title setReferrerUrl(Sring) not populating dashboard setReferrerUrl(String) not populating dashboard Apr 30, 2020
@tsteur
Copy link
Member

tsteur commented Apr 30, 2020

@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
Copy link
Author

@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
Copy link
Member

tsteur commented May 4, 2020

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.

@Findus23 Findus23 added the Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. label May 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.
Projects
None yet
Development

No branches or pull requests

4 participants