Skip to content

Google Analytics

Siw Meckelborg edited this page May 3, 2019 · 1 revision

Denne siden benytter et theme som heter Jekyll Doc Project theme, og dette theme har innebygget støtte for å håndtere Google Analytics.

I _config.yml finnes det variabler for å aktivere denne funksjonen:

############# GOOGLE ANALYTICS #############

# include Google Analytics?
show_google_analytics: true

# Google Analytics tracking code number (not the whole code snippet -- just UA-123456 or so)
# To adjust the google analytics code snippet, see the _includes/google_analytics.html code in the gem
google_analytics_code: UA-12685001-29

Det finnes også en html fil som ligger i mappen _includes som heter google_analytics.html, og som benyttes på de ulike layout-filene (LandingCard.html og default.html bl.a)

Clone this wiki locally