Is it possible to have to update a metafield value fromt the store front

Is it posssible to do something like this to track how often a particular button is clicked.

{% assign product.metafields.custom.counter_1 = product.metafields.custom.counter_1 | plus: 1 %}

Hi @mrsilver123

Liquid is template language, so you can’t do it.

Btw you can try to send a search request via ajax, then you can see results in your search dashboard.