How to change website url path in google analytics? - google-analytics

I have checked my google analytics and there (Behavior>>Site Content>>All Pages) URLs wrong showing how to solve this problem (i.e. /contact/www.example.com) this type URL format showing in google analytics.
This reason to not tracking any goal of my website can you please help me how to do.
Thanks

Try to check in your filters, you probably have a badly configured Url rewrite filter.

Related

Google Analytics site internal search tracking is not working on Google Site

I am using Google Analytics to keep tracking on the internal search term in the site I built with "Google Site"
I have already set up the query parameter in the Google Analytics view setting. However, the internal search term tracking is not working as expected.
I searched over hundreds of keyword in the site while only 2 of them got recorded in Google Analytics.
Is there anyone who knows where the problem is?
The URL of my site is :
https://sites.google.com/mydomain
When I searched something through the searching bar in the site, the URL became:
https://sites.google.com/search/mydomain?query=something&universe=classic&scope=organization
("/search" got inserted into the URL)
I was wondering if the change of URL is the reason why search term tracking not working, but then I checked the only 2 records I got in the GA, they are like:
/search/mydomain?query=Test&universe=classic&scope=site&showTabs=false
mydomain?query=API
Dont know where 2 came from... isnt there supposed to be a "/search" in the URL when using site internal search bar in the Google Site? This also confused me a lot.

Incorrect URLs showing as extensions in Google Analytics

I am seeing this odd behavior in our Google Analytics reporting where page URLs end with the domain of sites we don't operate. For example, a page URL that should be costtodrive.com/florida-tolls is reported as costtodrive.com/florida-tolls/biography.com. This is inflating our sessions reporting. Does anyone have any ideas what might be happening here? I'm including screenshot with additional examples. Thanks!
screenshot of additional url errors
This is GA spam almost for sure, and not any mistake you made. Look around the internet for guides for removing Google Analytics spam (hint: GA filters)

What is this url mean, "/h/xxx.html" of my website?

In Google Analytics I found a page which I did not create.
The full url is http://youngzy.com/h/3668354.html.
When I open it, it looks like the latest posts recently.
But who make it?
Does it generate automatically ?
Why, Where and How?
Any experience? Thanks.
I'm using WordPress.org
I had the same issue and found this to be annoying referral spam designed to get you to visit their website. I filtered my report by “Hostname” and found all the visits are from one of 5 domains which all redirect to a website with a “free" SEO report: https://semalt.com/?ref=seocheckupx. Just more obnoxious spam tactic by an unreputable SEO firm - Semalt.
Here's a good article about referral spam from Semalt and how to filter them out of your analytics: https://www.kymodo.com.au/what-is-semalt-doing-on-your-website/

Best way how to track iframe separately from the site on the same domain

On my site I have feature for users, that they can embed video on their page with iframe. Now I'm tracking classic page view and iframe view same way. So my analytics stats are not correct. I wanna separate this tracking to know how much of visitors I have on page and how much of them on iframe. I'm using google analytics.
I'm looking forward what do you suggest.
BTW: I am using special url for embeded video but still on the same domain.
Since you've got a special URL for the embedded video, you could use filters to include or exclude that URL for a Google Analytics profile, and keep the same analytics code on every page.
I'd recommend:
Keeping one profile unfiltered, showing all traffic
One profile that filters out the iframe URL
One profile that only shows the iframe URL
More info about Google Analytics accounts & profiles
Can you add a simple GET-Parameter in your URLs? For example: http://www.website.com/video.flv?type=embedded
or
http://www.website.com/video.flv?type=extern
Unfortunately I don't know exactly, how Google Analytics handles same URLs with various GET-Parameter.
Other way is using a simple redirect script or htaccess rule.

Can Google analytics be hosted on a different URL embedded in an Iframe

I have a website www.site.com that contains a iframe which embeds another site www.another.com which contains google analytics code. Now if a user navigated to my website at www.site.com will the google analytics code in the iframe for www.another.com track that user? If not is there a way to solve this?
Yes. There is extensive documentation about this over here.

Resources