All case studies

Web engineering · 2026

In Trend Magazine: faster and findable, every ad placement kept

Speed, search and measurement for a Monterrey magazine on WordPress: its own ad system, one H1 per article, working analytics, a home page from 11.8 MB to 2 MB.

In Trend Magazine: faster and findable, every ad placement kept

In Trend is a social, fashion and wedding magazine from Monterrey with two titles, In Trend Magazine and In Trend Weddings. Both are printed three times a year and sold in magazine stores across Mexico, and both publish on editorialintrend.com all year. The website is where readers find the magazine between issues, and where advertisers see what they paid for: the media kit sells placements on every page.

In November 2026 I took the site on as its principal engineer, with the editor's approval. The brief had three parts: make it findable on Google, fast on a phone, and measurable, without moving a single placement the media kit sells. The site was built and is hosted by its agency, and I worked through the WordPress admin alone, with no access to the server. So every change went through the admin: code as a versioned plugin uploaded from the plugins screen, templates through Elementor's own editor, settings through their own screens. Each change is logged with its before and after, and the figures below come from that log. Speed and accessibility scores are Lighthouse on a phone.

The ads were the weight, so the mechanism changed and the inventory stayed

The home page weighed 11.8 MB and scored 76. Most of that was advertising: 44 ads spread across 11 Elementor carousels, each slide a PNG of one to two megabytes. The ads could not go, because they are what the magazine sells.

So ads became their own content type in WordPress. Each one carries its advertiser, image, link, placements and dates, and is assigned to the ten placements the media kit names. A light carousel serves each ad as a WebP at the size its slot needs. Changing an ad used to mean opening Elementor; now it is a form. Advertisers also get something they never had: clicks per ad and per month, impressions and clicks in Google Analytics, and campaign tags on every link.

The home page now weighs 2 MB and scores 94. An article went from 76 to 95, and its main content appears in 2.3 seconds instead of 6.3. Section pages no longer jump while they load: layout shift went from 0.479 to 0. The 1,261 photos of the media library are served as WebP too, and new uploads are converted on their own.

Every article had a title, and none had a heading

Not one of the 153 articles had an H1: the article template drew the title as an H2. The description Google received for each article was the byline, with a median of 37 characters. And 152 of the 153 articles linked to no other article.

Each of those lived in one template or one setting, so each was fixed once for the whole site. The title is the H1. The description is the first real paragraph of the article, with a median of 151 characters. Every article ends with three related articles and its section. The 25 columnists are recognized from their bylines and named as authors in the structured data, where before everything was signed by the WordPress account.

Around that, the home page and every section gained an H1 and a description. The site now presents itself to search engines as an organization, in Mexican Spanish, on Monterrey time. Duplicate and empty categories were merged with permanent redirects, addresses made of numbers got words, 73 titles for Google were written by hand, and an llms.txt now gives AI assistants a map of the site.

Measurement, confirmed in a browser

The site had no analytics. It now has a Google Analytics 4 property with Consent Mode v2: before a visitor accepts cookies, nothing is stored and only an anonymous signal is sent; after, measurement is complete. My first tag, loaded through a tag manager, sent nothing at all. I caught it by reading the requests in a browser, replaced it with the standard tag, and checked both consent states the same way. Search Console is verified, with the sitemap sent.

Privacy and accessibility

The site had no privacy notice. It now has one written to Mexico's data protection law as reformed in 2025, linked from the footer, the cookie banner and WordPress, and every contact form carries the short notice under it. Analytics cookies are stored only after consent, and the cookie banner, which was in English, is now in Spanish.

Accessibility scores went from between 84 and 88 to between 99 and 100 across the home, a section and an article. The fixes were plain ones: names for 24 links on the home page that had none (the logo, the social icons, the covers), valid roles on Elementor cards, a skip link that now goes somewhere, and enough contrast on dates, summaries and pagination.

A media kit page in place of a 25 MB PDF

The 2026 media kit page that replaced a link to a 25 MB PDF in the menu

The menu sent advertisers to the 2025 media kit, a PDF of 25 MB. It now leads to a media kit page with the 2026 figures, which scores between 98 and 100 on Lighthouse, and to the two 2026 PDFs, compressed from 115 and 154 MB to under 4 MB each. Rates stay inside the PDFs.

The same pass on a restaurant site

The engagement included a second, smaller site: La Doña, a Lebanese restaurant in Monterrey. Its sitemap, which robots.txt pointed search engines to, returned a 404; it now answers and is in Search Console. The site gave three different street numbers and three different schedules. The restaurant confirmed the right ones, and they are now the same on every page and in the structured data. Its analytics was Universal Analytics, which stopped collecting in 2023; GA4 measures it now. Its home photo went from a 1.1 MB JPG to a 156 KB WebP, and it has a privacy notice for reservations, orders and events.

The numbers in one place

Measure Before After
Home page, Lighthouse on a phone 76 94
Home page weight 11.8 MB 2 MB
Article, Lighthouse on a phone 76 95
Article, main content shown (LCP) 6.3 s 2.3 s
Accessibility (home, section, article) 84 to 88 99 to 100
Articles with one H1 0 of 153 153 of 153
Article description sent to Google the byline, median 37 characters first paragraph, median 151 characters
Articles that link to other articles 1 of 153 153 of 153
Photos served as WebP 0 1,261
Analytics none GA4 with Consent Mode v2
Privacy notice none under the 2025 law

What is not proven yet

Rankings move in weeks, not days, so this study shows the condition of the site, not its traffic. Before the first change I measured where the site stood on 28 Google Mexico searches. The magazine ranked first or second for five of the six searches that name it, and reached page one for 2 of the 22 that do not. I will run the same searches at 30, 60 and 90 days and add the numbers here, whether they moved or not.

What it adds up to

The magazine sells the same placements on the same pages. They now weigh a fraction of what they did, Google reads every article as an article, and for the first time the magazine can see what readers read and which ads they click.

In Trend is in Monterrey, where I live and work. What companies in the city tend to need from an AI engineer, and how to start, is on the page for Monterrey (en español).

Rashid Azarang, a close portrait in a dark T-shirt, with white wireless earbuds

Written by

Senior AI Engineer · Monterrey, Mexico

AI assistedWith the help of AI for research, drafting, and editing.

Further reading

Go deeper.

Essays, case studies, and more from the site.

Research

Every paper, pre-registration and dataset, with what it takes to run them again.

View all