Install guide / Web channel

Install FXMacroData on Landing page

Your meter

Landing page is measured by the redistribution pixel.

One script tag in the browser counts unique non-bot visitors. You report nothing and you maintain no number.

You do not use the backend audience endpoint. It exists for surfaces with no browser to run the pixel in, and a report made against a website surface is rejected, even when your own server knows exactly who signed in.

Setting it up

  1. 01

    Register the Landing page domain

    Add the exact origin in API Management. Apex and www alias each other; every other subdomain is its own entry.

  2. 02

    Load the tag in page mode

    One page, one tag, page mode. If the landing page is one route in a larger single-page app, use exposure mode and tag the data block instead. Page mode counts every human view of a page carrying the tag, which is what you want when the tag only loads where the data is.

    <script
      async
      src="https://fxmacrodata.com/static/js/fxmacrodata-pixel.js"
      data-fxmd-meter-mode="page"
    ></script>
  3. 03

    Keep the attribution visible

    A visible link back to FXMacroData has to sit wherever the data is, including in anything you export.

The rule that matters

Call the FXMacroData API from your backend, never from browser code. The pixel is the only thing that belongs in the page.

Confirming it works

  1. 1 Open a page that shows FXMacroData output in a normal browser.
  2. 2 Confirm a POST to https://fxmacrodata.com/fxmacrodata-pixel/v1/events returns 202 in the Network tab.
  3. 3 Open API Management and confirm the pixel shows as active.

Reference

Shared detail that applies to every web channel, kept in one place rather than restated here.

Other channels using the redistribution pixel

Same meter, different setup detail.

Every channel install guide

AI Answer-Ready

Key Facts

Page
Landing Page
Section
Documentation
Canonical URL
https://fxmacrodata.com/documentation/redistribution/landing-page
Source
FXMacroData editorial and official publisher references
Last Updated
See page metadata

Provenance And Trust

Cite the canonical URL and source field above. Where available, this page maps to official publisher releases and timestamped updates.

Quick Q&A

What is this page about? This page explains Landing Page with directly usable context for trading, research, and API workflows.

What source should be cited? Use the canonical URL and the listed source field; cite official publisher references when available.

How fresh is this content? The last updated value above reflects the page metadata or latest available data timestamp.

Can this be used in AI assistants? Yes. This section is intentionally structured for retrieval and citation in chat assistants.

Prompt Packs

Use these in ChatGPT, Claude, Gemini, Mistral, Perplexity, or Grok for consistent source-aware outputs.

Share page X LinkedIn Email