Why is Google Analytics In-Page Analytics telling me that the tracking code isn't installed when it clearly is? - wordpress

I see this problem pop up in a lot of places and asking on Google's product support forums was no help at all, so I turn to you guys. My client has asked me to look into this problem with their In-Page Analytics reporting which turns up the errors:
Your site doesn't load ga.js from Google. If you host the Google
tracking code on your own servers, it isn't updated automatically and
can miss important changes.
We didn't find a tracking snippet on your site. In-Page Analytics
cannot load. Please make sure you have tracking installed correctly.
If your snippet is included in a separate JavaScript file, you'll
have to manually check it is being loaded correctly.
Both of these statements are false. To ensure that it wasn't my original setup that was the problem I installed Yoast's GA plugin (it's a wordpress site) and I still get this error. I've also confirmed that the tracking ID is correct. All other metrics are being reported in GA. This in-page section, however, is the problem.
This is the website, by the way. Any help you have to offer would be greatly appreciated.
http://stoppredatorygambling.org/

How long has it been since the first hit to the property/view? In my experience it takes anywhere from several hours to up to 2 days for that message to go away.

Related

Script error and uncaught type error in google analytics and tag manager

I'm using google analytics and tag manager so many years, I've never had these issues, but now don't know why these appears and did not find exactly where.
In this picture You can see there appears some errors, as I saw in tag manager and google analytics were happen, and only on mobiles.
errors caught by analytics
Could You help me please how can I resolve these problems? Didn't find any other good answers which resolve this to me.
I'm also using on site jQuery 3.6.0, jQuery UI 1.12.1, fancybox 3, flatpickr.
An other problem is I can't reproduce these errors, can't figure out what happens and why, I know only the page where it happened and on mobile or desktop.
If You need other informations I can get from Analytics, just ask it.
Thank You.

How is Google Analytics providing data for my site without the JS code?

I signed up for Google Analytics a couple months ago, but have yet to actually set up the JS snippet on my site.
Today I logged into the dashboard and I see tons of tracking data already in there.
I'm trying to figure out how Google is gathering user data on my site when I haven't even hooked up the code yet.
Also, I see a handful of hits to completely random paths on my domain (mostly foreign). Stuff like www.mysite.com/www.somepornsite.com and I'm just curious why a bot would even bother trying to hit a full domain as a subpath. Or even why my site's getting hit at all (it's completely behind HTTPAuth at the moment), but I suppose that's inevitable.
Thanks for any insight.
I had the same problem a couple of months ago, it turned oud that a bot got my script and did malicious things with it. I got my self a new Analytics code and it did the trick for me.
This will probably also work for you although it it weird that they got your script without even having it published yet.

In-Page Analytics not working

When trying to look at In-Page Analytic in firefox I get this message:
"Problem loading In-Page Analytics
We've identified problems in your setup. These may cause problems loading In-Page Analytics.
Your site doesn't load ga.js from Google. If you host the Google tracking code on your own servers, it isn't updated automatically and can miss important changes.
We didn't find a tracking snippet on your site. In-Page Analytics cannot load. Please make sure you have tracking installed correctly. If your snippet is included in a separate JavaScript file, you'll have to manually check it is being loaded correctly."
When trying to view In-Page Analytic in Chrome I get:
"Access denied. Please try relaunching In-Page Analytics from the report.[Error: 20006]"
I don't understand why this is not working because when I look at other reports in Google Analytic like page views everything seems to be working fine...
Any help would be much appreciated.
Alex
Recent web browser updates block http scripts from loading in a https session by default. In the URL bar click the shield icon and Load unsafe script to show in page analytics.
Credit
I had the same problem in Chrome and this worked for me like a charm:
After you try loading the report, look at the Chrome browser’s Address
bar. At the right side of the bar, a shield icon is displayed. Click
on the shield icon. Then you’re notified that the site contains an
unsafe script, and you’re given the option to run the script. Once
you grant permission to run the script, the report appears as it’s
supposed to
Clear your browsing data and try again. (Ctrl - Shift - Delete)
You should also verify your View settings are correct - please have a look at this GA troubleshooting document:
https://support.google.com/analytics/answer/2559761?hl=en
I had the same issue as user1697748 & Alex Lockwood. I change the property settings to
Start In-Page Analytics in "Full View Mode" instead of embedded mode.
This you can find in Admin --> Property Settings.
Now I the In page analytics opens in new window but get this error.
Access denied. Please try relaunching In-Page Analytics from the report.[Error: 20006]
I am getting the other data from analytic but having issues with in page analytics.
So I did following to fix it.
Make sure the url is same in all your properties. I had at one place http://www.studyn.us and at all other places it was http://studyn.us. Google also recommends to keep it same
https://support.google.com/analytics/answer/2559761?hl=en
Delete all cookies. Close windows and re open it.
Worked for me.
It has been more than 2 years since In-Page Analytics report started to have problems with loading the data in Google Analytics interface. There are a few things you can try:
You can disable the security in your browser (not recommended).
You can download a plugin for Chrome to view some of the Google Analytics data directly in your browser (you wouldn't be able to apply any segments or filter the data by using the plugin).
You can recreate the report using Google Analytics data (the best solution) in Excel or Tableau. It isn't very hard to do, and once you are done, the problem is gone forever.
Here is a detailed step-by-step description of how to recreate In-Page Analytics report.
Example
Google anaytics inpage analytics feature has been disabled and will be removed soon. To overcome the loading errors a new page analytics chrome extension has been developed which is more easier to use and analyze page.
Follow the step by step guide to using inpage analytics chrome extension.
seems to be a widespread problem with this whole inpage analytics thing.
I had/ have several problems my self and there is not only one step towards the solution because there is more than just one problem. So I will write here some of the steps and solutions I made so far which worked:
1. Problem: Access denied. Please try relaunching In-Page Analytics from the report.[Error: 20006] = Solution = If updated to universal analytics you get a code snippet, which is not complete: you get this from analytics
ga('create', 'UA-1200274-1', 'sgo.ch');
ga('send', 'pageview');
but you have to put in an extra line between those two lines
ga('require', 'linkid', 'linkid.js');, plus you have to go under admin ->Property settings-> and switch on Use enhanced link attribution, DONT use full side mode!
Now when you try inpage analytics again it depends on the browser you are using: In IE, it appears an allert, you have to click on "view whole content" (sorry I have it in german, it might be in english saying something else, like loading page, or show whole page or so..), In google Chrome you have to look in the url bar, there is kind of a shield and you have to click on it and say load unsecure script.
Well that is the way how to solve the two error messages with Access denied. Please try relaunching In-Page Analytics from the report.[Error: 20006] and "Problem loading In-Page Analytics We've identified problems in your setup. These may cause problems loading In-Page Analytics..."
Now at least you can anaylse the main page (eg www.example.com), but in my case when i click further, then it doesnt stop loading for ever or it just appears that error again Access denied. Please try relaunching In-Page Analytics from the report.[Error: 20006],
I was really analyzing and testing and breaking my head, until I found out, that when I copy the Url, at the end of the url, my webpages adress repeats again. like this https://www.google.com/analytics/web/?hl=de&pli=1....%2Fwww.example.com/. so i just deleted the last part from the www... out of the Url and pressed enter and then all the datas appeared... Its a little annoying because you have to delete the www out of ech url you are anaylzing manually, but at least you can use the inpage analytics. Sorry for my very bad English skills, but I hope at least some one understood it:)
Please dont stop posting more solutions and ideas:)
regards MA

How do I test Google Analytics? AnalyticsForWindowsPhone isn't working

Has anyone gotten this library to work with Windows Phone 8? I have followed all of the steps in this page, and nothing is showing up on Google. Nothing live, no events... Nothing. I set up the Google Analytics site last week. I also tried this analytics package, and get nothing from it, as well. If anyone has gotten it to work, are there tricks to it that aren't obvious on these pages? I'm curious if there is a way to test my PropertyID from Google, to see if it works - like a URL I can type in with parameters, for instance, just to see if it works.
Thanks.
Raman,
I'm the creator of the MSAF.GoogleAnalytics nuget package. Did you try with fiddler to see if the actual HTTP requests come through?
Hope this helps.
I never did get Google Analytics to work. I ended up going with Flurry, which is working fine.
To see the Real-Time data, you need to track it via Page Tracking, but not not Custom Category, Action or Label.

I have google analytics code in my wordpress site and google says it can read the data but no data is being passed ,

I was using a plug-in called analyticator and also had the code pasted in by accident so i took out the extra code and now i still have no data for analytics. If someone could intervene and provide some insight I would appreciate it. My website is at www.knowledgenation.us .
The Google Analytics Tracking Code Debugger extension for Google Chrome is excellent for debugging these kinds of problems.
It will show, in the developer console of Chrome, exactly what analytics calls are triggered by a particular page.

Resources