Tracking & results

Adding Meta Pixel, Google tag or TikTok pixel

Add your own tracking code to one page or to every page in a workspace, and understand where it runs.

Ad platforms optimize better when they can see what happens on your page. You can add any platform’s tracking code — Meta Pixel, Google tag (gtag.js), TikTok pixel, or analytics tools — without touching the template.

Where to add code

  • One page: open the page settings and find Tracking code. There are two boxes: Head (inserted before </head>) and Body end (inserted before </body>).
  • Every page in the workspace: add it once in the workspace settings. Workspace code is included on all published pages, alongside any page-specific code.

Most platforms tell you to paste their base code in the head. Copy it exactly as the platform gives it to you.

Getting the code

  • Meta Pixel: Meta Events Manager → your data source → set up manually → copy the base code.
  • Google tag: Google Ads or Google Analytics → tag setup → install manually → copy the Google tag snippet.
  • TikTok pixel: TikTok Events Manager → your pixel → install manually → copy the base code.

Platform menus change; if the steps differ, look for “install code manually”.

Where your code runs

Your code runs only on published pages. It doesn’t run in the editor or on private preview links, so building and reviewing a page doesn’t send test events to your ad accounts. To check it’s working, open the live page and use the platform’s helper tool (for example Meta Pixel Helper or Google Tag Assistant).

Tracking clicks and sales

Base codes record page views. For the outbound click, Hooklander already counts every click on your offer links in your own reports. For sales, a pixel on your page can’t see the merchant’s checkout — use postbacks from your network, or the platform’s conversion API through your tracker.

Tracking pixels set cookies and send visitor data to the ad platform. Depending on where your visitors are, you may need a cookie notice or consent before they load, and a privacy notice that names the platforms. You’re responsible for that on your pages. Keep code from untrusted sources out of your pages: it runs with full access to the page and its visitors.