Google analytics - Failure to track items viewed and added to cart

Open
#175 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
php
Domain
analytics

Research direction

Start by inspecting the ps_googleanalytics module's handling of product-view and add-to-cart tracking for PrestaShop 8.1.7, module 5.0.2, and PHP 8. Reproduce the reported case and verify that items viewed and added to cart appear in Google Analytics; the issue provides no file, test, reproduction steps, or expected behavior details.

Written by the indexing model from the issue text.

Description

bug
Prerequisites
Describe the bug and add attachments

Hi.
Prestashop version: 8.1.7
Module version: 5.0.2
PHP version: 8

Items viewed and added to cart since june are not tracked in Analytics.

Why?

Image Image
Expected behavior

No response

Steps to reproduce

no steps

PrestaShop version(s) where the bug happened

8.1.7

How you installed PrestaShop

No response

PHP version(s) where the bug happened

8

If your bug is related to a module, specify its name and its version

ps_googleanalytics

Your company or customer's name goes here (if applicable).

No response

Dominant language
PHP
Stars
41
Forks
66
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PrestaShop/ps_googleanalytics

All issues in PrestaShop/ps_googleanalytics

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.