Skip to content

Conversion Counters#885

Merged
fpcorso merged 13 commits intodevelopfrom
feature/775
Oct 19, 2020
Merged

Conversion Counters#885
fpcorso merged 13 commits intodevelopfrom
feature/775

Conversation

@fpcorso
Copy link
Copy Markdown
Contributor

@fpcorso fpcorso commented Oct 8, 2020

Description

Adds basic conversion counters to popups to go with original open counters.

Related Issue

Closes #775

Types of changes

Adds:

  1. New columns on "All Popups" for conversions and conversion rate
  2. Adds conversion info to Analytics meta box on popup editor
  3. Adds an action to the form submission js to fire conversion increase to analytics endpoint
  4. Adds an increase to conversion counter in the PHP code when forms are submitted without AJAX

Screenshots

This has been tested in the following browsers

  • Chrome
  • Firefox
  • Edge
  • Safari

Checklist:

  • My code has been tested in the latest version of WordPress.
  • My code does not have any warnings from ESLint.
  • My code does not have any warnings from StyleLint.
  • My code does not have any warnings from PHPCS.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • All new functions and classes have code documentation.

@fpcorso fpcorso linked an issue Oct 9, 2020 that may be closed by this pull request
5 tasks
We already hide the opens and conversions when analytics is active as the extensions adds its own data to the columns. May change in the future version of the extension.

Issue #775
If the form submission has already been counted in the backend, we can skip firing the conversion beacon in the JS.

Issue #775
@fpcorso fpcorso changed the title Conversion Counters [WIP] Conversion Counters Oct 14, 2020
@fpcorso fpcorso requested a review from danieliser October 14, 2020 14:53
Comment thread classes/Admin/Popups.php
@fpcorso fpcorso merged commit eb08aa2 into develop Oct 19, 2020
@fpcorso fpcorso deleted the feature/775 branch October 19, 2020 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement basic conversion counters

2 participants