# Campaign-level click rollup

Campaign-level rollup (EAS-73): total clicks in the window across every link belonging to each of the caller's campaigns, aggregated strictly through the persisted links.campaign_id relationship — never by parsing destinationUrl or UTM query parameters — so "how did Q3 Email Campaign perform" is one row instead of manually summing every link. Archived campaigns are included: they stay reportable for the links/clicks already associated with them. A link with no campaign never contributes to any row.

Canonical: https://easerix.com/docs/developers/api/links/analytics/campaignAnalytics

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="links" operations={[{"path":"/v1/analytics/campaigns","method":"get"}]} />
    </>
  );
}
