E-commerce Affilate Programs

Are affialte programs for e-commerce halal. Platforms such as shopify offer these affialte recurring commissions however you have no control over what the refered user sells. What if they sell something haram without your knowing would it be haram for you have just referred them to the platform but you are also making commissions from the monthly payment that they make to shopify.