Justin Watt, a Web engineer, was browsing the Web in his room at the Courtyard Marriott in Midtown Manhattan this week when he saw something strange. On his personal blog, a mysterious gap was appearing at the top of the page.
After some sleuthing, Watt, who has a background in developing Web advertising tools, realised that the quirk was not confined to his site. The hotel’s Internet service was secretly injecting lines of code into every page he visited, code that could allow it to insert ads into any Web page without the knowledge of the site visitor or the page’s creator. (He did not actually see any such ads.)
Watt posted about the discovery on his blog, and that soon spawned a conversation on Hacker News, a discussion site for tech topics, about the ethics of this technique. One commenter described it as “icky,” and another asked, “Why aren’t they putting ads in my pillow?”
Watt had strong feelings about it himself. He said in an interview that he had never seen an Internet provider modifying Web pages that a person visits. “Imagine the USPS, or FedEx, for that matter, opening your Amazon boxes and injecting ads into the packages,” Watt said.
A test of the Courtyard Marriott’s wireless network on Friday verified Watt’s claims. The code was embedded in the pages of several Web sites visited, including Reddit, GigaOM and TechMeme.
The lines of code include references to “rxg,” which stands for Revenue eXtraction Gateway, a service aimed at generating money from Internet access points. On its Web site, a company called RG Nets, which makes Revenue eXtraction Gateway, explains that its system rewrites every Web page on the fly so that it can include a banner ad. “As you can see, the pervasive nature of the advertising banner on all Web pages guarantees banner advertising impression,” a narrator says in the video.
An online store selling the hardware to provide this service even lists “Web experience manipulation” as a feature. It is not clear whether the technology is in use at any other Marriott hotels.
The Courtyard Marriott’s marketing director referred inquiries to Marriott’s New York office, where a spokeswoman said she would have to talk to the national office. The automated phone system for RG Nets quickly hung up on calls, and the company did not immediately respond to an e-mail.
Even though this ad-serving system was apparently not serving ads, it was the principle of the thing that upset the online critics. Watt said that the technique not only affected people browsing the Web, but also the content creators, because they would not get a cut of the revenue and their own ads could be blocked.
“Imagine the hotel delivering complementary issues of The New York Times to every room, except some articles have been accidentally blacked out, all the ads have been cut out, and on every page there’s a new ad that’s been stuck on top,” he said.
©2012 The New York Times News Service
You’ve reached your limit of {{free_limit}} free articles this month.
Subscribe now for unlimited access.
Already subscribed? Log in
Subscribe to read the full story →
Smart Quarterly
₹900
3 Months
₹300/Month
Smart Essential
₹2,700
1 Year
₹225/Month
Super Saver
₹3,900
2 Years
₹162/Month
Renews automatically, cancel anytime
Here’s what’s included in our digital subscription plans
Exclusive premium stories online
Over 30 premium stories daily, handpicked by our editors


Complimentary Access to The New York Times
News, Games, Cooking, Audio, Wirecutter & The Athletic
Business Standard Epaper
Digital replica of our daily newspaper — with options to read, save, and share


Curated Newsletters
Insights on markets, finance, politics, tech, and more delivered to your inbox
Market Analysis & Investment Insights
In-depth market analysis & insights with access to The Smart Investor


Archives
Repository of articles and publications dating back to 1997
Ad-free Reading
Uninterrupted reading experience with no advertisements


Seamless Access Across All Devices
Access Business Standard across devices — mobile, tablet, or PC, via web or app
