diff --git a/_config.yml b/_config.yml index ed1ee2a..5ef47c7 100644 --- a/_config.yml +++ b/_config.yml @@ -31,3 +31,7 @@ aux_links: # Color scheme currently only supports "dark" or nil (default) color_scheme: nil + +# Google Analytics Tracking (optional) +# e.g, UA-1234567-89 +ga_tracking: UA-2709176-10 diff --git a/_includes/head.html b/_includes/head.html index 077564e..ac0fc67 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -7,8 +7,21 @@ {{ page.title }} - {{ site.title }} + + {% if site.ga_tracking != nil %} + + + + {% endif %} + {% if site.search_enabled != nil %} - + {% endif %}