A small website component can make a source-preference option visible without taking up space in the main page layout. This snippet places a Google preferred-source button in a desktop-focused container and adds attributes that identify its appearance and placement.
How the preferred-source widget is configured
The outer container uses positioning styles to place the component near the top of its surrounding area. Its negative top offset moves the box upward, while a height of zero helps prevent it from reserving vertical space in the page flow.
Inside the container, the widget is marked with attributes for its dark theme and desktop placement. A tracking value identifies the control as a preferred-source feature, allowing the page to distinguish this interaction from other elements.
Jennifer Aniston and I use red light masks: mine helps me go makeup-free with confidence
Carla Moreau explains her social media absence: “I didn’t choose this ordeal”
- Theme: The button is configured with a dark visual style.
- Tracking label: The component is identified as a preferred-source control.
- Placement: The setting indicates a desktop position near the top of the page.











