AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
1.6K members online now
1.6K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

Sales goals stopped tracking bacause URLs seen by GY incorrectly

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Something got wrong with my GA goals tracking (this ony refers to goals which include pages as destination - e.g. purchase funnel).

A week ago GA satrted seeing my URLs differently: URL + web site address at the end, not at the beginning (like this /catalog/aksessuari/banti/www.frekenshop.com.ua - but has to be www.frekenshop.com.ua/catalog/aksessuari/banti/)

 

What can I do to change it?

1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Gusvik2002
February 2016

Re: Sales goals stopped tracking bacause URL is wrong

Visitor ✭ ✭ ✭
# 2
Visitor ✭ ✭ ✭
Hi Gusvik,

I guess you have changed the configuration of Google Analytics. Probably, you entered www.frekenshop.com.ua in the "Default Page" field. Remove your domain name from this field and things will go back to as they were before.
You can find this field in the admin section of Google Analytics:
Admin/view/settings/Default Page

Kind regards

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author Gusvik2002
February 2016

Re: Sales goals stopped tracking bacause URL is wrong

Visitor ✭ ✭ ✭
# 2
Visitor ✭ ✭ ✭
Hi Gusvik,

I guess you have changed the configuration of Google Analytics. Probably, you entered www.frekenshop.com.ua in the "Default Page" field. Remove your domain name from this field and things will go back to as they were before.
You can find this field in the admin section of Google Analytics:
Admin/view/settings/Default Page

Kind regards

Re: Sales goals stopped tracking bacause URL is wrong

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hi Gusvik. I see that you have 2 code snippets of GA in your page. Classic and Universal. Is not good to have both codes at same time (www.frekenshop.com.ua/catalog/malchikam/). Try to fix it before any change. I post you here the codes that you have in your page (the code is in the bottom of your page. you must try to put it on the top, just after the open body tag)


You have the Classic GA code
<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'XXXXXXXX-1']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src=('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>

And the Universal GA Code just after
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-XXXXXXX', 'auto');
ga('send', 'pageview');
</script>

King Regards

Re: Sales goals stopped tracking bacause URL is wrong

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭
Hi Tom,

thanks for the hint - just did, hope it works

Re: Sales goals stopped tracking bacause URL is wrong

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
Hi Ivan,

thanks for the idea - how did you find out that?

Re: Sales goals stopped tracking bacause URL is wrong

Visitor ✭ ✭ ✭
# 6
Visitor ✭ ✭ ✭
I simply check the code (right button in chrome, view source code). I check on more time the page with an Google Chrome extension Tag Manager (https://chrome.google.com/webstore/detail/tag-assistant-by-google/kejbdjndbnbjgmefkgdddjlbokphdefk) and it find other piece of code Google Tag Manager and it have another Google Analytics Tag. Try to maintain only one of this codes (Google Analytics through Google Tag Manager is my recommendation. is it possible that your problems starts with any of this implementations? (Adding a new tag, for example Google Tag manager with GA, without eliminate the others)

king regards

Re: Sales goals stopped tracking bacause URLs seen by GY incorrectly

Explorer ✭ ✭ ✭
# 7
Explorer ✭ ✭ ✭
Hi Gusvik,

Your tracking code is indeed firing twice and you will need to fix this, however this will not cause your URL to show /catalog/aksessuari/banti/www.frekenshop.com.ua

I think the problem is that you have 404 pages on your site (lots of them) where you have linked to www.frekenshop.com.ua without using http://. It is important that you create the full path with the HTTP when using HREF. Eg: Your www.frekenshop.com.ua/catalog/aksessuari/banti/ page, when linking to home it should be <a class="selected" href="http://www.frekenshop.com.ua/" id="curr">Home</a> and not <a class="selected" href="www.frekenshop.com.ua" id="curr">Home</a>