smgy94
smgy94
KPCKevin Powell - Community
Created by smgy94 on 2/14/2024 in #front-end
Google Analytics / Google Tag Manager in the <head>
Howdy! I've just set up Google Analytics and followed the set-up steps to add this code to the beginning of my head section of each page: <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-G8PTM5VMZW"></script> <script> window.dataLayer = window.dataLayer []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-G8PTM5VMZW'); </script> I've since set-up Google Tag manager, and asked me to add this code to the <head>: <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l][];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-K6FXLSWW');</script> <!-- End Google Tag Manager --> My Question is Do I need both of these ? Can I remove the Google Analytics code and wil Google Tag manager still work and send data to GA ? Thanks!!
2 replies
KPCKevin Powell - Community
Created by smgy94 on 2/13/2024 in #front-end
Links do not have descriptive text - Aria Labels don't work ?
No description
3 replies
KPCKevin Powell - Community
Created by smgy94 on 2/6/2024 in #front-end
Google Maps iFrame - Unwanted Blue Border
No description
1 replies
KPCKevin Powell - Community
Created by smgy94 on 2/2/2024 in #front-end
Repsonsive Table on Mobile - Reorder Layout
No description
6 replies
KPCKevin Powell - Community
Created by smgy94 on 1/26/2024 in #front-end
SVG Image creating a funny outline
No description
19 replies
KPCKevin Powell - Community
Created by smgy94 on 1/26/2024 in #ui-ux
What's the expected behaviour of a Mobile Nav Menu ?
Code Pen: https://codepen.io/Smgy94/pen/WNmXGME From a UI perspective, what's the expected behaviour on a Mobile device when a user has the mobile nav menu open ? Currently when the mobile menu is open the users can still scroll and see the webpage move in the background, is this a good user exeperience ? or should they not be able to scroll ? I've looked online and see a lot of example of both so I thought i'd ask for guidance. Thanks!
16 replies