[Resolved] Problem Creating Hook

Home Forums Support [Resolved] Problem Creating Hook

Home Forums Support Problem Creating Hook

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #905442
    Fabián

    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.

    Fabian

    #905470
    David
    Staff
    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.

    #905687
    Fabián

    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.

    #905691
    Leo
    Staff
    Customer Support
    #905745
    Fabián

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

    Now it was solved successfully by my host provider.

    Thanks for all

    #905750
    Leo
    Staff
    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.