Miro Perdoch

Development & Analytics

Why Web Developers Should Understand Analytics and Marketing

Good code makes a website work. Understanding users and business goals makes it useful.

Miro Perdoch 7 min read

Editorial graphic showing software development connected to analytics and improvement
At work, still learning.

For a long time, delivering a website meant making sure the design looked right, the functionality worked and the client could use it. Those things still matter. But I have become increasingly interested in a question that begins after the technical work appears finished: what does this website actually help people achieve?

That question gradually brought analytics, SEO, attribution and digital marketing closer to my work as a developer. Not because every developer needs to become a marketing specialist, but because understanding what happens around the code changes the decisions we make inside it.

A working website is not necessarily a useful website

A contact form can pass every automated test and still create friction for real visitors. A landing page can load quickly and still fail to explain its offer. An address checker can return technically correct information while leaving someone unsure about the next step.

It is tempting to treat these as content or marketing problems. Sometimes they are. But often the most useful improvements cross disciplines: a clearer error message, fewer fields, better navigation, a more relevant call to action or more honest information about what happens after submitting a form.

In projects that combine web development with lead generation, I have learned to think about the entire journey. Where does a visitor arrive? What are they trying to understand? Where do they hesitate? What counts as a meaningful next action?

Good code makes a website work. Understanding users and business goals makes it useful.

Measurement should begin with a question

Adding an analytics script is easy compared with deciding what is worth measuring. Pageviews can tell us that a page was loaded; they cannot, on their own, tell us whether someone understood an offer or completed a valuable task.

Before implementing an event, I try to ask what decision the data should support. If we want to improve a contact journey, it may help to know whether visitors start a form, encounter validation errors and complete a submission. If we are working on a product search, the meaningful events might be a search, a result selection and a completed check.

Those events need clear names, consistent parameters and a definition that does not change whenever an interface is redesigned. Otherwise, even an attractive dashboard may be comparing data that means different things over time.

And I try to distinguish a real outcome from a convenient proxy. A button click is not always a lead. A form submission is not necessarily a qualified enquiry. A successful HTTP response does not automatically mean the user had a successful experience.

Analytics is also an engineering responsibility

Developers have a direct influence on data quality. We decide where events are emitted, how repeated submissions are handled, whether redirects preserve campaign parameters and what happens when a request fails.

For example, attribution information can be lost between the first page visit and a later conversion. Duplicate events can make a campaign appear more successful than it was. A tracking event can fire when a button is clicked, even if the backend ultimately rejects the request.

These are not just reporting issues. They are consequences of how an application is implemented. I find it useful to test measurement in the same way I test other functionality: define the expected result, follow the real user journey and compare recorded events with what actually happened.

Privacy matters here too. Useful measurement does not justify collecting unnecessary personal information. Consent requirements, data minimisation and appropriate retention should be part of the design, not something bolted on after a marketing tag has already been deployed.

Marketing provides a valuable feedback loop

Working with campaigns has also changed how I evaluate a website. Advertising may bring visitors with very different expectations from someone who arrives through an organic search. A message that makes sense to an existing customer may need more context for a first-time visitor.

On a project such as Central FIVE, the website, lead forms, analytics and acquisition channels have to support the same goal. The creative work and campaign setup are important, but so is the unglamorous engineering around conversion attribution, form reliability and useful reporting.

I do not assume that a particular campaign or design is successful just because it looks promising. I prefer to treat changes as hypotheses, measure carefully and consider the limitations of the data before drawing conclusions.

SEO is another part of the product experience

Search visibility often gets discussed as a collection of metadata and keywords. Technical SEO goes much further: page structure, internal linking, canonical URLs, accessible content, performance and whether a page genuinely answers a searcher's question.

For a developer, these decisions are inseparable from architecture. A beautifully generated page is not especially useful if it exposes duplicate URLs, relies on inaccessible interactions or makes important content difficult to discover.

The interesting part is that many SEO improvements are also usability improvements. Clear headings help people navigate. Fast, stable pages reduce frustration. Sensible information architecture helps both visitors and crawlers understand what belongs where.

Connecting the disciplines without confusing them

None of this means one person should pretend to be an expert in every discipline. Good designers, analysts and marketers bring knowledge that software developers do not automatically acquire by learning a framework.

But shared understanding makes collaboration better. When I know why a campaign needs a reliable conversion event, I can implement it more thoughtfully. When I understand why a certain page matters for organic discovery, I can make better decisions about routing and content rendering. When I can interpret the basics of a dashboard, I am better equipped to ask whether a technical change had the intended effect.

This is one reason my day-to-day work has gradually expanded beyond programming. I still enjoy the engineering itself, but I increasingly value the connections between code, experience and measurable outcomes.

For me, becoming a better developer has also meant learning what happens before someone visits a website — and after they leave it.


If you are interested in how these decisions play out in practice, explore my selected projects. I have also written about how AI is changing the way I work across development, analytics and other disciplines.