google / google/site-kit-wp

Gravity Forms `form_submit` event

Open
#10,619 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.4k
Forks
383
Avg merge
4d 14h
Merged PRs (30d)
77

Description

## Feature Description

There were `form_submit` events added for several form plugins noted in #1728, but not Gravity Forms. Assuming the [event-providers](https://github.com/google/site-kit-wp/tree/develop/assets/js/event-providers) is an indicator to confirm, Gravity Forms is also not listed there.

Note that I have not tested the plugin for whether this does somehow otherwise track the event.

---------------

_Do not alter or remove anything below. The following sections will be managed by moderators only._

## Acceptance criteria

* `form_submit`pushed after submitting form created with Gravity Form

## Implementation Brief

* [ ] Ajax `gform_confirmation_loaded` (see https://docs.gravityforms.com/gform_confirmation_loaded/)
* [ ] Not ajax `gform_after_submission` (see https://docs.gravityforms.com/gform_after_submission/)

### Test Coverage

* N/A?

## QA Brief

* N/A?

## Changelog entry

* Add `form_submit` event for Gravity Forms

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing providers under assets/js/event-providers and the related implementation from issue #1728. Verify the Gravity Forms Ajax gform_confirmation_loaded and non-Ajax gform_after_submission hooks, then ensure form_submit is pushed after submission and validate both paths with the available project tests or QA steps.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
analytics
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.