I’ve followed the instructions on how to create a custom ATC event here: https://help.klaviyo.com/hc/en-us/articles/115001396711-How-to-Create-a-Custom-Added-to-Cart-Event-for-Shopify
I’ve added the script into my product.liquid page and also modified the classname value to reflect that found on my inspect element.
The issue is, however, that I can’t seem to create a flow from an ATC trigger because it gives the error that “this flow requires setting up a special metric” - and when I click on the ‘learn more,’ it just brings me back to the aforementioned help page.
The highlighted part is my ATC button found in the inspect element, and you can see the classname value is ‘btn product-form_cart-submit’.
Here is what my product.liquid looks like:
Here is the error, I can’t click “create” because I don’t meet the prerequisites.
FYI, I did try using ‘product-form_cart-submit’ - without the ‘btn’ at the front to no avail.
Any solutions? Sorry if this has been asked before, I couldn’t find any forum post that helped.
Best answer by David ToView original