But income from a website is not predicated on fixed revenue—payment is received “per click” whether site traffic takes place on Shabbos or weekday. However, since the income isn’t real schar Shabbos—it’s not generated by the Shabbos observer’s work per se—it is considered mechzei k’schar Shabbos (appearing to be schar Shabbos). As such, we can adopt a more lenient definition of havla’ah: that if the dividends for the Shabbos clicks are grouped with the weekday clicks for collection, it is permissible.
Similar scenarios may contain details that alter the psak; a person who deals with questions of this nature should present them to rav for clarification. One Min Halacha