Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/mage 780 - Revenue analytics #1498

Merged
merged 72 commits into from
Apr 22, 2024
Merged

Conversation

cammonro
Copy link
Contributor

@cammonro cammonro commented Apr 4, 2024

This PR introduces revenue analytics and includes the following:

  • Adds dependency upon version 4 of algolia/algoliasearch-client-php which was upgraded in Feature/mage 827 - PHP connector v4 #1494
  • A new independent authenticated user token is sent for all backend conversion handling to maintain event tracking for entire customer journey including guest checkout
  • Both add to cart and place order conversion events are now supported as event subtypes
  • Add to cart and place order operations now capture revenue conversion data
  • New events model implemented to send conversion data with batched handling of query ids at time of purchase
  • Removed deduplication of variants in events data payload for indexed configurable products to ensure proper revenue reporting
  • Discounts applied for special pricing, group pricing, tier pricing, catalog price rules, shopping cart price rules
  • Data patch to migrate conversion analytics mode for all store scopes
  • Added ConfigChecker class for store scope handling
  • Encoded PII has been removed from authenticated tokens and cookies renamed for clarity
  • Fixed bug related to persistent auth token in session
  • Fixed bug related to inconsistent handling of user cookie consent
  • Fixed bug related to event reporting for more accurate conversion percentages
  • Removal of unneeded add to cart observer
  • New conversion sub types added to Analytics overview
  • General refactoring including PHP 8 constructor property promotion and stronger typing

mohitalgolia and others added 30 commits February 1, 2024 15:39
# Conflicts:
#	Helper/Entity/ProductHelper.php
@cammonro cammonro merged commit 875ba31 into release/3.14.0-beta Apr 22, 2024
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants