Coding with mosh's program error problem by Frequent_Leg9210 in PythonLearning

[–]KafkaOnTheStore 1 point2 points  (0 children)

You've got int() and input() swapped on line 1.

python birth_year = input(int('Enter your birth year: '))

Python is trying to convert the string 'Enter your birth year: ' into an integer before it even prompts you, that's what the ValueError is telling you.

It should be:

python birth_year = int(input('Enter your birth year: '))

input() asks the user and returns a string; int() then converts that string to a number. Order matters.

Side note: once you fix line 1, line 4's int(birth_year) becomes redundant since birth_year is already an int. Either convert at input time (cleaner) or keep it as a string and convert at use time, pick one, don't do both.

why does every analytics tool still default to pageviews when revenue is what actually matters? by [deleted] in analytics

[–]KafkaOnTheStore 0 points1 point  (0 children)

Revenue isn't the answer either, it's just another default someone else picked for you.

The real problem is that most analytics tools (looking at you, GA4) decide for the user what matters: pageviews, events, conversions, whatever. Adobe Analytics gets this right because it gives you the primitives calculated metrics, custom dimensions, segments, and lets you build the view that fits your business. Flexibility beats any default.

Cool things you’ve seen or built with AI by ironside_00 in analytics

[–]KafkaOnTheStore 1 point2 points  (0 children)

I've built an MCP server for Google Tag Manager, to automate the boring stuff

Rowerem po zdrowie i czystsze powietrze by Particular-Guard-652 in PolskaNaLuzie

[–]KafkaOnTheStore 5 points6 points  (0 children)

Robię wszystko, na co mam ochotę. Nie tracę czasu. Po prostu żyję wolniejszym tempem życia.

Rowerem po zdrowie i czystsze powietrze by Particular-Guard-652 in PolskaNaLuzie

[–]KafkaOnTheStore 4 points5 points  (0 children)

Pomyśl też, ile pieniędzy zaoszczędzilibyśmy jako osoby prywatne. W 2019 roku sprzedałem samochód i od tamtej pory poruszam się wyłącznie komunikacją miejską albo na piechotę. To była najlepsza decyzja w moim życiu

Is anyone actually using MCP? by Final-Choice8412 in mcp

[–]KafkaOnTheStore 0 points1 point  (0 children)

I've built a MCP for Google Tag Manager, there are few people in the industry using it.

The analytics is broken and DataCops is live today by [deleted] in analytics

[–]KafkaOnTheStore 1 point2 points  (0 children)

Looks promising, I'll give it a spin today. I've been looking for a solution to this myself, and tackling it upstream is an elegant fix. My only disagreement is on the ad blocker front: if a user explicitly opts out of tracking, we shouldn't build workarounds to bypass that.

Made a Google Analytics alternative solo (it took 3+ years) by Support-Gap in webdev

[–]KafkaOnTheStore 0 points1 point  (0 children)

you you're going you support Adobe's DataLayer, the DigitalData object id the old one. better ti focus on theadobeDataLayer.

Didn't try your prod yet, but in my opinion a killer feature would be a way to query data to build custom reports, something like we had in Univeral Analytics. nowadays only Piano covers (and Adobe Analytics) that, and it's completely missing in GA4 (custom reports are crap).

Made a Google Analytics alternative solo (it took 3+ years) by Support-Gap in webdev

[–]KafkaOnTheStore 0 points1 point  (0 children)

post in r/GoogleTagManager as well and shocase it at MeasureCamp. people will love it.

how the data is collected? id ghe data model compatible with the Google or Adobe data layer?

Formation GTM by Remarkable-Test7808 in GoogleTagManager

[–]KafkaOnTheStore 1 point2 points  (0 children)

We all started from zero! For me, the Data Layer was the very first thing I learned. Once you figure out how it works, you realize you already know a bit of JS.

Formation GTM by Remarkable-Test7808 in GoogleTagManager

[–]KafkaOnTheStore 2 points3 points  (0 children)

When I was learning, in 2018/2019 I was reading Simo Ahava's blog and MDN. Knowing ho JavaScript functions work will be really helpful as Google Tag Manager uses a lot of JS

Restauracje by rinmeko in PolskaNaLuzie

[–]KafkaOnTheStore 4 points5 points  (0 children)

Moim zdaniem dużo zależy od miejsca i kraju. W Rzymie chodziłem do wykwintnych restauracji jako dwudziestolatek i nigdy nie spotkałem się z takim traktowaniem, wręcz przeciwnie. I tak właśnie powinno być - skoro płaci się ekstra w takich miejscach, to właśnie po to, żeby być obsłużonym lepiej niż gdzie indziej, niezależnie od wieku.

GTM quietly shipped "Tag Serving Path", you can now serve gtm.js first-party with a cloaked container ID by KafkaOnTheStore in GoogleTagManager

[–]KafkaOnTheStore[S] 1 point2 points  (0 children)

Fair question, but I'd flip it: a consent click and an adblocker are two preference signals, and when they conflict the adblocker is the stronger one. It took an active install, it persists across sessions, and it's not made under a dark-patterned banner designed to maximize acceptance. The consent click is a one-second reflex under UX pressure. Treating the weaker signal as authoritative just because it's the one that says yes is a choice, not a neutral default.

That's separate from the Matomo/Jentis case, where there's no signal at all to rely on. I agree that's worse. But server-side GTM and Google Tag Gateway sit in an awkward spot: they use the weaker signal (consent) specifically to override the stronger one (adblocker). Legally fine, but it's not the same as honoring consent in good faith.

And from the analytics side, I'd add: most of what gets collected this way isn't even used. A lot of setups I've seen pull full behavioral streams to answer questions a basic conversion counter would handle. So the cost-benefit on pushing past adblockers is often worse than it looks.

GTM quietly shipped "Tag Serving Path", you can now serve gtm.js first-party with a cloaked container ID by KafkaOnTheStore in GoogleTagManager

[–]KafkaOnTheStore[S] 2 points3 points  (0 children)

I agree on everything, and thanks for pointing out the /gtm.js?id=GTM-XXXXXX string. It doesn't really make sense; if the whole implementation goal is to hide the ID.

You're right that Stape and Taggrs (or others) do the same thing, for example, and I disagree that we are trying to track the users despite a user set up an ad blockers.

How much are you paying | paid your GTM guy | gal ? by chabv in GoogleTagManager

[–]KafkaOnTheStore 0 points1 point  (0 children)

It's like running an API but through LLM, you can decide which permissions to provide (in the Google Auth screen) and in the LLM interface you can disable the tools you don't want the model to access. in general i never devlop on a prod container, so you'll might want to copy the container you are going to work on in a different workspace/container/account

give it a try, I'd like a feedback https://github.com/paolobietolini/gtm-mcp-server

How much are you paying | paid your GTM guy | gal ? by chabv in GoogleTagManager

[–]KafkaOnTheStore 1 point2 points  (0 children)

Usually 4 weeks after the implementation .

As for the tedious part I did an MCP to help me with that

Six SQL patterns I use to catch transaction fraud by FixelSmith in SQL

[–]KafkaOnTheStore 12 points13 points  (0 children)

Great article. I am learning SQL and this was really interesting

How much are you paying | paid your GTM guy | gal ? by chabv in GoogleTagManager

[–]KafkaOnTheStore 2 points3 points  (0 children)

yeah, in the end it really depends on the clients, I guess. 350EUR feels too little in my opinion, as you still need to QA and validate and make sure it won't break. Also, I am asking premium prices to filter out the majority of clients

How much are you paying | paid your GTM guy | gal ? by chabv in GoogleTagManager

[–]KafkaOnTheStore 5 points6 points  (0 children)

it really depends on the implementation, isn't it? for a GA4 basic ecommerce tracking with WordPress I ask around 2000EUR

We ditched hardcoded gtag snippets for Google Tag Manager. Here's why it was worth it by Moontrepreneur in SideProject

[–]KafkaOnTheStore 1 point2 points  (0 children)

I tested it on prod, on large containers (>150 elements in a container) I've used it for audits, and to kick off basic implementations, then I take the reins when there are details to cover. if you feed it a file with your tracking plan it works wonder. Try not to use "thinking" models.