Posts

Showing posts with the label google analytics

Welcome to my Encyclopedia

If you made it here, you found my notes page.  I read a lot of information and then I test out that information so I can put it in my own words.  After trying browser bookmarks, trello boards, evernote, plain old notebook, I'm trying this option to reference all the great stuff I read. I am not taking credit for the great content out there, I only needed a spot where I can find it again and again.   Never stop learning!

Daily Nugget: GA4 Client ID Globally

  How to get the GA4 Client ID in a few ways because you need to use the Client ID in some way ➡ ➡ ➡ 1. You are in the land of "I have little control and I'm desperate": The Client Id is cookie, and you could try to grab the cookie with two variables const cookieObjCid = new URLSearchParams(document.cookie.replaceAll("&", "%26").replaceAll("; ", "&")); const gaClientId = cookieObjCid.get("_ga").match(/[0-9]+\S[0-9]+$/g); 2. You have the power of the backend and call on the forces of gtag API: After you run the config tag, then do this or that... gtag("get", "G-MEASUREMENTID", "client_id", resolve); }); gtagClient.then((client_id) => { window.gtagClient1 = client_id; }); OR gtag("get", "G-MEASUREMENTID", "client_id", (client_id) => { window.gtagClient2 = client_id; }); 3. You think GTM is amazing and the people that create community templates are real...

BigQuery: Best Practices & Notes

Image
  GA4 Datasets Reminders when working with the GA4 datasets. Quick Notes Explorer Panel The numbers following a data table correspond with the GA Numbers following events correspond to the number of days of data event_intraday collect the streaming data Schema (Google Documentation):  https://support.google.com/analytics/answer/7029846?hl=en

Status & Announcement Pages

  Links Campaign Manager 360 Announcements Adobe Google Issue Tracker My Bug:  https://issuetracker.google.com/issues/193187537#comment1 Google Ads Status General Down Detector Google Analytics Releases

Google Analytics: Filters

Filters Quick Notes Filters take precedence in processing.  Changes are permenant. Filters are account-level objects. Filters are applied after your data has been processed. Filters are not applied to product-scoped dimensions via data import. Links Limitations of filters  - Google Doc Testing Applied Advanced Filter on Campaign to Custom Dimension Regex for filter    ([a-zA-Z_0-9()].+) Filter overrides Data Import CD value in Filtered View, check Unfiltered for Data Import value and value populated.