Getting analytics on custom events for Firebase Dynamic Links - firebase

Been reading through the Firebase Dynamic Links analytics documentation, and it's clear that the analytics presented in the console will only show three events: clicks, first opens, re-opens. However, I'm not able to tell if retrieving analytics from the API is limited to the same thing. The example shown in the docs only shows those three events too, but doesn't explicitly say that it's limited to them.
Is there any way to get analytics on custom events (for example, a purchase event) for Firebase Dynamic Links?

The three analytics events correspond with the actions you can perform on the dynamic link itself. If the link then leads to a purchase, you'd log that as a separate event from your app itself. The dynamic link won't contain that information, but the new event will of course be associated with the same app instance ID and user ID (if set).

Related

Google Analytics configured with GTM showing two pageviews. But when I check GTM assistant it only shows one

I have configured Google Analytics using GTM in my single-page application build in next.js. In order to check the pageviews I push a custom event to the data layer called "pageview" each time a user change to a new page.
In GTM I have created a trigger that looks for the "pageview" custom event and fires up the google-analytics tag.
Everything seems to be working properly but when I enter the debugview of google analytics and I change from one page to another 2 paweviews are recorded instead of one.
I have check GTM assistant and the tag is not firing twice, so I do not know where the problem might be.
This is messing my stats as I have twice more pageviews than in reality.
Here in the photos i upload you can see the tag. In the history and message no tags are getting fired
While this is what happens in google analytics (both page_views contain the exact same parameters (same page_refererr, page_location...):
Here is the implementation insine next.js. Basically I call the function GTMPageView() each time a route is change. GTMPageView() is the function that pushes "pageview" into the datalayer
I really appreciate any kind of help as I have been hours trying to solve the problem and I cant get to the end of it.

Is it possible to create a funnel in Google Analytics, based on JavaScript events taking place on one web page?

We have a complex order form with multiple steps all taking place on one page. From a business analysis point of view we've been given a requirement to be able to visualise the progress of users through this form in Google Analytics as a funnel.
e.g.
Option on step 1 clicked
Option on step 2 clicked
Input on step 3 completed
Checkbox completed
Form submitted
I know we can add various JS events across the form to track the actions that have been taken, but I can't seem to find a way to create a funnel in GA from this. We're using GA with Google Tag Manager.
The goal is to be able to analyse where on this form users are abandoning it, and how long they are spending on the various steps.
Is this possible? My current research suggests that GA couldn't create funnels from events a few years ago, and that it doesn't seem possible still. I don't want to use the method of virtual page views that I have seen floating around, as this comes with too many other negative effects.
If you want a manageable funnel report in Google Analytics, you shouldn't be using events but virtual pageviews. Anyway, if you don't want to use the latter, Google Analytics offers the Events Flow Report (https://support.google.com/analytics/answer/2521316?hl=en&ref_topic=2521315), in which you can see how users activate the different events you have configured, even if it is not strictly what you are looking for.
The alternative is to track these events in Google Analytics and create a funnel with Google Data Studio.

Firebase Dynamic Link Click Count

We are planning to integrated firebase dynamic link to track content sharing and referrals in our app.
Firebase provides analytics data for how many times a user clicked on a url as mentioned here.
Since we are going to generate these links programmatically for referrals, is there any way to do a more granular tracking ?
Like if I want to see how many times all the links generated were clicked.
Or something like how many times a link with a particular parameter was clicked.
I tried looking through firebase docs but I don't think these usecases are covered there.
And if thats correct, what is a better way to track this ?
If you want to collect the analytics data for programmatically created dynamic links, you'll have to use REST API. Though, I also think that you can use BigQuery but I haven't tried this before. Collecting the data via Firebase Console is not yet available.

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.

Tracking Member, Non-Members using GTM

i need too track Members and non-members in the website using google tag manager. specifically, it is important to distinguish users prior and after sign up process and not overwrite them as members (even though they entered the website and non-members). i don't want to push the data directly to the google analytic so i need to create tags in google tag manager to be fired.
any suggestion?
cheers
You might want to take a look at Custom Dimensions to track the status of visitors on your site. For more information on Dimensions, you may find more details on Google's Support pages: https://support.google.com/analytics/answer/1033861
This would allow you to segment the data and Reports in Analytics based on those Dimensions.
Otherwise, if you cannot send data to Google Analytics from Tag Manager, you might want to track users by settings cookies according the specific Rules. This article provides a gist of how to set cookies from within Tag Manager: http://www.simoahava.com/analytics/universal-analytics-fire-script-just-per-session/

Resources