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:
parent
a63e732987
commit
cb36fec102
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user