Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Per the spec[0], AMP pages must load the AMP runtime via a script tag that references a Google-controlled server, cdn.ampproject.org. This means you are handing over both your site security and your traffic logs to Google. This is a non-issue for the many sites that have already made that bargain (by using Google Analytics, Google Hosted Libraries, Google Fonts, etc.), but it is definitely an issue to some.

[0]: https://www.ampproject.org/docs/reference/spec.html




Great point. IMHO Regardless if you use GA or not, AMP will be a non-starter for any respectable developer who advocates for the open web for this reason.


How is that different for publishers that use any other third party script or service?

The Economist landing page alone uses 22 different such services.


> How is that different for publishers that use any other third party script or service?

I personally don't see it as all that different. They are both terrible.


Well, with AMP users it's going from 22 -> 1, right?

That's at least marginally better.


Because in some locales, that’s illegal.

In Germany, for example, loading third-party scripts from foreign servers that might track users is illegal.

So every "like" or "share" button is a two-click button: first click loads the button, second click activates it.

Everywhere.

AMP would fall under the same legal issue, if it includes tracking.



I think you'd feel different if it was the government installing a tracker in every page. Because it's a company, you say, it's like any other company.

Some companies own so much of a user's online identity, I think it's time they stop growing. If Maps, Gmail and others were all separate companies and they were all competing for market share, I would have no trouble with them. As it is, I'm avoiding all of them whenever possible.


Companies are typically beholden to shareholders and customer reputation, which in this instance is pretty strong.

You could just as easily argue that it's better to have a few gatekeepers with a strong reputation for security than a proliferation of many gatekeepers with little history or reputation, because the latter increases your chances of showing up on haveibeenpwned.com.


It's not different, but now it's 23.


Yeah they said something about open source on the main page. My first thought was "good marketing point, they probably have that legally covered and will force real FOSS to find a new name to differentiate".

Then I got to the guide or spec or something. Saw the CDN. Opened it. Bunch of minified horsecrap of course, with no mention of a non-minified version or how you can host it yourself. Suspicion confirmed.

Open source my ass.





Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: