Dynamic Favicon Product

How can I generate a dynamic favicon for each of my products within the Page HTML Header?

I have a single index, and through it, using dynamic components, I create custom pages for clients. Which are just a top with the company logo.

Hello Paula, I did something similar back then and followed this YouTube video: https://youtu.be/cfzDyOTHpBo?si=opeNm0r9uPCSVwDD

I found a solution. Compare a Product field with the website’s URL.

In DT Product, I have a field called URL Slug, which contains part of the PATCH of my URL.

So I look for the part of my URL that corresponds to my client and search for it in Product. This gives me my specific Product.

With this, I also search for the favicon stored in Options Sets for that Product.

url

My code:
<link rel="icon" type="image/svg+xml" href="Seach for DT | Products[URL Slug= Get data from page URL[type="Path segments as list"]:item#2]:each item's Detail's Favicon" sizes="any">