Before the compare button appears on your storefront, you need to define which products are eligible.
Important: If the Allowed Product Types list is empty, the compare button will not appear on any product page — even if the theme block or snippet is installed.
For a full explanation of all visibility settings, see Compare Visibility Settings under the Settings section.