Link Studio

Analytics & Tracking

Connect your own Google Analytics 4 (GA4) and Meta Pixel to a page so its traffic flows straight into your own analytics and ad accounts. You can also tag individual buttons so specific clicks show up as events. Everything runs in your visitor's browser and only fires after they accept cookies.

This is a Pro feature

Analytics & Tracking is available on the Professional plan and is set per page. On the free plan you will see an upgrade prompt instead of the fields. See Plans & Billing.

Connect your trackers

Open the page you want to measure, then go to SettingsAnalytics & Tracking.

Get your GA4 Measurement ID

In Google Analytics, go to Admin > Data Streams, open your web stream, and copy the Measurement ID. It looks like G-XXXXXXXXXX.

Get your Meta Pixel ID

In Meta Events Manager, go to Data Sources and copy your pixel's ID. It is a 15 to 16 digit number, e.g. 123456789012345.

Paste and save

Paste either or both IDs into the matching fields and press Save Changes. You can connect just one, or both. Leaving a field empty means that tracker is not loaded.

The Analytics & Tracking section in Settings
Google Analytics 4 Measurement ID
Your GA4 web stream ID (G-XXXXXXXXXX). Loads GA4 on the live page and reports page views automatically.
Meta Pixel ID
Your Meta Pixel ID (a 15 to 16 digit number). Loads the pixel and fires a PageView on the live page.
Only your account receives the data

Trackers point at your GA4 property and your Meta Pixel only. Link Studio's own analytics are never mixed in with yours.

Nothing tracks a visitor until they allow it. Every published page shows a cookie notice, and a Cookie Preferences link stays in the footer so visitors can change or withdraw their choice at any time.

Performance
Controls your GA4. When a visitor allows performance cookies, Google Analytics loads.
Advertising
Controls your Meta Pixel. When a visitor allows advertising cookies, the pixel loads.
Opt-in vs opt-out by region

Visitors from regions that require opt-in (such as the EU and UK) see a blocking consent modal, and nothing fires until they accept. Elsewhere, tracking is on by default and the Cookie Preferences link lets visitors opt out. A visitor's explicit choice is always remembered on their browser.

A category only appears in the notice when you have actually connected the matching tracker. If you connect neither, the Cookie Preferences link still shows, but it opens an information-only notice rather than a consent toggle.

Track individual button clicks

Beyond page views, you can send a custom event whenever a visitor taps a specific button. This works on any element that has a Click Event: a Button, an Icon Button, or a Container.

Enable the click event

Select the element, open Click Event in the Fields panel, and turn on Enable Click Event. Pick any type (Link, Subscription, and so on).

Name the analytics event

Fill in the Analytics event name field, e.g. signup_button or buy_now. This label identifies the button in your reports. Leave it empty to send nothing for that button.

Naming your events

The name can be anything, spaces included, it is sent as a label, not a code identifier. What matters is being consistent and unique: Buy Now, buy now, and buy_now count as three separate buttons in your reports. Pick one style (readable like Buy Now or a slug like buy_now) and reuse it, and give each button a distinct name so you can tell them apart.

When a visitor taps that button on the live page, Link Studio sends:

GA4
An event named link_click with a link_id parameter (the name you entered), plus link_url (the destination) and link_type (link, subscription, and so on).
Meta Pixel
A custom event named LinkClick with the same link_id, link_url, and link_type properties.

Using one fixed event name with a link_id parameter (rather than a new event name per button) keeps your GA4 event list tidy and lets you group and compare buttons in reports. Click events respect the same consent as page views: link_click only fires when performance is allowed, LinkClick only when advertising is allowed.

See per-button data in GA4

GA4 shows the link_click event straight away in the Realtime and DebugView reports. To break events down by button in standard reports, register the parameters as custom dimensions: in GA4 go to Admin → Custom definitions → Create custom dimension, set the scope to Event, and add one for each of link_id, link_url, and link_type. Data starts populating those dimensions from the moment they are created. Meta needs no such step, the properties appear on the LinkClick event automatically.

Test on the live page

Trackers and click events never run inside the editor. Publish the page, accept cookies, then use the GA4 Realtime report and the Meta Pixel Helper extension to confirm events are arriving.