Missing HTTP response
-
Hi guys,
Might be a dumb question but I'm not seeing a solution at the moment. I have this UA code online to start measuring cross-domain for a couple of websites. When I do a test, a missing HTTP response message appears.
Anyone notices any errors that could retrieve this message? This is my code (dummy):
Thanks,
Sander -
I think the problem is that this line: (window,document,'script','//www.google-analytics.com/analytics.js','ga'); includes '//www.google-analytics.com/analytics.js' rather than 'https://www.google-analytics.com/analytics.js' The "https:" is missing, so the script does not load and the hit is not sent to GA.
Do you know where your code snippet is coming from? If you look in GA under Admin > Property > Tracking Info > Website tracking, you should see that the snippet includes the "https:"
-
The code looks ok on first sight. I assume you are checking the code on one of the domains - and not on domain-test.be or something similar. Did you try the Chrome analytics plugin to check the errors that are generated?
If you don't want to disclose the site - send the url in pm & I'll have a look.Dirk
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Will changing the property from http to https in Google Analytics affect main unfiltered view?
I set my client up with an unfiltered view in Google Analytics. This is the one with historical data going back for years, so I don't want to do anything that will affect this view. Recently, the website moved from HTTP to HTTPS. There's a setting for the property that will allow me to change the property name to https://EXAMPLE.com and change the default URL to https://EXAMPLE.com. Questions: 1. If I change the property name and the default URL, will this somehow affect my unfiltered view in a way that I'll lose historical data or data moving forward? 2. I have heard that changing the default URL to HTTPS will help me avoid a common problem others have experienced (where they lose the referrer in Google Analytics and a bunch of their sessions go to direct / other). Is this true?
Reporting & Analytics | | Kevin_P3 -
Data missing in the Attribution Model Comparison Tool
Hi, I analysed our conversion data in the model comparison tool. However, there seem to be o lot of data missing - overall conversion value and conversion value for every channel is much lower than shown in the regular acquisition report. Does anybody else experience the same problem? Thanks. Veronika
Reporting & Analytics | | healthpostnz0 -
Internal Referral Traffic Issue due to https/http?
Hi Mozzers, we´re running a secured https account section on our website including a messaging center where lots of non secured own URLs are being shared among the users. Is there a possibility that a user clicking on one of the shared URLs within the https section triggering another session thats been counted as direct traffic? Thanks for your help! Greets
Reporting & Analytics | | LocalIM
Manson0 -
Web traffic in steady decline since launching responsive design in July
The launch of the responsive design is the only event we can correlate to the beginning of the decline in overall visits to the website since July, however we're not sure if this is the issue. To give you some background, the website http://www.precisionpestcontrol.com.au/ is a pest control site in a highly competitive industry where there are many black hat tactics going on with huge keyword competition on a small range of keywords, however historically the website traffic for the above site has been gaining momentum. We create/ update 2 or 3 pages every month with rich content and post 8 blogs every month on pest control related topics. We have done the initial keyword research and all the keywords we used are medium to high volume terms. We don't do any black hat tactics or dodgy link building, we have invested time submitting the site to legitimate business listings in the past. It just seems strange that all of a sudden we go responsive and start to lose searchengine traffic. Possible Issues What we've been able to find so far were some pages that were not redirected properly, probably about 5, and 2 pages that seemed to lead to a 404 error. These have only just been fixed recently, otherwise the mobile site has been functioning effectively. Could this be the reason we have been in decline over the past few months? We also seem to have lost a whole lot of external links somehow, the external link measurement in MOZ has gone from 1500, up to 6,000 then down to 300 or so in the space of a few months. Basically we're trying to figure out what we're doing wrong, or what we can do to try and stop the decline of visits. We've checked the algorithm updates and don't think that Panda or the shift to the Google AI would have penalised us, but then again we could be wrong. Any advice anyone could offer would be hugely appreciated. Happy to provide any data for anyone to have a look at.
Reporting & Analytics | | Peter.Huxley590 -
Google Analytics Set-Up for site with both http & https pages
We have a client that migrated to https last September. The site uses canonicals pointing to the https version. The client IT team is reluctant to put 301 redirects from the non-secure to the secure and we are not sure why they object. We ran a screaming frog report and it is showing both URLs for the same page (http and https). The non-secure version has a canonical pointing to the secure version. For every secure page there is a non-secure version in ScreamingFrog so Google must be ignoring the canonical and still indexing the page however, when we run a site: we see that most URLs are the secure version. At that time we did not change the Google Analytics setup option to use: "https" instead of "http" BUT GA appears to be recording data correctly. Yesterday we set up a new profile and selected "https" but our question is: Does the GAnalytics http/https version make a difference if so, what difference is it?
Reporting & Analytics | | RosemaryB1 -
404 errors more than 1.8 lacs, Duplicate Content, Duplicate title, missing meta description increasing as site is based on regular ticket selling (CRM), kindly help
Sites error increasing i.e. 404 errors more than 1.8 lacs, Duplicate Content, Duplicate title, missing meta description increasing day by day as site is based on regular ticket selling (CRM), We have checked with webmasters for 404's, but it is not easy to delete 1.8 lac entries. How to resolve this issue for future. kindly help and suggest the solution.
Reporting & Analytics | | 1akal0 -
SEO implications of moving from https to http
We're considering moving from 100% https to http to improve performance. What, if any, SEO implications are there? Do search engines need redirects when changing from https to http pages?
Reporting & Analytics | | BlueAcorn0 -
Links are not found in OSE or am I missing ?
Hi.. All of our targeted pages have gone through serious Blog Posting and Social Bookmarking. All the sites were more than PR1 or 2 and all of them had a dofollow link with the perfect anchor texts. But when I trying to check our pages on OSE, it doesnt any of them. Why is that ? Im getting worried now. We have spent our last 7 months on this .
Reporting & Analytics | | qubesys0