Firebase does not track clicks on dynamic links - firebase

I have created a dynamic link through the Firebase console. The link works correctly according to its flow.
The issue is that the link analytics does not work. On the day of creation, Firebase counted clicks. But on the day after creation, total amount of clicks is equal to zero (while I know that there were at least 11 clicks).
How to solve this?

There are a couple of things that may have happened here:
1) There was recently a change that meant that clicks are no longer reported right away. This is actually to enable the new link analytics API: https://firebase.google.com/docs/reference/dynamic-links/analytics
2) Dynamic Links also reports to Google Analytics for Firebase. These reports default to showing "yesterday" which can be a bit confusing. GA also batches its reporting on the client side to save battery, so even though analytics are recorded, they aren't necessarily reported until later.

Related

Google Tag Manager - Tag Firing Way too Many Times

We are having an issue with our tracking on www.x3tradesmen.com where a Google Tag Manager tag is firing way too many times and we cannot determine why...
We only have one website event tag linked to Google Analytics called Form Submit and typically we would receive between 2-10 Form Submit events per day at the most, however, recently we have noticed that the tag is firing 1000's of times sporadically and we cannot pinpoint the issue. We have also noticed that our users have drastically increased for short time periods (minutes/hours). We typically only get 40-80 users per day on our website but we saw a massive spike of around 400 users in less than one hour once.
We recently added the facebook pixel via GTM and that is really the only change that we have made and now we are seeing these issues. Does anyone know of any common reasons to why this would be behaving this way or can anyone see any major issues with our implementation of GA or GTM on our website that would cause this?
I know this information is vague, so please let me know if there is specific information that would help identify the issue.
Thanks in advance!
Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
Screenshot 5
I presume it is the FB pixel - Facebook automatically collects information in addition to what you have configured yourself and uses post/submit events to send them. You can disable that behaviour as per documentation and see if it makes a difference:
Automatic Configuration
The Facebook pixel will send button click and
page metadata (such as data structured according to Opengraph or
Schema.org formats) from your website to improve your ads delivery and
measurement and automate your pixel setup. To configure the Facebook
Pixel to not send this additional information, in the Facebook Pixel
Base code, add fbq('set', 'autoConfig', 'false', '')
above the init call.
I had a similar issue where suddenly additional submit events turned up in the GTM preview pane that I finally tracked down to FB, so there is a good chance that yours is the same problem.

Page counter and Google Analytics show different page visits

I have enabled a hit page counter in my website (www.ludhianaweddings.com) to count daily visits. Its an Update SQL query on each and every page that is updated by 1 each time any page is visited. I am also using Google analytics to overview my site. Now i am getting different results in both. For me Hit page counter always show more visits than Google analytics. For example from last three days my hit counter visits are 319, 411, 379. While Google analytics showing 199, 266, 234 in its reports.
I have put my update query on top of the page and Google analytics code after closing body tag. Is it can be a reason for that ??
Sorry to those who will say it off topic as i had no other better option to ask this from expert(s).
Please help me out...Thanks in advance
I doubt that you will ever get your Hit counter to match 100% with Google analytics. There are a lot of things that can cause Google analytics to not log a hit. The first being the user not having JavaScript enabled the second being possibly ad blocker.
There are also referral spam bots which will insert random hits into your Google analytics account directly and bypass your website 100%. In that case your Google analytics will record higher numbers then your hit counter.
It also depends on what metrics you are looking at:
ga:sessions The total number of sessions.
ga:users The total number of users for the requested time period.
ga:pageviews The total number of pageviews for the property.
These are all different numbers and may have different results depending upon how you look at them.
This seems at least vaguely code related, so, not off-topic.
Placing JavaScript code after the closing body tag is technically wrong, although in most cases it will still work.
If anything you would put it before the closing body tag. Even that would not give you the optimum result, as this would not count users that have aborted the loading process before the page was finished.
But at the end of the day Javascript-based tracking will always give you less visits then a serverside solution. Many bots do not execute JavaScript, people can opt-out from tracking and some adblockers block Analytics tags from working. Not really much you can do about it, except trying to figure out if the sample you are catching with javascript tracking is still big enough to allow conclusions based on it (for the moment I'd say yes, usually it is).

Google Analytics not generating data

I'm new to Google Analytics. Yesterday, I created an account and I pointed it to our website. I've added the JavaScript codes that Google Analytics generated for us. I put the code on all of our .html files.
I've been hitting our website from outside and so does my officemates since last night and also today. However, when I visited https://www.google.com/analytics under Reporting, everything was showing 0. I don't see any single spike at all.
I would recommend navigating to the Reporting -> Realtime -> Overview tab within your Google Analytics (GA) account. This is an almost realtime view into users on your site. In a separate tab access your site and refresh the page, this page view event should then be visible in the GA Realtime view.
If you can see your page view then its likely that you've inserted the correct GA script into your page and that you've used the correct GA property id. If you cant see your own page view then you will know that your script is incorrectly inserted or your GA property id is incorrect.
Last bit of advice: GA often has a 24-48 delay before you are able to use its full suite of insight tools (such as GA Goals). If you're expecting to see Goals populate immediately you're gonna have a bad time.
Last-last bit of advice: make sure that you select the current date from the date range picker in the top right of the GA Reporting view. It defaults to yesterday.

Analytics receives events, but does not log them in reporting

I've been all over google and SO looking for answers here. I've checked code against google's tracking code suggestions and I've even tested with their sample code. But I cannot get the events to be properly tracked in Google Analytics. My code has been live on the site for some time (~ a month), so this should have overcome any lag on the reports there.
I'm using analytics, the async version, which works fine for page tracking and other 'normal' features. Trying to set up event tracking, I followed the example, and waited a week. Still nothing. I've been debugging and I'm not having any of the 'normal' problems (as far as I can see).
So:
Example tracking code fired:
Play
This triggers an event, which according to ga_debug.js, is fired successfully. Checking the network panel I can see the request and _umt.gif returns status 200.
I've checked the request string in there. All seems good.
But checking GA, there is nothing in the reports. But when you go to GA Realtime > Events, you can see the events being fired!?
I can trigger the events on page or fire them from the console and corresponding events show up in the realtime section, but they have no data (Category, Action or Label).
This is odd, that even firing Google's own example code nothing is showing up.
If anyone has any ideas of where to start debugging for this (or has experience of anything similar), it would be great to hear.
I have been struggling with this issue for three days. I know this thread is old, but I stumbled upon it during my searching. I wanted to post what my personal resolution was in case someone else comes across this.
My Solution:
Here is where I finally found it:
https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingCustomVariables
Under: "Using Custom Variables" > "Traditional (ga.js) Snippet" (We are using the ga.js still... for now.)
I had a similar problem and ran into this issue:
https://issuetracker.google.com/issues/35353093
In summary, I was setting the userId property via below. Removing that started historical tracking for me.
ga('set', 'userId', username);
This question gets asked a lot and the answer is almost always "Google Analytics standard SLA is 24 hours". The logs are processed in batch behind the scenes. At peak times, this takes a while.
It can take up to 24 hours for the Google Analytics servers to update -- Source: Google Documentation - Check your web tracking code setup

Why "experiment" menu item is not visible in "content" section of Google Analytics?

I was read that Google Optimize will be moved into Google Analytics from Google and see also some fresh articles showing that is done.
Unfortunately there is some problem with visibility experimets in Google Analytics I cannot see such menu position.
Do you have and idea how to switch on this feature, why it is not visible or how to efficiently report this problem if you think that is bug.
Here is what I see in content tab for every site. I am currently using Google Optimizer so maybe it is some collision but it will become soon obsolete and want to switch tool.
There are number users with not having this option.
Google introduced this option on 4th June only, and will take some time to trickle down to all the users.
Wait for time.
Reference: No content experiments option inside Google Analytics

Resources