Skip to main content

Tracking key events with Google Analytics (GA)

Learn how to track key events in Google Analytics. As an example, we'll show you how to set up tracking for form submissions by measuring visits to the thank-you page that appears after a form is submitted.

Available on: Mini plan and above (Legacy plan: Starter plan and above)


Important:

  • The steps shown in this article use an external tool. Our chat support team can't help with the tool's behavior, specifications, or any setup not covered in this article. For help, try searching for similar cases or posting a question in the Studio.Design Community.

  • Screens and setup steps may change over time and may differ from what's shown here. Please check the latest information yourself before use, and contact Google Analytics directly if needed.

Use case

Here's one way to track Studio.Design form submissions as key events in Google Analytics.

Goal: Track how often your form is submitted

Method: Set the Thank You page (shown after form submission) as a key event

Note: The method described here won't work correctly if your Thank You message is a modal instead of a separate page.

(1) Before you start: Connect the App

Make sure you've connected Studio.Design with Google Analytics through Apps integration. For details, see How to connect Google Analytics.

(2) Create and set up your Thank You page

Follow the article below to create a Thank You page and link it to your form.

For this example, set the page path to "thankyou".

(3) Set up the event in Google Analytics

* These steps are based on [GA4] Tutorial: Set up key events.

  1. Sign in to Google Analytics.

  2. Under [Admin] > [Data display], click [Events].

  3. Click [+ Create event].

  4. Enter a name in the [Event name] field.

    In this example, we'll use the recommended event "generate_lead". Enter "generate_lead", then toggle the [Mark as key event] switch if needed.

  5. Under [Choose how to create the event], select [Create without code].

  6. Click [Show more options].

  7. Enter the first matching condition.

    For this example, enter "event_name", "equals", "page_view".

  8. Enter a second matching condition.
    For this example, enter "page_location", "equals", "https://exsample.com/thankyou".

    Screenshot: Creating an event in GA.

  9. In the parameter settings, click [Add modification].
    When using a recommended event, Google Analytics will treat it as a custom event unless all required parameters are defined.

    For this example, enter the parameter "value" and the value "100" in the first row to define the lead value. In the second row, enter the parameter "currency" and the value "JPY".

  10. Click [Save] in the top right.

  11. Click [Create] in the top right.

(4) Mark the event as a key event

The new event isn't treated as a key event in Analytics by default, so you need to mark it as one.

  1. Under [Admin] > [Data display], click [Events].

  2. Click the star next to the event name you want to mark as a key event.

(5) Test it out

Submit a test entry through your Studio.Design form, then check the Google Analytics real-time report to confirm the key event is being tracked.

That's it! You can now track Studio.Design form submissions as key events in Google Analytics.

Did this answer your question?