Solved

I am unable to add "Add to Cart" metric for Debit 11.3.0 theme.

  • 4 July 2021
  • 1 reply
  • 67 views

Badge +2

This theme is using class notation and each product has differnt class. 

1

product 1
product 2

Kindly guide me how to write its class

icon

Best answer by Dov 6 July 2021, 17:53

View original

1 reply

Userlevel 7
Badge +61

Hello @Aiman,

Thanks for sharing your question with the Klaviyo Community.

First, I would ensure that you have met all of the pre-requisites required to allow the Added to Cart metric to fire. There is a thread I’m including below with a small checklist on these items -- the checklist is contained in my highlighted reply in the following thread:

After you confirm these conditions have been met i.e. that you have self-identified your browser and already installed Viewed Product tracking, in your case, I would first try using just “sc-gzcbmu” in the Added to Cart code snippet, followed by just “jNYWPO”, and lastly try using both class names separated by a period so “sc-gzcbmu.jNYWPO”. In between each class name change, you will need to self-identify your browser and add an item to your cart (steps included in the thread and our help documentation) to test the Added to Cart functionality. If this was done correctly, with the correct class you will see Added to Cart as a discrete metric in your Analytics tab in Klaviyo.

Hope this helps and have a great rest of your day.

 

 

Reply