Skip to main content

Track and Enrich WordPress form signups

TrialHook and WordPress integration

Updated over 5 months ago

Trial Hook + WordPress integration approach

There are multiple ways to integrate Trial Hook with WordPress. It will largely depend on whether you are using a managed WordPress service (e.g WPEngine), if you are using some sort of a page builder (e.g Elementor), if you are editing your header.php manually, or using a plugin to inject code into the <head> of the page.

In this guide, we will be focusing on using a WP Headers And Footers plugin (although there are tons of alternatives).


By using this plugin (or any other method that allows editing header.php), you'l need to use the JS Snippet approach.

Adding Trial Hook JS Snippet to a WordPress

This will enable Trial Hook integration on any WordPress pages using the same theme.

  1. Activate it.

  2. Go to the plugin settings
    ​


    ​

  3. Copy/paste the Trial Hook JS snippet code into the Scripts in Header section
    ​

    ​

  4. Save the changes and publish the pages.

Did this answer your question?