|
I'm dipping my toes in Google Analytics 4 event tracking/registering/logging via JS. I'm not at all versed with GA or the "correct" way to track events that may or may not be "duplicates." So I'm wondering if I have an event called "search," like https://developers.google.com/analytics/devguides/collection/ga4/reference/events#search do I want to prevent a default "page_view" sort of event if someone lands on /search/[TERM] and ONLY track an event called "search" or should I be tracking both? ex: Someone lands on /search/[TERM], my app currently logs two events called "page_view" AND "search." Will this pollute Google Analytics' data by registering two events for the same action that the user did?
|
# ¿ Jun 30, 2022 19:11 |
|
|
# ¿ May 3, 2024 12:53 |
|
Awesome thank you both!
|
# ¿ Jul 1, 2022 22:36 |
|
Instagram?
|
# ¿ Jul 21, 2022 18:17 |
|
SmugMug is really nice, we use it where I work
|
# ¿ Jul 21, 2022 18:32 |
|
Just use an image map and call it a day
|
# ¿ Sep 18, 2022 02:33 |
|
Yeah I’ve always assumed that’s how tracking images in email newsletters works
|
# ¿ Sep 30, 2022 03:53 |
|
Glad to see the web "development" community is catching up to my 2011 jank method of using a serverside php framework to generate a static site and push up the resulting html to prod upon change.
|
# ¿ Oct 31, 2022 22:27 |
|
prom candy posted:All the benefits of SSR but then also the benefits of client-side React once it's hydrated Yeah, I'm actually working on an SSR NuxtJS webapp right now and I just noticed that you can literally browse it fine without Javascript enabled. It's pretty great and has defeated my curmudgeonly attitude towards SPAs in general.
|
# ¿ Nov 1, 2022 02:50 |
|
prom candy posted:Some people just clone their repos on their servers and run git pull (I don't recommend this).
|
# ¿ Nov 1, 2022 22:45 |
|
kiwid posted:For anyone that is curious, I ended up going with a panning and zooming via JavaScript approach with absolute positioned anchors. It's probably an accessibility nightmare but it does work well on both desktop and mobile with touch support and pinch to zoom. As a fallback, they get a table (as it always should have been). this is awesome, great job fulfilling those requirements, but you're right that table view is much nicer and will be for anyone new that needs the tool and doesn't understand why the legacy view looks all "bubbly"
|
# ¿ Nov 15, 2022 15:20 |
|
teen phone cutie posted:they're avatars so no only a possible max width and height, but could be any height and width really Any way to parse the images serverside and find their height/width, then render the height/width into the markup? This is an old problem that I believe some rendering engines have tried to solve (e.g. Chrome and its scroll anchoring - https://developer.chrome.com/blog/scroll-anchoring/), but you're not going to solve this reliably without knowing the image heights.
|
# ¿ Nov 18, 2022 23:26 |
|
teen phone cutie posted:amazing worked perfectly thanks for the suggestion. awesome! Glad to help. I had to beg another dev team to expose image width/height through an api once and they really didn’t get why but it can make a huge difference for things like masonry-like layouts and anchors like in your situation.
|
# ¿ Nov 19, 2022 03:02 |
|
its a wordpress system! i know this!code:
https://developer.wordpress.org/reference/functions/get_the_category/ Last Chance fucked around with this message at 20:22 on Nov 29, 2022 |
# ¿ Nov 29, 2022 20:19 |
|
Sab669 posted:God drat it thread I hate CSS / UI Design so much, I'm so bad at it Possibly wrap the accordion in a div that has a fixed height of 100vh (100% of user's viewport) and has overflow: scroll turned on: code:
|
# ¿ Dec 8, 2022 17:52 |
|
teen phone cutie posted:one thing i just realized about this is that somehow the forums don't have this issue, but also don't seem to render the width/height into the markup Not that I'm aware of, but like i said in my OP i do know that Chrome has a "scroll anchoring feature" that will attempt to anchor pages correctly even as images load in with no height/width. The link you posted does take me to the correct post on Chrome, but when I tried it in Safari and Firefox, they both failed at staying in the right spot so you may be seeing Chrome's specific functionality at work here..
|
# ¿ Dec 9, 2022 23:56 |
|
prom candy posted:
This is extremely good advice
|
# ¿ Dec 22, 2022 17:14 |
|
teen phone cutie posted:this might be an extremely dumb question, but is there a way to set a cookie for https://www. and non-www. versions of your site? May not be an option for you but I’d settle on just one and redirect traffic to it and not have both.
|
# ¿ Feb 2, 2023 04:52 |
|
Boba Pearl posted:I'm apologizing in advance, because this is going to be mean, but I kind of need help. If you're looping through blog/news posts and displaying them in HTML via PHP in something like index.php, just do that in a new file called rss.php, but output XML that follows the RSS spec instead of HTML
|
# ¿ Mar 5, 2023 04:41 |
|
prom candy posted:And meanwhile Sveltekit is doing cool poo poo like this https://svelte.dev/blog/zero-config-type-safety I've been looking at Sveltekit as well. I've really liked NextJS for a couple of projects, but I'm intrigued..
|
# ¿ Mar 11, 2023 05:31 |
|
???
|
# ¿ May 11, 2023 14:58 |
|
Dabir posted:Hi so I don't do web development in any kind of serious way but I've tinkered a little bit. Why did my friend get upset when I told him I do collapsible lists like this? not really accessible unless you went wild with aria-roles everywhere. sort of a nonstandard way of using a form field. probably better to use and style something like the <details> tag which has pretty wide support nowadays. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
|
# ¿ May 12, 2023 16:47 |
|
I love OO programming. Has it fallen out of favor in some areas? I hear a lot of talk about procedural and functional programming these days
|
# ¿ Jun 23, 2023 16:37 |
|
May not be a popular answer, but that’s the sort of thing I ask ChatGPT to give me the broad strokes for. Seems to work well in lieu of library documentation that can be too abstract or broad.
|
# ¿ Aug 11, 2023 23:50 |
|
|
# ¿ Sep 10, 2023 23:22 |
|
That means the style is on the HTML tag itself via the style attribute, and is often changed/set with JavaScript.
|
# ¿ Sep 12, 2023 04:31 |
|
Yeah, maybe scale with something like code:
|
# ¿ Oct 29, 2023 02:35 |
|
|
# ¿ May 3, 2024 12:53 |
|
What the hell is the Orion browser about? Never heard of it
|
# ¿ Apr 19, 2024 20:39 |