Quickest solution to change landing page content based on a URL parameter

I’m looking to create a set of landing pages based on a common template based on the URL – for example – I’d like one “master” page which is /landing

Foe example if you navigate to: /electronics – the content would contain contain “Electronics” related content e.g. tags change, and swap out images and certain other containers.

For /magazines you’d do the same for “Magazines” based content.

I’m looking for an out of the box solution (e.g. service like Google Optimize, Hubspot, Unbounce etc) but would be using an entirely custom static landing page – I just want to avoid having to build the dynamic capability myself if necessary. Thoughts?