UTM parameters dissappear from URL as soon as the page loads - google-analytics

I built the UTM link with Campaign URL builder. But when I try to run that link, the UTM tags disappear and then nothing shows up in Google Analytics. I'm also using Google Tag Manager.
This is the link I created.

You are losing UTMs because you have a 301: Permanent redirect to https://www.shridharlifeschool.com/. Check the server side settings.

Add a slash to the end of your link:
https://www.shridharlifeschool.com/training/?utm_source=test2&utm_medium=test3&utm_campaign=counseling&utm_content=test4
so instead of doing training?utm_....do training/?utm_...

Related

In Google Analytic reports my domain name gets added to the page path

So in my reports instead of '/some/page/' it is '/some/page/domain.name', which is not what I want...
I have checked with Google Chrome dev tools, the page view details are sent correctly to GA (without the domain name). How do I change that behaviour?
Thx!
Try to check the filters added to the view, maybe you have an url rewite filter set in a wrong way.

Google Tags not fire on any of the event for a wordpress site installed in subdirectory of a domain

I have google tag manager installed on my main site and everything works well. Now I create another WordPress site in the subdirectory of my domain. (By using WordPress multisite function) I added the same google tag manager to my new site. However, when I check it with the preview function of google tag manager, I find none of the tags fire on any of the events.
The firing Triggers are all successful, but the tag is not successfully fired. I can't see the "Firing Status: success" link in the properties section. Also, for the link clicking event, I can't see the google analytics settings line, and the tag label line is "undefined".
The site is: https://www.canfitpro.com/convention-2020/
tag not fire
I'm wondering if anyone knows what happened and how I can fix this?
Thank you!!

Multiple links to same page google analytics

So in google analytics I am seeing two links for every post I have on my wordpress site. See: https://www.screencast.com/t/JVoudis1eK8P
All the duplicate links are the same except for /404/ at the beginning. I checked my database and don't see these links. They do link to the correct page and don't display the /404/ in the url toolbar when clicked.
I inherited this site so I didn't set it up. Has anyone ever seen this? Is a plugin doing this? (We use yoast).
Thanks,
Mike
My suspicion isn't Google Analytics, but something on your site isn't right. Load up an Inspect session in your browser such as Google Chrome, and then go to the Network tab, and watch each request. You'll look for the "status" column for anything that's not a 200. I'd bet something like a JS, CSS, or image isn't loading, and your site is redirecting each 404 request to a page and passing the referring URL to it.

Google Analytics - block outgoing links

I'm building a site which contains external links, however, I don't want any links from my website to show up in another site's Google Analytics tracking.
For example, if www.site1.com links to www.site2.com I don't want the link from www.site1.com to show up as link referral or source.
Not sure if this is possible.
I couldn't find this elsewhere, but not sure if I'm using the correct search terms(?)
You can override the traffic source/medium via utm parameters.
Check out this page for help in generating the URLs.

Google Analytics appending index.cfm to end of my URLs

For some reason Google Analytics is appending index.cfm to the end of all of my URLs when I look at them in GA. The domain used to be ColdFusion based, but is now a WordPress PHP website running on an Apache server without ColdFusion installed.
We've added new pages to the website, and GA is still reporting an index.cfm at the end of the URL, even though that page never existed on the old ColdFusion site.
I didn't set up the GA account initially, is there maybe a setting that was enabled? Or does it take GA a while to figure out it's not a ColdFusion website anymore?
By the way, the website in question is http://www.westgatereservations.com. Thanks.
--ADDED--
Screenshot of page list from Google Analytics. All of these pages are WordPress PHP pages that use a clean permalink URL structure.
This is Google Analytics's 'Default Page' feature. If you go to the Account Settings and Edit the Profile Information, you'll see there's a field called "Default Page". It basically does what the theoretical filter I described above does: it automatically appends the default page (in this case, index.cfm) onto every page URL that doesn't have a page suffix. It's a shortcut, since most of the time, users want /foo and /foo/index.html to be counted as the same thing. But it totally breaks on WordPress and 'prettified' URLs, since they don't have a file suffix.
Just remove the Default Page (leave it blank) and the problem should be resolved. I'm not sure if it will be retroactive (Google Analytics rarely allows retroactive changes), but it will resolve the problem moving forward.
Read more about Google Analytics Default Page

Resources