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

Integrate the website with Google Analytics 4 #241

Open
dmitrii-fediuk opened this issue Jun 27, 2023 · 3 comments
Open

Integrate the website with Google Analytics 4 #241

dmitrii-fediuk opened this issue Jun 27, 2023 · 3 comments

Comments

@dmitrii-fediuk
Copy link
Contributor

dmitrii-fediuk commented Jun 27, 2023

@dmitrii-fediuk
Copy link
Contributor Author

@dmitrii-fediuk
Copy link
Contributor Author

dmitrii-fediuk commented Jun 27, 2023

Yireo_GoogleTagManager2 requires Magento ≥ 2.3.7 and PHP ≥ 7.4: github.com/yireo/Yireo_GoogleTagManager2#requirements

We have Magento 2.3.2 and PHP 7.2.

So the upgrade path is quite complex:

  1. Upgrade Magento 2.3.2 → 2.3.6
  2. Upgrade PHP from 7.2 → 7.3
  3. Upgrade Magento 2.3.6 → 2.3.7
  4. Upgrade PHP 7.3 → 7.4
  5. Install Yireo_GoogleTagManager2

@dmitrii-fediuk
Copy link
Contributor Author

dmitrii-fediuk commented Jun 28, 2023

magefan/module-google-tag-manager supports PHP ≥ 7.2 and Magento ≥ 2.2.0.
But I do not know whether it allows Google Analytics to measure ecommerce.

As I see, the free version supports 4 events for measuring ecommerce:

  1. begin_checkout
  2. purchase
  3. view_cart
  4. view_item

github.com/magefan/module-google-tag-manager/blob/2.3.0/view/adminhtml/templates/system/config/event/list.phtml#L16-L21

The rest ecommerce events are supported by a paid version only: github.com/magefan/module-google-tag-manager/blob/2.3.0/view/adminhtml/templates/system/config/event/list.phtml#L22-L41

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

No branches or pull requests

1 participant