[Resolved] Add Code GCS e GA in generatepress

Home Forums Support [Resolved] Add Code GCS e GA in generatepress

Home Forums Support Add Code GCS e GA in generatepress

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #923821
    Giuseppe

    Hi guys,

    how do I add google search console code and google analytics code in generatepress?

    Thanks

    #923827
    David
    Staff
    Customer Support

    Hi there,

    GA scripts need to be added to the Head of your site. So use the Hook Element:

    https://docs.generatepress.com/article/hooks-element-overview/

    Create a new hook, add the script, select the WP_Head hook and set your display rules to the entire site.

    #926279
    Giuseppe

    Hi David,

    it works!

    Thanks!!

    #926318
    David
    Staff
    Customer Support

    You’re welcome

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.