What is the ruling on money earned from placing advertisements for products on my website based on consumer preferences (using cookies)?
It is permissible to use advertising programs if they are free of impermissible elements. However, advertising films is forbidden due to the impermissible elements they contain, such as intermingling (between sexes), music, and immodest display, as well as promoting crime and corruption. "Whoever calls to misguidance will bear a sin equivalent to the sins of those who follow him." As for "cookies," it is not permissible to access them without the user's permission, as they violate the browser's privacy. Therefore, websites must clearly inform users about this. The summary is that it is permissible to place advertisements on a website provided they are free from forbidden elements and promotion, and that the browser is informed that the site will display advertisements relevant to them based on the cookies on their device.
Summarized from the full answer at Ftawy · reviewed Sep 2, 2026
Read the full answer on Ftawyhttps://ftawy.com/en/questions/16419