By default the "Landing Page" dimension in GA is just the path and query string and does not include the domain name. Is there anyway to change that or create a new metrics that includes the full path (with domain) as the "Landing Page"?
So if the landing page is: https://www.google.com/foo, rather than /foo I would have www.google.com/foo.
There were docs on how to do this for ga3 (aka Universal Analytics): https://support.google.com/analytics/answer/1012243?hl=en
Perhaps you are looking for a dimension called Page location. It is populated automatically.
Description from documentation:
The complete URL of the webpage that someone visited on your website.
For example, if someone visits
www.googlemerchandisestore.com/Bags?theme=1, then the complete URL
will populate the dimension.
https://support.google.com/analytics/answer/9143382?hl=en#zippy=%2Cpage-screen
Related
In the past, with older Google Analytics accounts and properties I was able to use a Custom Report on a View to show a table of Full Referral URLs.
But with Google Analytics 4 (GA4) I can no longer have Views, so I'm at a loss how I can show Full Referral URLs? I can show the Referral Source (domain name only) but I'd prefer to see the full Referral Path.
Any ideas how I can go about this?
Thank you.
Closest I can find is to use the Explore tab to create a new Exploration with the following settings:
Variables
Dimensions: Page referrer
Metrics: Active users
Tab Settings
rows: Page referrer
show rows: 500 (optional)
values: Active users
cell type: Heat map (optional)
filters: (exclude any URL patterns here)
Then minimize the Variables and Settings panels.
This will give you a long table of full referrer URLs along with the number of users that came from there. In my case most are domain names, but a handful are full URLs pointing to a page.
It remains to be seen if this can be done more easily or more comprehensively.
I seem to have a problem with my Google Analytics.
My pages are being shown as 404 errors as the full URL address is being repeated after the foldername.
Example:
My page for cars is:
/cars/
But Google Analytics is showing this page as
/cars/www.domain.com
There are no filters set that I can see but I don't know how to resolve it.
Is this common? It is a Wordpress site.
You have a link somewhere that starts with www.example.com, but should start with http://www.example.com (or https://www.example.com).
URLs that don't start with a protocol (http://, https:// or just :// to mean "the same protocol this document was requested with") or a / are interpreted to be relative to the current document, e.g. if you are on http://www.example.org/cars/ and you link to "mercedes/", it yields http://www.example.org/cars/mercedes/. This is what happens for you, because you have an incomplete URL somewhere. Look at your document source in your browser and search for www.example.com. You will most likely find something like href="www.example.com". Find the link in your post / template that is responsible, and change it to href="http://www.example.com" or href="https://www.example.com", depending on what that host supports.
In some cases, you might find that Google Analytics is adding your domain name after every URL slug captured and it can make for some messy reporting.
For example, our homepage would return
/nichemarket.co.za
and the blog page would return
/blog/nichemarket.co.za
If your site analytics account returns a similar issue, this is not standard practice and is generally due to a misconfiguration of the view filter.
To fix this issue head over to your Google Analytics account and click the Admin tab in the right-hand menu.
Navigate to view
Select view settings
Scroll down to default page
Remove your domain name from the text box and leave it blank
Click save
We have two platforms, a marketing site and a SaaS solution.
The marketingsite is on the main domain like www.domain.com and the SaaS solutions is on our subdomain sub.domain.com.
I would like to track the conversion rate of the customers signing up on our SaaS solution through our marketingsite.
If I go into goals for the marketingsite I can choose a relative path to the goal like www.domain.com/signup-completed, but the actual signup is on sub.domain.com/signup-completed. How can I track this on the marketing site?
The two sites are setup as different properties under the same account.
First of all, the property must be same for both subdomain and domain, i.e. same UA id.
Secondly, to track goals from sub domain, you need to include every part of the URL in the Page dimension. Normally you will not be able to distinguish which page is on which domain
For the above you need to create a filter that would modify the URL to include domain:
Steps:
In the View (Profile) Settings page, click the Add Filter link.
Choose Add New Filter and provide the filter a name.
Choose Custom Filter and select Advanced on the Filter type settings.
Under Advanced settings:
FieldA should be set to Hostname
FieldB should be set to Request URI
Set the values for both Field A and Field B to (.*), which is an
expression that captures all characters.
Set the Output To --> Constructor option to Request URI and provide
$A1$B1 as the value for that choice.
Your reports will now show:
www.domain.com/example.html
sub.domain.com/moreexample.html
This will capture the www.domain.com portion of your URL and include that at the beginning of your page URL in the content reports section.
You can then easily set the goals :)
PS: I would recommend to create new view, place this filter and then create goals, so that the data in other views wont be affected
In one of my client's sites in Google Analytics, under Site Content > All Pages, all the page urls are showing incorrectly, with the domain name placed after the page url.
Normally the homepage is displayed as /
in this case the homepage is displayed as:
/www.domain.com
and all other pages are the same, such as:
/shopping-cart/www.domain.com
does anyone know how to fix this?
Thanks
It sounds like a Filter was created to show the full domain name, but the variables for Hostname, $A1, and Request URI, $B1, got switched around.
Here is a screenshot of the filter I use with the variables underlined.
I also ran into this issue and saw that I had the Default URL setting set to our domain:
screencapture of default url field
This field is under View Settings. We had entered the domain in this field and it was appending it to pages because this field is intended for "index.html" paths.
Assume there a page containing a link to my site and the url for this referring page was this:
http://source.com/referral_path/topic.php?t=123
In google analytics it would display as this:
ga:source: source.com
ga:referral_path: /referral_path/topic.php
I recall long ago there was a switch/setting which would control whether the t=123 (i.e. query parameters) would be included as part of the referral_path or not. Is this correct? And if it is how do I control it.
The only setting GA has for query parameters is the search query params. Setting Up Site Search for a Profile
For the full URL you still should apply a filter.
View Full Page URL In Reports
Also see: Full referrer URL in Google Analytics reports