Archived topic
Problem Creating Hook
5 replies · Started by Fabián on May 20, 2019
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
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.
Thanks very much for your help Leo. That was exactly my problem.
Now it was solved successfully by my host provider.
Thanks for all
Glad we could help :)