this post was submitted on 05 Jul 2025
36 points (100.0% liked)

Firefox

5519 readers
70 users here now

A community for discussion about Mozilla Firefox.

founded 2 years ago
MODERATORS
 

I'm wondering if this concept would work...

I love cheese, and sometimes find that websites don't have enough info about cheese. So I'm trying to help Google and GTM know that I have a significant interest in cheese.

I want to code an extension in FF that looks for a GTM container ID and injects data into that container that sends tags for cheese, cheese products, charcuterie, etc. And even injects data showing large purchases of cheese. This will save Google time, because otherwise I would have to rely on several weeks or months of searches about cheese. Instead, if every site I visit helps me express an interest in cheese, that would be great!

I would, of course, only use this extension myself, and never share such a thing. In the extension options, I would be able to select tags to share, just in case I end up with a similar interest for pine trees, marshmallows, or tomatoes.

Thoughts? Open to any suggestions here.

top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 day ago* (last edited 1 day ago) (1 children)

https://support.google.com/analytics/answer/12799087

Actually that link is not so useful on its own, that one is more about setting up gtm on your website.

So into gtm you generally push data as key-value pairs. As for they keys, websites have freedom to use anything they like, and integrate with other companies who would ask for any keys THEY want, but you can probably make some pretty good guesses. As for the values, there is a standardised list/taxonomy of "audience segment id" codes provided by the IAB. They probably have one for cheese.

[–] [email protected] 1 points 22 hours ago (1 children)

Thanks, that's helpful. There's a public GTM container ID that is emerged in the JS for the site. So the extension would just (in theory) take that and replace the usual keywords with cheese. That way you can (assuming this works) automate something hitting a few sites every hour hitting serval container and spreading out the culpability.

I tried a few iterations earlier today, and I can't confirm in console if it's working is the thing.

[–] [email protected] 2 points 22 hours ago

It's probably no use replacing values that are already in window.dataLayer. they will already have been reported. But you can take a look in there across several sites to see if you can find common ways those segments are reported, then just spam that on every site.

[–] [email protected] 4 points 1 day ago
[–] [email protected] 5 points 1 day ago (1 children)

I love your style. I know YouTube is very fervent in tracking interests, as me watching AliensRock play shotgun king what feels like six months ago, am still reccomended Gotham chess and other chess related videos on the daily.

You might look for a way to incorporate this knowledge, so you'd be blessed with cheese in sweet video format as well! Eating with your eyes is after all a very calorie friendly addition...

[–] [email protected] 3 points 1 day ago

Understood.

[–] [email protected] 3 points 1 day ago (1 children)

solution: don't use google

[–] [email protected] 2 points 22 hours ago* (last edited 12 hours ago) (1 children)

That's nice to say, but Google doesn't care. They will sign you a shadow profile and still track you across every site with google trackers. Which is most sites. I don't even need to have a Google account for this to ~~poison~~ HELP! their actual db entry.

[–] [email protected] 1 points 21 hours ago (1 children)

ohh this is a poison attempt

[–] [email protected] 1 points 12 hours ago (1 children)

My goodness, NO! Not at all! I would never! For sure not. No idea why you would think that.

[–] [email protected] 1 points 9 hours ago* (last edited 9 hours ago)

well then stop using google if you are serious. if not :3