Register For Matrix Professional
Account Benefits
Create a Matrix Professional account for exclusive access to education, techniques, salon resources and more.Already have an account? Sign In
Sign In
document.addEventListener("DOMContentLoaded", function(event) {
if(window.jQuery){
jQuery('fieldset.salon-pro').hide();
jQuery('.salon-pro.radio').find('input').change(function(){
switch(jQuery(this).attr('data-val')) {
case 'true': jQuery('fieldset.salon-pro').show(); break;
case 'undefined': jQuery('fieldset.salon-pro').hide(); break;
default: jQuery('fieldset.salon-pro').hide();
}
})
}
});
document.addEventListener("DOMContentLoaded", function(event) {
if(window.jQuery){
jQuery('.registration-social-create-account form').submit(function(e){
try {
window.dataLayer.push({
event: 'uaevent',
ecommerce: 'undefined',
eventCategory: 'registration',
eventAction: 'account signup::social',
eventLabel: 'modal'
})
} catch (e) {
console.warn('failed to push tag to dataLayer')
}
});
}});
document.addEventListener("DOMContentLoaded", function(event) {
if(window.jQuery){
jQuery('form[data-wffm]').submit(function(e){
try {
window.dataLayer.push({
event: 'uaevent',
ecommerce: 'undefined',
eventCategory: 'registration',
eventAction: 'account signup::regular',
eventLabel: 'modal'
})
} catch (e) {
console.warn('failed to push tag to dataLayer')
}
});
}});
OR