[Support request] Hooks in Elementor plugin

Home Forums Support [Support request] Hooks in Elementor plugin

Home Forums Support Hooks in Elementor plugin

  • This topic has 5 replies, 3 voices, and was last updated 2 years ago by David.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #841165
    powerlifter

    Hello.
    Hooks do not work for pages created with the Elementor plugin. I tried to install Google Tag Manager. The top section has a header tag. Customized hooks on the Elements tab.
    When you create a page without the Elementor plugin, everything works.
    Have a solution?
    On each page created in Elementor it’s not good to add the Google Tag Manager container.
    Waiting for help.
    Now put the Google Tag Manager container on the page without using hooks.

    GeneratePress 2.2.2
    GP Premium 1.7.8
    #841234
    David
    Staff
    Customer Support

    Hi there,

    If you use Elementor theme templates or their canvas template then it replaces the GP Theme template and therefore has no GP hooks.

    Elementors solution is to use a plugin to add your GTM.

    The alternative is to not use the Elementor templates, instead you can use GP Hooks to hook in elementor content into the theme

    #925321
    Eric

    Hi David, (or anyone else)

    If we place Google Tag Manager in the PHP functions code (maybe Code Snippets plugin) will this still work (GTM Codes) when using Elementor Canvas or Elementor templates? I’m thinking of adding funnel pages to my GP site so would be using Elementor Canvas to eliminate header and menus for a clean look.

    Your solution of Elementor content into the GP hooks will work but more steps to accomplish. Just looking for an easier/faster solution and wondering if the php functions would cover all the bases whether GP or Elementor Canvas?

    I could also try the GP Disable Elements to remove distractions on my funnel landing pages like header, menu, content title, etc. That might work too?

    Thanks!
    Eric

    #925322
    David
    Staff
    Customer Support

    Hi there,

    yes, the best method is to use the GP Layout Element to a. disable all of the elements you don’t require and b. set the page builder container to full width. This way you will maintain all the GP hooks and not have to bother with selecting the Elementorfull width template. You can also assign the display rules to inluce My Templates so there are no distractions when editing Elementor templates.

    Its what i use in the recent Elementor Sites added to the Site Library.

    #925400
    Eric

    Thanks David for your prompt reply!
    Appreciate the advice and best use case for GP 🙂

    #925576
    David
    Staff
    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.