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

productReference & skuReference (Custom dimension 1 & 2) Are Null in add_to_cart event in datalayer. #143

Open
AFJ-Whirlpool opened this issue Jun 5, 2023 · 0 comments

Comments

@AFJ-Whirlpool
Copy link

Describe the bug
When the event add_to_cart is launched the values for custom dimension 1 and 2 (productReference & skuReference) are missing this is proven by the fact that in the view_item event these values are filled.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'GTM preview and add a product to the cart'
  2. Click on 'DataLayer withing GTM preview mode'
  3. Scroll down to 'Ecommerce Items'
  4. See error

Expected behavior
The same way the Datalyer is represented in the view_item event

Screenshots
image

this is how it should look take view_item as base
image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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

No branches or pull requests

1 participant