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 &&
|
if (navigator.userAgent.toLowerCase().indexOf('firefox') > -1 &&
|
||||||
parseInt(navigator.userAgent.toLowerCase().match(/firefox\/*([^\n\r]*)\./)[1]) <= 49) {
|
parseInt(navigator.userAgent.toLowerCase().match(/firefox\/*([^\n\r]*)\./)[1]) <= 49) {
|
||||||
|
sendEvent('sender', 'unsupported', {
|
||||||
|
cd6: 'Unsupported Firefox'
|
||||||
|
}).then(() => {
|
||||||
location.replace('/unsupported');
|
location.replace('/unsupported');
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user