Difference between action url and page url

Hey Philippe.
Sorry for late reply.

What I mean is:

  • using “all visits” brings out 3419 page views and 1952 unique page views
  • using a segment brings out 3495 page views and 2023 unique page views
    for a specific page

The segment defines:
pageURL contains “URL of page”

So with the segment I closer the view to the specific URL and the amount of views increased at same time. How could this happen? For my understanding the closer view, the lower amount or same amount than “all visits”.

Thanks,
Patrick

Is your test on a finished period (ie some period not including today)?
Which report did you use?
Try maybe to invalidate then re-archive the reports data…

Hey @heurteph-ei

Thank you.
Yes, its both on the same finished period (1-1-22 till 15-3-22).

Will try to re-archive the data and come back here later.

Best,
Patrick

Which report did you use?

Hey @heurteph-ei

We tried the re-achiving but the numbers are same.

What do u mean with “Which report did you use?”

Patrick

On which page exacly did you see these differences?

Hey @heurteph-ei

I have created a own Dashboard with the given widgets.
In the “pages” widget I can see the difference.

Patrick

Very strange indeed…
@innocraft Do you have a clue?

1 Like

@heurteph-ei @RonanChardonneau
The difference between an Action URL and Page URL can be explained like this:
If for example a visitor goes to a page on a site:
example.org/Page1
And on that page they click on a Download link, for example:
example.org/myFile.pdf

The “Page URL” will be example.org/Page1 and the “Action URL” will be example.org/myFile.pdf

I trust this is clear, but if not please let me know (It can be a tough one to explain and to understand)

@waldemar1
Could you maybe give us some more details on what widgets you have on your Dashboard where you’re seeing this issue?
If possible, could you maybe post some screenshots of the reports that shows the differences and perhaps also some screenshots of the segment definitions that you have setup?
This will provide us some useful information to understand exactly what the differences are and if necessary try to reproduce it on our own Matomo instances.

Thanks,

1 Like

Hello @rstark

Thanks for your help.

Sure, your explanation brings light.
Now it’s perfectly clear.

Here are a few screenshots that will hopefully make it clearer what the issue is.

First I choose the right period:

Than I could see this in “pages” widget:


After this I use this segment for same time period:

and get a higher amount of views in widget “pages”

Greetings from Berlin

Perhaps also relevant with discussion on https://github.com/matomo-org/matomo/issues/11131

@rstark , do you have a clue on the issue @waldemar1 described above?

Thanks for the ping @heurteph-ei

@waldemar1 What might be happening here is potentially a result of the “Others” row in some of the Matomo reports.

If you have a site with a high number of pages, on some days or week/month periods you can get some of the rows rolled into the “Others” row as explained in this FAQ: https://matomo.org/faq/how-to/faq_54/

What can happen then when using a segment is that some of the rows that would normally get added to the “Others” row are added to the reports as their own row (Which can change some of the numbers depending on what rows were put into the Others row). This can be especially apparent on Date Range reports because they use the existing “Day” period reports and combine them together instead of reprocessing all of the Raw data.

What we can try doing to verify if this is the cause or not would be to increase the datatable row limits as mentioned in the FAQ above (Setting a limit of 1,000 if the limit is already 500 might work).
Once that has been done, we can then invalidate and reprocess all of the reports for the period: https://matomo.org/faq/how-to/faq_155/

Could you give this a try and let us know if it resolves the issue?

Thanks,

2 Likes

Why not make a new FAQ Point to answer that question?
People shouldn’t search in old Forum posts to find that answer.

It’s not intuitive to know what to use, when e.g. I just want to see load time of specific pages

To show the big effect of the selection:
I to compare two segments here, only difference is: The blue is “Action URL”, the Orange is “Event URL”
image
…still not knowing what to use :slight_smile:

Hi @1xU
Is your question related to Custom Report? How sis you exactly create this comparison? (which report, which segment definition, etc.?)

Hi. no, it’s not about custom reports.
I only created the comparison to show the big difference in the outcome in one a small image.
(How I did it is: create to identical segments which only difference is “actionURL” and “eventURL” in the other and compare them)
My actual question is: I don’t know which segment filter to use for what purpose. In my case I want to inspect and analyse loading times per view in our webapp (between different URLs) but I get completely different outputs and don’t understand why. Hence I don’t know which one to use.
Underneath three outputs with the three different URL segment filters (filter value “/event” is the same in all of them)

Event URL - contains - /event

image

Action URL - contains - /event

image

Page URL - contains - /event

image
(had to post it in three messages as it doesn’t allow me more than one image per post)

Hello,

The key distinction between an action URL and a page URL lies in their purposes. The action URL typically refers to the URL where a specific action, such as form submission or interaction, takes place. It is associated with a particular activity or task.

On the other hand, the page URL represents the address of the webpage itself, providing the location of the content. While the page title might not necessarily match the action URL, both contribute to user interactions and analytics tracking.

In summary, action URLs are tied to specific actions or events, while page URLs denote the location of the content. Utilizing these dimensions for segmentation allows for a more detailed analysis of user behavior.

I hope this clarifies the difference. Feel free to ask if you have further questions!

Best regards,

Hi @1xU
Can you check on other reports if you see some differences, especially on page view reports?
As page performance metrics rely on visited page, we can then probably get clues …