Here’s my the button
buttons.push(this.attach('button', {
label: 'log_in',
className: 'btn-primary login-button',
action: 'showLogin'
}));
How do I add this code to it
.setAttribute('onclick', "ym(XXXXXXXX, 'reachGoal', 'login_button'); return true;")