[Support request] Insert code before the tag only for 1 page

Home Forums Support [Support request] Insert code before the tag only for 1 page

Home Forums Support Insert code before the tag only for 1 page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #761853
    anabella

    Hi, I have installed a chat plugin (tawk.to) that I want to use only for my landing page. According to the instructions, I should insert code before the </body> tag.

    Now, considering that I want to use this only on 1 specific page, should I do it through “Generatepress > Elements > Hook” and then “Display Rules > Location” ? If so, which hook should I choose on the settings?

    thanks in advance.

    #762023
    David
    Staff
    Customer Support

    Hi there,

    Yes, a hook element is the best way to do this, you should use the after_footer hook.

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