adding metrics event
This commit is contained in:
parent
6b291ae012
commit
fae6561393
|
@ -22,5 +22,9 @@ gcmCompliant().catch(err => {
|
|||
|
||||
if (navigator.userAgent.toLowerCase().indexOf('firefox') > -1 &&
|
||||
parseInt(navigator.userAgent.toLowerCase().match(/firefox\/*([^\n\r]*)\./)[1]) <= 49) {
|
||||
location.replace('/unsupported');
|
||||
sendEvent('sender', 'unsupported', {
|
||||
cd6: 'Unsupported Firefox'
|
||||
}).then(() => {
|
||||
location.replace('/unsupported');
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue