PurposeIn recent years, with the rapid development of the Internet and e-commerce, the online retail business has grown rapidly. E-commerce platforms can track different click data to understand consumer behavior and demand preferences, so as to make better demand forecasts, and strategically share this information with upstream suppliers. When the platform charges a certain fee for the shared data, the suppliers face the question of whether to purchase demand information. This article aims to analyze the influence of price competition and advertising competition on the suppliers' decisions to purchase information and the online platform for data pricing.Design/methodology/approachBy using static game with incomplete information, this paper explores information-sharing strategies of an online platform with two competitive brand suppliers. The authors use Nash game to analyze the suppliers' purchasing information decision and then obtain the optimal information price of the online platform with information-sharing contract.FindingsThis paper shows that demand information sharing benefits both the platform and the suppliers. Without information contracts, the online platform is willing to share demand information with at least one supplier. Especially, when the consumer's sensitivity to advertising is larger and the commission fee charged by the online platform is small, the online platforms will share information with only one supplier. Based on the game outcomes between the suppliers, two pricing strategies for information are proposed under which at least one supplier purchases information. If the consumers are less (more) sensitive to advertising competition, pricing strategy of the online platform induces both suppliers (only one supplier) to purchase information.Originality/valueAt present, most of the information-sharing articles are based on the traditional purchase and sale mode. Based on the background of e-commerce, this paper examines the online platform's information-sharing strategies, which has certain innovation. In addition, the results show that the information-sharing strategy of the online platform is affected by both the price and advertising competitiveness, which provides a new expansion and supplement for the information-sharing literature.