Blexy Flexy - Answers
Home/Blexy Flexy/Answers- About
- Questions
- Polls
- Answers
- Best Answers
- Asked
- Followed
- Favorites
- Groups
- Posts
- Comments
- Followers Questions
- Followers Answers
- Followers Posts
- Followers Comments
- Questions
- Polls
- Answers
- Best Answers
- Asked
- Followed
- Favorites
- Groups
- Posts
- Comments
- Followers Questions
- Followers Answers
- Followers Posts
- Followers Comments
How can I separate Firebase event analytics by platform?
Firebase, despite having a robust data structure, provides extremely poor toolset to access the data and query it properly. You want to connect your Firebase to GA4. Once done, you will have all your data in a proper space for analysis since GA4's data structure was completely copied from that of FiRead more
Firebase, despite having a robust data structure, provides extremely poor toolset to access the data and query it properly.
You want to connect your Firebase to GA4. Once done, you will have all your data in a proper space for analysis since GA4’s data structure was completely copied from that of Firebase. Since GA4 is still a new and certainly buggy product, it is advised to only use the explorer and change the data retention setting to the maximum that’s allowed to you. By default, it’s just 2 months.
Now that should solve your analysis requirements, but if you need to go even deeper than that, you can always link your GA4 property to BQ and then have the full power of SQL at your feet.
What is the data processing latency for the Google Analytics data api for (GA4)?
The Google analytics data api has the same limitations as to when data has completed processing as the old Google analytics reporting api for UA. The main difference is that with the old reporting api we could see that processing was complete by checking the is golden field. Unfortunately I have beeRead more
The Google analytics data api has the same limitations as to when data has completed processing as the old Google analytics reporting api for UA.
The main difference is that with the old reporting api we could see that processing was complete by checking the is golden field.
Unfortunately I have been informed by the google analytics api team that there is no plans at this time to add an is golden option to the Google analytics data api response for GA4.
Because of this I always ensure that I give enough time for data to have completed processing before I request data from the api.
if you check the data freshness chart
It says that for all reports everything should be processed in 12 hours but it will depend greatly on the size of the properly. That being how many its your account is getting. If its a large account it could take more then 24 hours.
So how long you should weight will greatly depend upon how must data you have. Only you can decide. If its a big account with millions of hits a day i would go with the old 24 – 48 hour rule.
You could ofcouse just run a few tests. Check the data now store it and see what you get in two days if the data is the same then you will know your account processes faster then the 24 – 48 hour.
See lessGA4 purchase event function in Debug View, but not seeing the event in list
Events with debug_mode = 1 will not show up in GA4. Using GTM in "preview mode" automatically enables "debug mode". See Debug Mode
Events with
debug_mode = 1
will not show up in GA4.Using GTM in “preview mode” automatically enables “debug mode”.
See Debug Mode
See lessGoogle cross domain analytics add params in URL when cookies are not accepted
How is GA determining if it should store its data as cookies or push it to url? Pushing the data to url is the mechanism of cross-domain tracking. You set a list of domains that cross-domain tracking should work for. This is likely your problem here. You're not supposed to set subdomains, only TLDsRead more
Pushing the data to url is the mechanism of cross-domain tracking. You set a list of domains that cross-domain tracking should work for. This is likely your problem here. You’re not supposed to set subdomains, only TLDs in vast majority of cases.
This data is stored in cookies before the user goes to a different domain. If cookies are deleted, then it’s stored in the JS scope of the GA library. This implies that they would be erased and regenerated on JS context loss. Loss on a page unload, regeneration on a page load.
Well. Yes. But very tricky and expensive. And the immediate question is why would you do that. This would defeat the purpose of blocking the cookie. Natively, GA doesn’t support other methods of passing the value, but if you’re into tinkering, you can either store the value on your backend and then retrieve it, using some “primary functionality” cookie. Another option is using third party server’s cookies, but that would defeat the purpose even more.
No, it’s most likely a mistake.
Now, you really asked all the right questions, so I don’t have much to add, except that disabling your primary anonymized behavioral tracking is usually a lazy “safe” choice. And lazy here implies wrong.
Normally, larger corps don’t block primary tracking. They only block third party marketing-related tracking. Basically, pixels. They consider their main analytics part of the primary functionality, which is a strong case given that main analytics data is often used in debugging, performance measurement and even for app security audits.
Finally, using onetrust or a similar solution to completely manage your tracking is sub optimal. They basically just destroy all “offending” cookies all the time. This will mess up your behavioral data very significantly.
The proper way to use consent management systems is declaring user consent choice in your tag management system and then in it, block rules/tags from firing in case the consent is not given. You normally just carefully block marketing tags there based on consent. Remember, consent management systems are only deleting cookies. Because that’s trivial. They don’t block network requests. Absence of cookies may not prevent the data from being sent, often even uniquely identifying the client, using the primary cookie’s user id, allowing to match the activity to the backend database.
See lessGoogle Tag Manager equivalent of adding multiple IDs with gtag( ‘config’ )
GTM takes care of it. Every tag type will load its respective library if it's not yet loaded (it's best to let GTM load its stuff as needed), then execute the config method if it's applicable to the library/tag type and fire events as needed. GTM will also define dataLayer if it's not defined. It wiRead more
GTM takes care of it. Every tag type will load its respective library if it’s not yet loaded (it’s best to let GTM load its stuff as needed), then execute the config method if it’s applicable to the library/tag type and fire events as needed.
GTM will also define dataLayer if it’s not defined. It will also hijack the dataLayer from gtag, so no need defining the gtag() function. Basically, pretty much anything you can do with gtag in code is better done through GTM, so if you do tracking properly through GTM, you don’t even touch gtag.
dataLayer, in GTM world, becomes a tool of communication between front-end and GTM’s logic rather than just direct mindless proxy to GA endpoints, as gtag() offers it.
Useful for GA4 double tracking into different measurement ids, Killan Walsh in Measure slack just uncovered it. You can supply comma-separated measurement ids in the GA4 config tag like so:
Just return comma-separated measurement ids in a string from that var. But this seems like an undocumented, unfinished feature, so use with caution.
Google Analytics: events suddenly only showing in realtime report but not in other reports
Your screenshots really don't show many details about reports. Your non-real time screen shot doesn't indicate a problem. Looks like the volume of events went down, but you're still getting them. Try making a screen shot that indicates the problem. Also capture more info in it. Like dates, filters aRead more
Your screenshots really don’t show many details about reports.
Your non-real time screen shot doesn’t indicate a problem. Looks like the volume of events went down, but you’re still getting them. Try making a screen shot that indicates the problem. Also capture more info in it. Like dates, filters and dimensions pulled. Always capture these in any analytics screenshots.
Make sure your report doesn’t contain filters that filter out the hits. Also check your view to make sure it has no filters in it.
Make sure the dimensions you’re pulling in your report are properly set in the events, which real time may not show. So use on-site debugging to see if they’re set.
See lessRegex for Google Analytics on Audience Creation
You can try constructing the regex so that it matches 1 OR 2 like this: ^(Cappuccino|Mocha|Latte|Americano|Ovaltine|Croissant|Ciabatta|mccafe|cheesecake|tiramisu)|(Flat White|Bubble Milk|Sugar Loaf|Thick Toast|Mini Donuts|Pizza Bread|Baked Pasta|mousse cake)$ Here is a link to play around with the rRead more
You can try constructing the regex so that it matches 1 OR 2 like this:
Here is a link to play around with the regex
Affiliate Link Tracking
Normally, if you're a small affiliate, and you get your commission based on the merchant's conversions, then the merchant supplies you with that information. If you're a rather large affiliate working with various merchants, then you want to make your own pixel and ask every merchant to install it sRead more
Normally, if you’re a small affiliate, and you get your commission based on the merchant’s conversions, then the merchant supplies you with that information.
If you’re a rather large affiliate working with various merchants, then you want to make your own pixel and ask every merchant to install it so that you could monitor conversions and charge the merchants based on the pixel’s data.
If you’re charging for leads, however, then it’s easier. You can easily track clicks on your site’s ads.
Is it still possible to track mailto clicks with Google Analytics 4?
Yes, it's still possible. The inherent ability to track clicks does not lie within GA UA/GA4. Tracking is done separately, often in GTM. What happens on that tracking - whether it's a UA or GA4 event has no influence on the tracking. Exactly the same logic applies to G ads conversions.
Yes, it’s still possible.
The inherent ability to track clicks does not lie within GA UA/GA4. Tracking is done separately, often in GTM. What happens on that tracking – whether it’s a UA or GA4 event has no influence on the tracking.
Exactly the same logic applies to G ads conversions.
How do I log ajax requests in Google Analytics?
If you are using the Async tracking code then your trackevent code should look like this: _gaq.push(['_trackEvent', 'Videos', 'Play', 'Baby's First Birthday']); rather than this var pageTracker = _gat._getTracker(); pageTracker._trackEvent(category, action, item); It is confusing because the help doRead more
If you are using the Async tracking code then your trackevent code should look like this:
rather than this
It is confusing because the help documents don’t seem to be fully updated. The top of the help document for this feature still uses the old format but if you keep going down you will see the rest of the samples have been updated correctly: