Skip to content

Campaign Studio: overview

A colleague asks which of your landing pages brought in this week’s enquiries. Mark a page as a landing page in its Campaign tab, pick its main goal, and add a campaign hero, call to action or lead form widget. Each marketing campaign groups its landing pages, calls to action and goals, and a visitor who completes a goal is a conversion.

A goal can be a view of the landing page, a click on a campaign button or link, or a Form Builder form being sent. Views and clicks are counted only where Insights, Capell’s analytics package, has a visit record for the browser. By default that leaves out anyone whose browser sends a do-not-track signal. Form submissions need no visit record, so treat the totals as a guide and not an exact count. Each conversion keeps the landing page and where the visitor came from, when those are known.

Links in a call to action pick up UTM tags, which say where a visit came from, without overwriting tags already there. Conversions older than a year are deleted by default. Top campaigns and Top landing pages appear as cards on your dashboard, next to your active campaigns and this week’s conversions and conversion rate.

Campaign Studio groups landing pages, reusable calls to action, and conversion goals under a campaign. It adds campaign fields to the page editor, campaign widgets to Layout Builder, and campaign performance widgets to the dashboard.

Install and migrate Campaign Studio with its required Insights, Form Builder, and Layout Builder packages. Conversion reporting depends on Insights creating a consent-eligible visit identity; Campaign Studio does not record an anonymous browser event without that visit.

Keep Laravel’s scheduler running. The package updates campaign statuses every five minutes, without overlapping and on one server: a Scheduled campaign becomes Active when its start time arrives, and an Active campaign becomes Ended after its end time. Draft and paused campaigns are not activated automatically. A separate monthly task removes expired Campaign Studio conversion records.

Open Marketing in the admin. Under Campaigns, use Campaign groups and Landing pages; under Advanced, use CTA widgets and Conversion goals:

  • Campaign groups for the campaign name, site, status, start/end dates, budget notes, and default UTM values.
  • Landing pages for pages assigned to the campaign, their primary goal, audience targeting, and variants. The same assignment is available on a page’s Campaign tab.
  • CTA widgets for reusable calls to action. A CTA must be active before a Layout Builder campaign CTA widget can select it.
  • Conversion goals for the outcome, stable key, optional value, and active/primary state.

Campaign hero, CTA, and lead-form widgets are configured in Layout Builder. Page-view and CTA-click goals are recorded by the frontend tracker; matching Form Builder submissions are recorded by the package listener. Custom action goals need an integration that explicitly records that conversion. If Experiments is installed, Campaign Studio keeps a campaign-scoped experiment in step with each campaign; it does not install Experiments itself. The experiment is created when a campaign has two landing pages to compare, and is updated whenever the campaign, a landing page or a conversion goal changes. A removed landing page or goal stops being used, and deleting the campaign ends its experiment. The experiment’s status is owned as follows:

What happensExperiment without a declared winnerExperiment with a declared winner
Campaign gets its second landing pageCreated, mirroring the campaign’s status, start and endNot applicable
Campaign status, start or end changesMirrors the campaign’s status, start and endUnchanged
Campaign deleted, or permanently deletedEndedUnchanged
Deleted campaign restoredMirrors the campaign againUnchanged
Landing page, goal or other campaign detail changesStatus kept; variants, goals and name updatedStatus kept; variants, goals and name updated
Status changed in Experiments (paused, or ended by its schedule)Kept until the campaign’s status, start or end next changesUnchanged
Experiment deleted in ExperimentsNot recreatedNot recreated

A declared winner is the only permanent state.

Workspace drafts of a page never become landing pages, and saving a page keeps the primary landing page Campaign Studio chose. If the sync fails, the error is reported and the save still succeeds. The primary landing page is the control and shows the page as it is. Each other landing page’s headline goes in the campaign-headline text slot, which the campaign hero’s heading carries in the site’s default language, so a visitor allocated to that variant sees its headline in the hero. A translated hero keeps its own heading, because the headline is stored in one language. A landing page without a headline leaves the hero heading unchanged, and text replacements added to the variant in Experiments are kept when the campaign is synchronised again.

Use the configured dashboard campaign summary, top campaigns, and top landing pages to review results. Conversion records are reporting data rather than a separately editable admin resource. A practical first journey is a Spring launch campaign whose /pricing landing page records the book-demo goal and then appears in both campaign and landing-page dashboard rows.

The public conversion endpoint accepts page views and CTA clicks from the campaign tracker. It is CSRF-exempt but origin-validated, limited to 60 requests per minute, and accepts only an existing Insights visit from the resolved site. Invalid origins, unknown landing-page URLs, inactive or cross-campaign goals, missing visits, and visits belonging to another site are ignored.

The tracker uses the existing Insights visit identifier from browser storage or its visit cookie. Global Privacy Control, Do Not Track, and X-Do-Not-Track signals are honoured before Campaign Studio validates or stores a conversion. The default attribution window is 30 days; an older visit is not attached to a new conversion. Replaying the same stable event key for the same goal returns the existing conversion, so a retry does not inflate the dashboard. Outcomes whose site, language, or landing-page campaign does not match the goal are rejected.

Campaign groups, landing pages, CTA widgets, and conversion goals use their standard Filament resource permissions, including view, create, update, and delete abilities. Resource lists, relationships, records, and dashboard queries are site-scoped; global administrators can work across sites.

Campaign conversions can link a goal, landing page, Insights visit/event, source record, site, language, UTM/referrer attribution, stable event key, and conversion time. Individual campaign conversions do not store an amount. A goal value reaches Insights only when a usable tracked visit is associated with the conversion. These fields are stored in plaintext reporting tables. Avoid putting personal data in event keys, campaign keys, or UTM values, restrict campaign/report access, and account for Insights data in the same privacy review.

By default, campaign-studio:purge-conversions deletes Campaign Studio conversions older than 365 days when the monthly scheduler runs. Changing capell-campaign-studio.retention_days or invoking the command with --days changes that boundary. The purge does not state that related Insights events are removed, so manage Insights retention separately.


For how to use Campaign Studio, see the admin guide. For developers: see the README.