[Resolved] Problem Creating Hook

Home Forums Support [Resolved] Problem Creating Hook

Home Forums Support Problem Creating Hook

  • This topic has 5 replies, 3 voices, and was last updated 4 years ago by Leo.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #905442

    Hi guys!

    I am trying to create an Element Hook for adding my GA tracking code. I am following exactly the same steps of this tutorial –> https://lyrwp.com/add-google-analytics-generatepress/.

    The problem here, it happens when i want to publish the hook. Automaticlly it displays “Not found page” and don’t save the hook. It’s displays like a draft.

    Not found page: https://ibb.co/wgZLJqC
    Like a draft: https://ibb.co/BstMPDc

    I want to know what to do. Because, i don’t want to install an extra plugin por GA tracking.

    Thanks for advance.


    Customer Support

    Hi there,

    can we just check all Hook element is correct:

    1. Add New Hook and give it a title.
    2. Add GA Script to content.
    3. Select the WP_Head hook.
    4. Go to Display Rules tab and select Location: Entire Site.
    5. Publish

    Let me know.


    Hi David. Everything is ok until step four.

    When I click on publish, the message “Not found Page” appears. So, I try to go back to Elements to see if the hook was really created, but it is not, it appears as a draft.

    Customer Support

    Thanks very much for your help Leo. That was exactly my problem.

    Now it was solved successfully by my host provider.

    Thanks for all

    Customer Support

    Glad we could help 🙂

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