Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Added basic ga events for add to cart, customer login, customer registration #108

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lucho2d7
Copy link

Added the ga event send calls for these Magento events:

  • controller_action_predispatch_checkout_cart_add
    Sends event with category=catalog, action=add-to-cart, label=[productId]
  • customer_login
    Sends event with category=customer, action=login, label=[customerId]
  • customer_register_success
    Sends event with category=customer, action=registration, label=[customerId]

@fooman
Copy link
Owner

fooman commented May 24, 2018

Thanks @lucho2d7 for your contribution. The changes unfortunately no longer cleanly apply to the latest master branch. Would you mind checking the merge conflicts and rebase your PR to resolve. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants