[Support request] Codigo en hooks

Home Forums Support [Support request] Codigo en hooks

Home Forums Support Codigo en hooks

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #483283
    jmpefe78gmail-com

    Buenos días, tenía insertado el código de Google Analytics en el hooks pero también manualmente en header.php.

    ¿Las visitas en analytics se ven duplicadas o el número de páginas vistas o Generate press considera que sólo hay un código?

    Gracias

    #483676
    Leo
    Staff
    Customer Support

    Hi there,

    You should only use this hook: https://docs.generatepress.com/article/wp-head/

    It’s not recommended to modify header.php as it won’t be saved through updates.

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