Aquí está mi botón
buttons.push(this.attach('button', {
label: 'log_in',
className: 'btn-primary login-button',
action: 'showLogin'
}));
¿Cómo agrego este código a él?
.setAttribute('onclick', "ym(XXXXXXXX, 'reachGoal', 'login_button'); return true;")
