Extract ga initialisation function
Force to use https