We have a multi site setup and as part of our ongoing maintenance I was wondering if there is a simple way to determine what elements (blocks, layouts & chains) are actually being used on which templates and pages for a given site? Or all sites? Besides manually reviewing across all our sites which would be very time consuming.
With this knowledge I can delete unused components from our codebase as well as and have a clear view on what css to include on which site (as part of our overall core web vitals improvements).
Hi Taylor,
We released a recipe github repository that contain collection of scripts to analyze feature and content source from PageBuilder page/templates. Check out:
Github Repo
Recipe tutorial in ALC (with video demo)
It does not do specific site filtering, but the scripts are very simple and plain, a site id filter and display can be easily added (I'll see if we can extend the scripts and add that part as well).
Feel free to reach out to me or your TAM about any questions.
Hi Taylor,
Thanks for submitting this idea and describing your use case. It makes sense. We will put this in our planning backlog.