mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-10 12:32:45 +00:00
doc: some additional google analytics code
Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
parent
7b969d15c0
commit
3a326056fd
@ -218,6 +218,7 @@ html_static_path = ['static']
|
||||
def setup(app):
|
||||
app.add_stylesheet("acrn-custom.css")
|
||||
app.add_javascript("https://www.googletagmanager.com/gtag/js?id=UA-831873-64")
|
||||
# note more GA tag manager calls are in acrn-custom.js
|
||||
app.add_javascript("acrn-custom.js")
|
||||
|
||||
# Custom sidebar templates, must be a dictionary that maps document names
|
||||
|
6
doc/static/acrn-custom.js
vendored
6
doc/static/acrn-custom.js
vendored
@ -3,3 +3,9 @@
|
||||
$(document).ready(function(){
|
||||
$( ".icon-home" ).attr("href", "https://projectacrn.org/");
|
||||
});
|
||||
|
||||
/* Global site tag (gtag.js) - Google Analytics */
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'UA-831873-64');
|
||||
|
Loading…
Reference in New Issue
Block a user