The easiest way of adding a spin wheel in WordPress and WooCommerce is by using a plugin. For instance, you can use OptinMonster, as it offers prebuilt templates and multiple display rules to show your campaign at the right time to the right people.