Fraud Crime Hazard Prevention Act Article 37

Online advertisement platform operators, e-commerce companies, and online gaming companies shall adopt feasible technologies to keep the digital evidence, documents, images, articles, user registration data and identity verification procedures, connection records, transaction records, or other relevant data that are sufficient for building users and individual transactions for a reasonable period. However, if other laws stipulate longer preservation periods, those provisions shall prevail.Courts, prosecutor's offices, or the judiciary police department may request online advertisement platform operators, e-commerce companies, and online gaming companies to provide access to relevant data in the preceding paragraph. Such companies shall provide the data within three days from the day receiving the access notice and keep such data for six months to facilitate investigations by the judiciary police department. If litigation occurs, the data preservation period shall be extended to three months after the final judgment.
中文原文 詐欺犯罪危害防制條例第37條
網路廣告平臺業者、電商業者及網路連線遊戲業者應採可行之技術,於合理期間保存電磁紀錄、文書、影像、物品、用戶註冊及確認身分程序所得資料、連線紀錄或交易紀錄等足以重建使用者及個別交易之有關資料。
但法律另有較長保存期間規定者,從其規定。
法院、檢察署或司法警察機關因調查詐欺犯罪,得向網路廣告平臺業者、電商業者及網路連線遊戲業者調取前項有關資料,該等業者應於收受調取通知之日起三日內提供資料,並保存六個月,以提供司法警察機關調查;發生訴訟時,應延長保存至裁判確定後三個月。

English translation for reference only; the Chinese text prevails. Not legal advice.