1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-06 03:53:59 +02:00

Add analytics to the HTML documentation.

This commit is contained in:
David Steele 2021-10-21 17:48:00 -04:00
parent a63e732987
commit cb36fec102

View File

@ -286,6 +286,11 @@ sub htmlGet
$self->indent(1) . "<link rel=\"stylesheet\" href=\"default.css\" type=\"text/css\"></link>\n";
}
$strHtml .=
$self->indent(1) . "<script async src=\"https://www.googletagmanager.com/gtag/js?id=G-VKCRNV73H1\"></script>\n" .
$self->indent(1) . "<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}" .
"gtag('js',new Date());gtag('config','G-VKCRNV73H1');</script>\n";
$strHtml .=
$self->indent(0) . "</head>" . $self->lf() .
$self->htmlRender($self->bodyGet(), 0);