Skip to content

Install on WordPress (Elementor) ​

On WordPress, you install the script once in the site header and put the funnel's join link on the page button in Elementor. Two quick changes.

Before you start ​

  • A funnel created, with the script and the join link at hand. Both are in Funnels → "View Tutorial" (book icon). See Create a funnel.
  • Administrator access to the WordPress dashboard.

Part 1: paste the script into the header ​

Choose one of the paths below.

With Elementor Pro (Custom Code) ​

  1. In the WordPress dashboard, go to Elementor → Custom Code and click Add New.

  2. Give the code a name (e.g. "Track4you") and paste the script into the code field:

    html
    <script src="https://track4you.app/v2/9f8e7d6c-5b4a-4c3d-9e2f-1a0b9c8d7e6f.js" defer></script>
  3. Under Location, choose <head>.

  4. Click Publish and, in the display conditions, choose Entire Site (or only the funnel pages). Save.

Without Elementor Pro (header plugin) ​

  1. In the WordPress dashboard, go to Plugins → Add New, search for WPCode (formerly "Insert Headers and Footers"), install it and activate it.

  2. Go to Code Snippets → Header & Footer.

  3. Paste the script into the Header field and click Save Changes.

Already have another header plugin?

If your theme or another plugin already has a "header scripts" (or "head") field, you can paste the script there. What matters is that it ends up in the header of the funnel pages.

  1. Open the funnel page in Pages → Edit with Elementor.

  2. Click the button that leads to the group.

  3. In the left panel, on the Content tab, paste the funnel's join link into the Link field:

    text
    https://t4y.io/v2/0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d
  4. If the page has more than one button to the group, repeat on all of them. Click Update to publish.

Using a cache plugin?

If the site uses a cache or optimization plugin (WP Rocket, LiteSpeed Cache, W3 Total Cache and the like), clear the cache after installing. That way the new version of the page, with the script, goes live right away.

How to check it worked ​

  • Open the published page and do the funnel test: the visit, the click and the join show up in the Dashboard.

Common problems ​

  • "Custom Code" doesn't show up in the Elementor menu: that feature is part of Elementor Pro. Use the header plugin path.
  • The visit doesn't show up in the app: check that the published page address is the same one added to the funnel and clear the site cache. See Pageviews don't show up in the app.
  • The click doesn't show up: check that the button's Link field has the funnel's join link. See Clicks don't show up.