1.1.17 add YandexMetrika tag for create_routes, registration button in header/footer v2
This commit is contained in:
@@ -596,10 +596,10 @@ function sendRoute(el, routeID = null){
|
|||||||
my_routes.classList.add('selected')
|
my_routes.classList.add('selected')
|
||||||
middleWareJS()
|
middleWareJS()
|
||||||
|
|
||||||
if(data.owner_type === 'customer' && typeof ym === 'function' ){
|
if(owner_type_value === 'customer' && typeof ym === 'function' ){
|
||||||
ym(97070898,'reachGoal','customer')
|
ym(97070898,'reachGoal','customer')
|
||||||
return true
|
return true
|
||||||
} else if(data.owner_type === 'mover' && typeof ym === 'function'){
|
} else if(owner_type_value === 'mover' && typeof ym === 'function'){
|
||||||
ym(97070898,'reachGoal','mover')
|
ym(97070898,'reachGoal','mover')
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user