Skip to content

Commit 861c7ef

Browse files
committed
ENH Anonymize Analytics and remove former google search
1 parent 8d0b38b commit 861c7ef

File tree

5,203 files changed

+21601
-49823
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,203 files changed

+21601
-49823
lines changed

0.15/about.html

+7-11
Original file line numberDiff line numberDiff line change
@@ -362,17 +362,13 @@ <h2>Infrastructure support<a class="headerlink" href="#infrastructure-support" t
362362
</div>
363363

364364

365-
<script type="text/javascript">
366-
var _gaq = _gaq || [];
367-
_gaq.push(['_setAccount', 'UA-22606712-2']);
368-
_gaq.push(['_trackPageview']);
369-
370-
(function() {
371-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
372-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
373-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
374-
})();
375-
</script>
365+
<script>
366+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
367+
ga('create', 'UA-22606712-2', 'auto');
368+
ga('set', 'anonymizeIp', true);
369+
ga('send', 'pageview');
370+
</script>
371+
<script async src='https://www.google-analytics.com/analytics.js'></script>
376372

377373

378374
<script src="http://www.google.com/jsapi" type="text/javascript"></script>

0.15/auto_examples/applications/face_recognition.html

+7-11
Original file line numberDiff line numberDiff line change
@@ -359,17 +359,13 @@
359359
</div>
360360

361361

362-
<script type="text/javascript">
363-
var _gaq = _gaq || [];
364-
_gaq.push(['_setAccount', 'UA-22606712-2']);
365-
_gaq.push(['_trackPageview']);
366-
367-
(function() {
368-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
369-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
370-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
371-
})();
372-
</script>
362+
<script>
363+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
364+
ga('create', 'UA-22606712-2', 'auto');
365+
ga('set', 'anonymizeIp', true);
366+
ga('send', 'pageview');
367+
</script>
368+
<script async src='https://www.google-analytics.com/analytics.js'></script>
373369

374370

375371
<script src="http://www.google.com/jsapi" type="text/javascript"></script>

0.15/auto_examples/applications/plot_model_complexity_influence.html

+7-11
Original file line numberDiff line numberDiff line change
@@ -466,17 +466,13 @@
466466
</div>
467467

468468

469-
<script type="text/javascript">
470-
var _gaq = _gaq || [];
471-
_gaq.push(['_setAccount', 'UA-22606712-2']);
472-
_gaq.push(['_trackPageview']);
473-
474-
(function() {
475-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
476-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
477-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
478-
})();
479-
</script>
469+
<script>
470+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
471+
ga('create', 'UA-22606712-2', 'auto');
472+
ga('set', 'anonymizeIp', true);
473+
ga('send', 'pageview');
474+
</script>
475+
<script async src='https://www.google-analytics.com/analytics.js'></script>
480476

481477

482478
<script src="http://www.google.com/jsapi" type="text/javascript"></script>

0.15/auto_examples/applications/plot_out_of_core_classification.html

+7-11
Original file line numberDiff line numberDiff line change
@@ -673,17 +673,13 @@
673673
</div>
674674

675675

676-
<script type="text/javascript">
677-
var _gaq = _gaq || [];
678-
_gaq.push(['_setAccount', 'UA-22606712-2']);
679-
_gaq.push(['_trackPageview']);
680-
681-
(function() {
682-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
683-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
684-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
685-
})();
686-
</script>
676+
<script>
677+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
678+
ga('create', 'UA-22606712-2', 'auto');
679+
ga('set', 'anonymizeIp', true);
680+
ga('send', 'pageview');
681+
</script>
682+
<script async src='https://www.google-analytics.com/analytics.js'></script>
687683

688684

689685
<script src="http://www.google.com/jsapi" type="text/javascript"></script>

0.15/auto_examples/applications/plot_outlier_detection_housing.html

+7-11
Original file line numberDiff line numberDiff line change
@@ -346,17 +346,13 @@ <h2>Second example<a class="headerlink" href="#second-example" title="Permalink
346346
</div>
347347

348348

349-
<script type="text/javascript">
350-
var _gaq = _gaq || [];
351-
_gaq.push(['_setAccount', 'UA-22606712-2']);
352-
_gaq.push(['_trackPageview']);
353-
354-
(function() {
355-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
356-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
357-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
358-
})();
359-
</script>
349+
<script>
350+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
351+
ga('create', 'UA-22606712-2', 'auto');
352+
ga('set', 'anonymizeIp', true);
353+
ga('send', 'pageview');
354+
</script>
355+
<script async src='https://www.google-analytics.com/analytics.js'></script>
360356

361357

362358
<script src="http://www.google.com/jsapi" type="text/javascript"></script>

0.15/auto_examples/applications/plot_prediction_latency.html

+7-11
Original file line numberDiff line numberDiff line change
@@ -627,17 +627,13 @@
627627
</div>
628628

629629

630-
<script type="text/javascript">
631-
var _gaq = _gaq || [];
632-
_gaq.push(['_setAccount', 'UA-22606712-2']);
633-
_gaq.push(['_trackPageview']);
634-
635-
(function() {
636-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
637-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
638-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
639-
})();
640-
</script>
630+
<script>
631+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
632+
ga('create', 'UA-22606712-2', 'auto');
633+
ga('set', 'anonymizeIp', true);
634+
ga('send', 'pageview');
635+
</script>
636+
<script async src='https://www.google-analytics.com/analytics.js'></script>
641637

642638

643639
<script src="http://www.google.com/jsapi" type="text/javascript"></script>

0.15/auto_examples/applications/plot_species_distribution_modeling.html

+7-11
Original file line numberDiff line numberDiff line change
@@ -438,17 +438,13 @@ <h2>References<a class="headerlink" href="#references" title="Permalink to this
438438
</div>
439439

440440

441-
<script type="text/javascript">
442-
var _gaq = _gaq || [];
443-
_gaq.push(['_setAccount', 'UA-22606712-2']);
444-
_gaq.push(['_trackPageview']);
445-
446-
(function() {
447-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
448-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
449-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
450-
})();
451-
</script>
441+
<script>
442+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
443+
ga('create', 'UA-22606712-2', 'auto');
444+
ga('set', 'anonymizeIp', true);
445+
ga('send', 'pageview');
446+
</script>
447+
<script async src='https://www.google-analytics.com/analytics.js'></script>
452448

453449

454450
<script src="http://www.google.com/jsapi" type="text/javascript"></script>

0.15/auto_examples/applications/plot_stock_market.html

+7-11
Original file line numberDiff line numberDiff line change
@@ -476,17 +476,13 @@ <h2>Visualization<a class="headerlink" href="#visualization" title="Permalink to
476476
</div>
477477

478478

479-
<script type="text/javascript">
480-
var _gaq = _gaq || [];
481-
_gaq.push(['_setAccount', 'UA-22606712-2']);
482-
_gaq.push(['_trackPageview']);
483-
484-
(function() {
485-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
486-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
487-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
488-
})();
489-
</script>
479+
<script>
480+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
481+
ga('create', 'UA-22606712-2', 'auto');
482+
ga('set', 'anonymizeIp', true);
483+
ga('send', 'pageview');
484+
</script>
485+
<script async src='https://www.google-analytics.com/analytics.js'></script>
490486

491487

492488
<script src="http://www.google.com/jsapi" type="text/javascript"></script>

0.15/auto_examples/applications/plot_tomography_l1_reconstruction.html

+7-11
Original file line numberDiff line numberDiff line change
@@ -354,17 +354,13 @@
354354
</div>
355355

356356

357-
<script type="text/javascript">
358-
var _gaq = _gaq || [];
359-
_gaq.push(['_setAccount', 'UA-22606712-2']);
360-
_gaq.push(['_trackPageview']);
361-
362-
(function() {
363-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
364-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
365-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
366-
})();
367-
</script>
357+
<script>
358+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
359+
ga('create', 'UA-22606712-2', 'auto');
360+
ga('set', 'anonymizeIp', true);
361+
ga('send', 'pageview');
362+
</script>
363+
<script async src='https://www.google-analytics.com/analytics.js'></script>
368364

369365

370366
<script src="http://www.google.com/jsapi" type="text/javascript"></script>

0.15/auto_examples/applications/svm_gui.html

+7-11
Original file line numberDiff line numberDiff line change
@@ -532,17 +532,13 @@
532532
</div>
533533

534534

535-
<script type="text/javascript">
536-
var _gaq = _gaq || [];
537-
_gaq.push(['_setAccount', 'UA-22606712-2']);
538-
_gaq.push(['_trackPageview']);
539-
540-
(function() {
541-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
542-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
543-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
544-
})();
545-
</script>
535+
<script>
536+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
537+
ga('create', 'UA-22606712-2', 'auto');
538+
ga('set', 'anonymizeIp', true);
539+
ga('send', 'pageview');
540+
</script>
541+
<script async src='https://www.google-analytics.com/analytics.js'></script>
546542

547543

548544
<script src="http://www.google.com/jsapi" type="text/javascript"></script>

0.15/auto_examples/applications/topics_extraction_with_nmf.html

+7-11
Original file line numberDiff line numberDiff line change
@@ -264,17 +264,13 @@
264264
</div>
265265

266266

267-
<script type="text/javascript">
268-
var _gaq = _gaq || [];
269-
_gaq.push(['_setAccount', 'UA-22606712-2']);
270-
_gaq.push(['_trackPageview']);
271-
272-
(function() {
273-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
274-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
275-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
276-
})();
277-
</script>
267+
<script>
268+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
269+
ga('create', 'UA-22606712-2', 'auto');
270+
ga('set', 'anonymizeIp', true);
271+
ga('send', 'pageview');
272+
</script>
273+
<script async src='https://www.google-analytics.com/analytics.js'></script>
278274

279275

280276
<script src="http://www.google.com/jsapi" type="text/javascript"></script>

0.15/auto_examples/applications/wikipedia_principal_eigenvector.html

+7-11
Original file line numberDiff line numberDiff line change
@@ -428,17 +428,13 @@
428428
</div>
429429

430430

431-
<script type="text/javascript">
432-
var _gaq = _gaq || [];
433-
_gaq.push(['_setAccount', 'UA-22606712-2']);
434-
_gaq.push(['_trackPageview']);
435-
436-
(function() {
437-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
438-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
439-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
440-
})();
441-
</script>
431+
<script>
432+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
433+
ga('create', 'UA-22606712-2', 'auto');
434+
ga('set', 'anonymizeIp', true);
435+
ga('send', 'pageview');
436+
</script>
437+
<script async src='https://www.google-analytics.com/analytics.js'></script>
442438

443439

444440
<script src="http://www.google.com/jsapi" type="text/javascript"></script>

0.15/auto_examples/bicluster/bicluster_newsgroups.html

+7-11
Original file line numberDiff line numberDiff line change
@@ -383,17 +383,13 @@
383383
</div>
384384

385385

386-
<script type="text/javascript">
387-
var _gaq = _gaq || [];
388-
_gaq.push(['_setAccount', 'UA-22606712-2']);
389-
_gaq.push(['_trackPageview']);
390-
391-
(function() {
392-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
393-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
394-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
395-
})();
396-
</script>
386+
<script>
387+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
388+
ga('create', 'UA-22606712-2', 'auto');
389+
ga('set', 'anonymizeIp', true);
390+
ga('send', 'pageview');
391+
</script>
392+
<script async src='https://www.google-analytics.com/analytics.js'></script>
397393

398394

399395
<script src="http://www.google.com/jsapi" type="text/javascript"></script>

0.15/auto_examples/bicluster/plot_spectral_biclustering.html

+7-11
Original file line numberDiff line numberDiff line change
@@ -280,17 +280,13 @@
280280
</div>
281281

282282

283-
<script type="text/javascript">
284-
var _gaq = _gaq || [];
285-
_gaq.push(['_setAccount', 'UA-22606712-2']);
286-
_gaq.push(['_trackPageview']);
287-
288-
(function() {
289-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
290-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
291-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
292-
})();
293-
</script>
283+
<script>
284+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
285+
ga('create', 'UA-22606712-2', 'auto');
286+
ga('set', 'anonymizeIp', true);
287+
ga('send', 'pageview');
288+
</script>
289+
<script async src='https://www.google-analytics.com/analytics.js'></script>
294290

295291

296292
<script src="http://www.google.com/jsapi" type="text/javascript"></script>

0.15/auto_examples/bicluster/plot_spectral_coclustering.html

+7-11
Original file line numberDiff line numberDiff line change
@@ -271,17 +271,13 @@
271271
</div>
272272

273273

274-
<script type="text/javascript">
275-
var _gaq = _gaq || [];
276-
_gaq.push(['_setAccount', 'UA-22606712-2']);
277-
_gaq.push(['_trackPageview']);
278-
279-
(function() {
280-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
281-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
282-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
283-
})();
284-
</script>
274+
<script>
275+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
276+
ga('create', 'UA-22606712-2', 'auto');
277+
ga('set', 'anonymizeIp', true);
278+
ga('send', 'pageview');
279+
</script>
280+
<script async src='https://www.google-analytics.com/analytics.js'></script>
285281

286282

287283
<script src="http://www.google.com/jsapi" type="text/javascript"></script>

0.15/auto_examples/calibration/plot_calibration.html

+7-11
Original file line numberDiff line numberDiff line change
@@ -272,17 +272,13 @@
272272
</div>
273273

274274

275-
<script type="text/javascript">
276-
var _gaq = _gaq || [];
277-
_gaq.push(['_setAccount', 'UA-22606712-2']);
278-
_gaq.push(['_trackPageview']);
279-
280-
(function() {
281-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
282-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
283-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
284-
})();
285-
</script>
275+
<script>
276+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
277+
ga('create', 'UA-22606712-2', 'auto');
278+
ga('set', 'anonymizeIp', true);
279+
ga('send', 'pageview');
280+
</script>
281+
<script async src='https://www.google-analytics.com/analytics.js'></script>
286282

287283

288284
<script src="http://www.google.com/jsapi" type="text/javascript"></script>

0 commit comments

Comments
 (0)