How to Send Easy Digital Downloads Orders to Google Analytics 4

Written by Nasir Ahmed
PublishedAugust 2, 2026
Reading time3 min read

Google Analytics 4 is a analytics platform. Here is how to pipe Easy Digital Downloads order data straight into Google Analytics 4 using Advanced Form Integration. The setup takes about five minutes and runs entirely on your own server.

Skip the automation middleman

Rather than routing order data through a third-party cloud, AFI sends it directly from your WordPress server to analytics. No task meter, no monthly bill.

What you will need

  • A WordPress site with Easy Digital Downloads installed and configured.
  • A Google Analytics 4 account.
  • The Advanced Form Integration plugin (free from WordPress.org).

Connect Google Analytics 4 to AFI

  1. Get your GA4 Measurement ID and API Secret from your GA4 property.
  2. In WordPress, go to AFI → Settings → GA4.
  3. Enter the Measurement ID and API Secret.
  4. Click Save.

Setting up the integration

1. Create a new integration

Go to AFI → Add New. Name it Easy Digital Downloads to Google Analytics 4.

2. Pick your trigger

Select Easy Digital Downloads as the form provider. AFI fires when a purchase is completed, giving you access to customer details, product information, payment data, and download links.

3. Select Google Analytics 4 as the destination

Choose Google Analytics 4 from the platform dropdown and pick Send Event. This sends an event to Google Analytics 4.

4. Map fields

Match each Google Analytics 4 field on the left to the corresponding Easy Digital Downloads field on the right. Common mappings include customer name, email, product details, and order total. You can also use smart tags like {{_submission_date}}.

5. Add conditions if needed

Only want to send certain purchases? Set up a conditional rule. For example, only sync completed payments or specific products.

6. Save and test

Click Save Integration. Place a test purchase in your Easy Digital Downloads store. Check Google Analytics 4 to confirm the data arrived. If anything looks wrong, open AFI → Log to see the exact request and response.

Free vs Pro

The free version maps event name and parameters to Google Analytics 4 with unlimited orders. Pro adds custom parameter mapping. No per-order fees on any plan.

Frequently asked questions

Which Easy Digital Downloads events trigger the integration?

AFI fires when a purchase is completed. This covers new sales, including customer details and product information.

Will adding this slow down my checkout?

No. AFI sends data to the destination after the purchase is processed. Your customers complete checkout normally without any delay.

Can I send purchases to multiple platforms?

Yes. Create a separate integration for each destination, and every purchase flows to all of them simultaneously.

Get started

Install Advanced Form Integration free from WordPress.org and connect Easy Digital Downloads to Google Analytics 4 in minutes.

Leave a Reply

Your email address will not be published. Required fields are marked *