1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2025-06-27 00:51:30 +02:00

Feature - Added Optional Google Analytics tag for Status Page.

This commit is contained in:
c
2023-01-08 17:19:07 +00:00
parent d0ac3fc207
commit 29e24e0de9
5 changed files with 23 additions and 0 deletions

View File

@ -163,6 +163,7 @@ module.exports.statusPageSocketHandler = (socket) => {
statusPage.custom_css = config.customCSS;
statusPage.show_powered_by = config.showPoweredBy;
statusPage.modified_date = R.isoDateTime();
statusPage.google_analytics_tag_id = config.googleAnalyticsId;
await R.store(statusPage);