Solution two: The refactor (multiple widgets) 🎉
Hi, I am Widget 123!
Below are my custom attributes:
data-widget-id="123"
data-render-call-to-action-button="true"
data-render-flags="false"
data-render-logos="false"
data-render-title="false"
data-other="Some other data"
Hi, I am widget 456!
Below are my custom attributes:
data-widget-id="456"
data-render-flags="false"
data-render-logos="false"
data-are-you-having-fun="Absolutely!"