I want to use Google Analytics on my Vkontakte application (written with Flex). Vkontakte does not support naturally in Google Analytics (not as Facebook) which means I can't even put the Google Analytics JS at the bottom of the page (or even use JS for that matter). What I can use is the AS3 library of Google Analytics, but for some reason it reports of failed gif requests every time I use it to report on an event.
Is it even possible to use Google Analytics on the described environment?
If so, what could be the reason of the failed gif requests? Is it debugable?
Update #1:
After debugging the "Google Analytics for flex" source code, I got this error: Error #2035: URL Not Found.
Update #2:
It turns out to be a known bug as suggested here. It works perfectly on IE.
Update #3:
It works on FF when I disable the "ABP Tracking Filter (by rick752)" filter at the "AdBlock Plus" extension.
It's possible, the problems I've experienced were due to FF problem as stated in the question.
One potentially relevant way to debug this: install a network monitor like Fiddler, and look at the requests going over the wire. Do you see the right GIF get downloaded? If so, you're good. If not, you'll see what's going on on the network.
Here's some info from Google on debugging the gif requests. What do you mean when you say it failed?
Related
I am trying to use Google Tag Manager to collect event data (including page view) but it isn't feeding through to Google Analytics once its deployed to Vercel.
I have checked the following things:
GTM has a GA4 Configuration Tag with the measurement ID from GA
I have set up the GTM measurement ID as a public variable in env.local (and reflected this in Vercel)
T have added the script to _app.js
I have added the iframe to _document.js
Set up the tags required in GTM and published it
Using dev tools I have checked that the gtm script (with the correct reference) is fired in the Network tab
Also checked dataLayer in the Console tab is collecting the data expected
However, in spite of all of this I can't see any data in Google Analytics. Played around a bit yesterday expecting to see some today but nothing.
It seems to work on localhost and checking both in real time Vercel doesn't register a view but localhost does.
Previewing the Vercel URL from GTM does say its connected and I can view that in real time in GA when going this way, but if I go to the address directly it's not logging it. Checking 'Tag Coverage' on GTM also says the pages aren't connected.
Am I missing something? It seems to work in theory, just not in practice when visiting the Vercel address directly (as opposed to via GTM preview)?
Thank you in advance
I think I found an answer myself and it's rather basic. It seems a pop up blocker I had installed ('Pop up blocker for Chrome™ - Poper Blocker') was preventing it from firing. Disabling the extension seems to have done the job.
We were loading Google Analytics via GTM but I removed it in our testing account, but I noticed now that it seems to do some weird requests still to:
www.googletagmanager.com/gtm.js (this I recognise as normal)
www.google-analytics.com/gtm/js (Content-type: application/javascript)
What the heck is the last one? Is it normal? What does it do?
From the source of the file I figured out it is Google Optimize.
I am using GTM with Google Analytics and I can't get out of debug mode. I am not in GTM "Preview" mode and don't have the GA debugger extension installed. It's happening on all browsers - for everybody. Every page load dumps dozens and dozens of lines in the console like this:
I have checked all the settings I can think of both on GA and GTM. All the tags on GTM that use analytics have the debug set to false, and debugging by default is not checked for the environment (screenshots).
I am kind of frustrated and also concerned that this is slowing site browsing.
Any help appreciated.
Follow-up - I already suspected this, but it appears that GTM is the culprit. It's loading analytics_debug.js instead of analytics.js (despite there being no obvious setting set to debug).
I have another site that uses analytics directly (not through GTM), and it does not have this problem.
Well, turns out I did have a tag that had "use debug version" set to "true". I thought I had checked all the tags, but I hadn't noticed that there is now a 2nd page.
I'm trying to use the Google Maps Javascript Geocoder code. I figured I'd start with their example at https://developers.google.com/maps/documentation/javascript/examples/geocoding-simple
I copied their code exactly, putting in my Browser Key where it said YOUR_API_KEY,
and the page seems to load for a moment, and then I get this error in my console:
Google Maps API error: RefererDeniedMapError
And a Javascript alert telling me that it was unable to load.
I have checked my developer console and I have enabled the Google Maps JavaScript API, and I don't have any referrers set up for that key (which is supposed to let all requests through), and yet I still get this error.
I have to believe I still have a setting wrong somewhere, but the console is so simple to use I can't identify where. Can anyone give me the benefits of their experiences on setting up the Browser key to work properly?
Thanks in advance,
DW
I am tracking my application with Google Analytics Universal Analytics, I had implemented a code into my web site, and into my desktop application using POST web requests.
Everything works fine in last Wednesday(20.11.13), and I could see the results in the real-time report. But today(24.11.13) the real time reportstopped showing results.
I had tryed to debug it with fiddler, and the pixels seems to fire correctly, so my questions are:
how do I check that Google Analytics actually accepted the tracking request? does 200 header response is good enough?
Do you know if Google had changed their API?
Do you know if they have problems with their real time report? (my other real time reportis still working so I don't think this is the reason)
Thanks!!
OK, If anyone encountered this weird issue, the solution is wierder.
My production GA works fine but all the test one stopped working, the solution was toopen a new GA account and point my GA pixels to this account.
I believe they have a glitch or they blocked my test accounts.
Try using Omnibug for Firefox or GA Debug for Chrome. They will tell you weather your measuring tags fired successfully or if there was an issue.
I am attaching a screenshot of Omnibug -- it lists all the tags fired on any given page: