Hi all,
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’.
![](https://uploads-us-west-2.insided.com/klaviyo-en/attachment/370c722e-8045-44be-9694-386cc60d8f26.png)
Here is what my product.liquid looks like:
![](https://uploads-us-west-2.insided.com/klaviyo-en/attachment/525a5c5b-433b-4834-ab2b-4f57b76aaa20.png)
Here is the error, I can’t click “create” because I don’t meet the prerequisites.
![](https://uploads-us-west-2.insided.com/klaviyo-en/attachment/f59345e3-f094-45ba-8618-68dab1c793f5.png)
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.
Thanks guys!
Russell