hipdevteam/wpforms-ga

Google Analytics for WPForms

Installs: 29 368

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

Type:wordpress-plugin

0.2.2 2022-04-22 01:04 UTC

This package is not auto-updated.

Last update: 2024-03-22 14:20:59 UTC


README

This plugin offers very basic event tracking for WPForms form submissions in Google Analytics. No need for javascript snippets or bloated analytics plugins.

Whenever a form is submitted, it triggers an event with the following properties:

  • Category: Form
  • Action: Submit
  • Label: Form Name

When used, it only captures the Submit event and it captures it for every form.

Installation

Installation is done via composer. Simply run composer require ydlr/wpforms-ga from the root of your project.

If you are unfamiliar with using composer to manage dependencies on WordPress sites, check out this helpful introduction.

Setup

First, setup Google Analytics if you haven't done so already. Next, add your GA Tracking ID to WPForms settings:

  1. From WordPress Admin, navigate to WPForms->Settings.
  2. Select the "Integrations" tab.
  3. Click the "Google Analytics" provider, then select "+ Add New Account".
  4. Insert your Google Tracking ID and a nickname for the account. The nickname can be anything you like.
  5. Click "Connect to Google Analytics".

That's all. Form submissions will now be tracked in Google Analytics.

Issues

Please report any bugs, feature requests, suggestions, or pull requests through github.