Archived topic
Insert code before the tag only for 1 page
1 reply · Started by anabella on December 20, 2018
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.
Hi there,
Yes, a hook element is the best way to do this, you should use the after_footer hook.