Skip to main content
Solved

'Add to Cart' Trigger - button has both ID and class?

  • April 10, 2024
  • 3 replies
  • 50 views

Forum|alt.badge.img

I’ve gone through the tutorial, tried the original and both snippers 2 and 3 using the button ID and Class but neither are tracking Add to Carts. My button has both ID and Class. When I click the button Chrome highlights the Class code so I assumed it was that at first.

Do I need to have Snipper 1+snipper 2 or 3? Which should I use? I’ve tried all combinations.

Thanks!

Best answer by Brian Turcotte

Hi @kylespacesweets!

 

My apologies for the delay here! Are any other functionalities not working on your site? Also, can you confirm that Klaviyo.js has been successfully added?

 

- Brian

View original
Did this topic or the replies in the thread help you find an answer to your question?

3 replies

Brian Turcotte
Forum|alt.badge.img+37

Hi @kylespacesweets!

May I ask what e-commerce platform you’re using? If you’re using Shopify, what theme are you using?

Best,
Brian


Forum|alt.badge.img

Shopify using Shrine theme :)

Thanks,

Kyle


Brian Turcotte
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • Answer
  • April 30, 2024

Hi @kylespacesweets!

 

My apologies for the delay here! Are any other functionalities not working on your site? Also, can you confirm that Klaviyo.js has been successfully added?

 

- Brian