Pass site_id instead of magento_url variable