I'm trying to pin down the reason for a discrepancy in Google Ecommerce tracking for a client, with most reports reporting values about 10 times higher than they should be.
So far the only fault I've been able to find in the tracking implementation is that _gaq.push(['_setAccount', 'UA-xxxxxxx-x']);
is being set twice, both times to point at the same account.
This seems like it might potentially mess up the tracking, but the analytics console I'm using is reporting normal beacon activity.
Does anyone know if this configuration has any effect on how Google reports data?
This won't bother Google, the second call will simply overwrite the first (would be different for trackPageView or trackEvent or other interaction calls, but not a problem when you set the account id).
Related
I have successfully created a GTM trigger and tag using the click_text parameter. When I preview and when I published the change both were successful in showing up on my Google Analytics 4 debug and real time tabs. I cannot seem to find a recorded total for this new tag trigger in either GTM or GA4 anywhere. Does this exist in either of these, or do I need to create an event in GA4 unrelated to what I set up in GTM. I have read most of Google's provided documentation on this specific step and it stops flat at this step of things.
Thank you in advance.
If you see your event in real time data report in GA, you're good. The data is in that property. It, however, is not yet available for aggregation, so you won't be able to count them or use them in other reports.
You should wait up to two days for the data to be in the non-real time reports. Vast majority of the data will be available for aggregation in one day, however. Some starts showing up in hours. GA 360 (paid version of GA) shortens the two days to four hours until all data is there.
I'd also suggest using Adswerve plugin for GA debugging: it will print all DataLayer changes as well as everything that is being sent to GA in the console. It's much more comfortable than using real time hits report and it will show you all dimensions that are being sent to GA.
I have two view/profiles linked to my google analytics account. I want to fetch the hourly data for the current day, ie
start date:today
end date: today
with a few filters and dimensions.
Now I am getting the response for one view that means it is possible in google analytics, however for the other view its showing all the values as 0- this applies both to the gui and the api.
Can anyone suggest me how to enable it for the other view as well?
You cannot. Google Analytics needs some processing time. It might be that some data appears immediately, especially on small accounts, but it's not guaranteed and not a thing you can "enable" or count on.
Updated: Okay, that was a dumb answer. Still, there is a processing latency event in GA Premium. It is possible to get realtime data, but that's a different API with limited data (the core reporting API might return data, but no guarantees for that).
But I admit, since your problem is that you do not get data for the whole day yor have a different problem. But with a premium account you should be able to contact your account manager/technical support.
Using: Universal Analytics (analytics.js)
I am currently testing user experience across a site by triggering different events upon pageView. On a given pageView, multiple events may be triggered.
I am interested in determining what events (or sequence of events) may lead to a conversion being triggered. In the frontend, this can be achieved via Event Flow or Goal Flow visualizations. Unfortunately I could find nothing online regarding querying Event Flow specifically.
Is it possible to query Event Flow from the Google Analytics API? If not, are there any workarounds that would allow us to quantify impact from different flows?
There isnt a way of doing it with the API. I want to start by saying i havent tried doing this I am just going on what i would do if i did want to attempt to do this.
The flow apears to start with any of the normal dimensions country for example. My first idea was the ga:goalpreviousstep1 dimensiosn then i remembered they cant be queried with other dimensions.
I would look into ga:previousPagePath and ga:nextPagePath see what they come back with. queried along with your goal or event they might give you an idea of what the user was doing.
I have this GA-tracked application that is not counting all my events and goal conversions. Events are correctly displayed in the Real-Time chart, but the reports apparently discard some of them. My goal completion counts are being incorrectly reported, too - for example, in a given day my user registration goal displayed less than 20 goal completions but I had almost 100 new users.
I am using Universal Analytics and my pageview count is still low compared to the GA threshold.
Any thoughts?
I also found few bugs and especially some events not firing properly. Hence, I move to old code again. Even in old code,” doubleclick.js” code not working for some Event Tracking. After I replace the code with old” ga.js” file all the event functions start to work without any modifications to the source code. Please stick with the old code for next few months.
Just check Avinash website (http://www.kaushik.net) , as we all know he is the digital marketing evangelist for Google. He is still using the old ga.js code. This tells that this new Universal Analytics code have some hidden bugs and they are testing the code with user experience. Hence this is not the time to fully depend on Universal Analytics. Sooner they will come up with updates and then it will be ok to move to Universal Analytics.
We have a large number of websites (>50) which we wish to track using analytics software. We also wish to track the total number of visits across all sites from one console.
I have done some research, and the supported way to do this by google is to install one 'msater' tracking profile, and use filters to create child profiles on each domain. However, this does not allow more than 49 different sites to be created due to the 50 site maximum, which means that having about 300 sites would result in 6 'master' profiles, which then need to be manually combined.
I have also tried multiple profiles per site using custom variables, e.g.
var _gaq = _gaq || [];
_gaq.push(['t1._setAccount', 'UA-xxx-01']);
_gaq.push(['t1._setAllowLinker', true]);
_gaq.push(['t1._trackPageview']);
var _gaq = _gaq || [];
_gaq.push(['t2._setAccount', 'UA-xxx-02']);
_gaq.push(['t2._setAllowLinker', true]);
_gaq.push(['t2._trackPageview']);
However I read that this may result in the data not properly being recorded, and seems to be strongly disproved of by Google.
Is there a simple way to combine multiple profiles? If possible, i'd rather stick with Google, and we're under a tight budget so can't afford the google analytics tools available.
Google doesn't support this approach because you need to be aware of some things a bit on the technical site. With that said, what you're trying to do is possible, just be sure to review your data. You do have a limited number of profiles that can only be increased by Google - you would have to go through a Google Analytics Certified Partner since they're the only ones that can request that directly (and they still might say no).
The better way to do it is an account approach. When you hit your limit start making accounts from another set of login credentials, add your original email as an administrator, then remove the secondary user from the account (so you don't hit the limit again).
The technical issue you need to pay attention to is Google Analytics creating multiple sets of cookies per pageload. On subsequent page views it's a crapshoot which set of cookies it'll pick, so you'll see high new visitors, high bounce rates, and pretty unusable data. Call the _setAllowHash method properly and you'll avoid the issue by letting GA share the cookies.
OK, according to the official Google Analytics Developer guides, the correct way of doing this is by using the following code:
_gaq.push(
['_setAccount', 'UA-XXXXX-1'],
['_trackPageview'],
['b._setAccount', 'UA-XXXXX-2'],
['b._trackPageview']
);
https://developers.google.com/analytics/devguides/collection/gajs/#MultipleCommands
Tho, as above, Google says this way of doing things isn't 100% supported.