feat: added new products_carousel bock type
This commit is contained in:
@@ -43,6 +43,10 @@ export const useYaMetrikaStore = defineStore('ya_metrika', {
|
||||
return;
|
||||
}
|
||||
|
||||
if (! target) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (typeof window.ym === 'function' && window.YA_METRIKA_ID !== undefined) {
|
||||
console.debug('[ym] reachGoal ', target, ' params: ', params);
|
||||
window.ym(window.YA_METRIKA_ID, 'reachGoal', target, params);
|
||||
|
||||
Reference in New Issue
Block a user