PageForge 1.3: check every run before it writes, update generated pages, spintax and resumable batches. See what changed
Account Get it free

PageForge integration

Google Analytics

Send optional PageForge events, such as CSV uploads and runs, to your own GA4 property.

What works

PageForge can report its own activity to a Google Analytics 4 property you own, through GA4’s Measurement Protocol. It sends:

  • csv_upload with the uploaded file’s Media Library ID, when someone uploads a data file
  • generation_instant with the number of rows, when pages are generated
  • generation_queued with the number of rows added to the queue, on Pro

The events come from your server, not from visitors’ browsers. They identify the site with a hash of its URL and contain no visitor data. Use them to see how often your team runs campaigns, next to the rest of your GA4 reports.

Set it up

  1. In GA4, open your web data stream and create a Measurement Protocol API secret.
  2. Copy the stream’s Measurement ID, which starts with G-.
  3. In PageForge > Settings, fill in GA4 Measurement ID and GA4 API Secret, then save.
  4. Upload a CSV or run a small generation and look for the event in GA4. New events can take a while to appear in reports.

Limits and notes

  • This does not track visitors or page views. Add the GA4 tag with your theme or a separate plugin for that.
  • Events are sent without waiting for a reply, so a wrong ID or secret fails silently. Check GA4 after setup.
  • Nothing is sent until both fields are filled in. Clear them to stop.
  • Google processes the events under its own terms. PageForge sends only the event name, the values listed above and the site hash.

Ask AI about this page

Build the template once. Let the data do the rest.

PageForge is free on WordPress.org. Upload a CSV, preview the first page, and generate your first 100 pages today.

↑↓ to move↵ to open