Okay
  Public Ticket #1443380
Put Code Google Analytic
Closed

Comments

  • rissetter started the conversation

    Dear Admin,

    Where can i put Code for Google Analytic on this theme?

    Regards

  •  329
    ZOZO replied

    You can add below function in child theme functions.php file, and add ur google analytics code. 

    add_action('wp_head', 'wpse_43672_wp_head');
    function wpse_43672_wp_head(){
        //Close PHP tags 
        ?>
        ADD YOUR GOOGLE ANALYTICS CODE
        <?php //Open PHP tags
    }

  • rissetter replied

    Thanks,

    And how to update step by step wheni've update for you?

    Regards

  •  329
    ZOZO replied

    Sorry not clear Friend. Please use child theme and put below function in child theme functions.php file