From b6a0fcdf07c03912219867d59579ca365514daf0 Mon Sep 17 00:00:00 2001 From: ArtemB Date: Fri, 21 Jun 2024 15:41:19 +0300 Subject: [PATCH] 1.1.17 add YandexMetrika tag for create_routes, registration button in header/footer v2 --- static/js/user_profile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/user_profile.js b/static/js/user_profile.js index 291abaf..f0101cd 100644 --- a/static/js/user_profile.js +++ b/static/js/user_profile.js @@ -596,10 +596,10 @@ function sendRoute(el, routeID = null){ my_routes.classList.add('selected') middleWareJS() - if(data.owner_type === 'customer' && typeof ym === 'function' ){ + if(owner_type_value === 'customer' && typeof ym === 'function' ){ ym(97070898,'reachGoal','customer') return true - } else if(data.owner_type === 'mover' && typeof ym === 'function'){ + } else if(owner_type_value === 'mover' && typeof ym === 'function'){ ym(97070898,'reachGoal','mover') return true }