I'm trying to use the Klaviyo API to add custom metric when a particular page is viewed. I have followed the instructions from the klaviyo post here:
https://help.klaviyo.com/hc/en-us/articles/360059075151-How-to-create-a-custom-viewed-page-metric
but the custom metric isn't being counted.
The reason we need this is to determine which users have completed checkout for an abandoned cart flow. The default Klaviyo flow won't work with our application because some payments are not done immediately. For example interac e-transfers, our customers will still receive an abandoned cart email after they have successfully checked out.
If we can create a metric on users who have or have not visited our Woocomerce "thank you" page we can accurately target them with an abandoned cart flow.
We could add a filter to the flow to make sure only those who didn't visit that thank you page in the last few hours would be targeted.
There's a section in the tutorial that recommends using a UTM parameter to test the email address. I don't quite understand if your saying every URL would need this UTM parameter to track views.