mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-13 09:17:20 +00:00
@@ -12,3 +12,12 @@ if (!('customElements' in self)) {
|
||||
} else {
|
||||
init();
|
||||
}
|
||||
|
||||
window.ga = window.ga || ((...args) => (ga.q = ga.q || []).push(args));
|
||||
ga('create', 'UA-128752250-1', 'auto');
|
||||
ga('set', 'transport', 'beacon');
|
||||
ga('send', 'pageview');
|
||||
// Load the GA script
|
||||
const s = document.createElement('script');
|
||||
s.src = 'https://www.google-analytics.com/analytics.js';
|
||||
document.head!.appendChild(s);
|
||||
|
||||
Reference in New Issue
Block a user