PageSourceSearch

https://yuka.io/wp-content/themes/fusion/js/custom/google-analytics.js?v=503&ver=7.1.2

js yuka.io collected 2026-09-24 08:49:15 UTC 3,294 bytes, 90 lines download raw bytes

vendor: 334 bytes, lines 1-6
1(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
2(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
3m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
4})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
5
6ga('create', '
6UA-76822640-1
vendor: 12 bytes, line 6
6', 'auto');
7ga('require', 'GTM-N4NTH6L');
8ga('send', 'pageview');
9
10dataLayer = [];
11
12jQuery(document).ready(function ($) {
13	$('.discover-video a').click(function() {
14		ga('send', 'event', 'Video', 'play', '1 minute video');
15	});
16
17	$('.facebook-page a').click(function() {
18		ga('send', 'event', 'Facebook', 'open', 'Click facebook page');
19	});
20
21	$('.home #features-slider ul.tab-list li a').click(function() {
22		ga('send', 'event', 'Slider', 'click', 'Click on feature slider');
23	});
24
25	$('#mc4wp-form-1 input[type=submit]').click(function() {
26		ga('send', 'event', 'App Android', 'subscribe', 'Subscribe to Android');
27	});
28
29	$('.info-flash a.no-color').click(function() {
30		ga('send', 'event', 'Info-flash', 'click', 'Link Cash Investigation');
31	});
32
33	$('.info-flash a.subscribe').click(function() {
34		ga('send', 'event', 'Info-flash', 'click', 'Link Subscribe');
35		$('html, body').animate({
36			scrollTop: $("#subscribe-news").offset().top - 80
37		}, 500);
38	});
39
40	$('#primary-menu .appstore-link').click(function() {
41		ga('send', 'event', 'App iPhone', 'download', 'Primary menu');
42	});
43
44	$('#agency-header .appstore-link').click(function() {
45		ga('send', 'event', 'App iPhone', 'download', 'Header');
46	});
47
48	$('#primary-menu .playstore-link').click(function() {
49		ga('send', 'event', 'App Android', 'download', 'Primary menu');
50	});
51
52	$('#agency-header .playstore-link').click(function() {
53		ga('send', 'event', 'App Android', 'download', 'Header');
54	});
55
56	$('.home #medias .cell-1 a').click(function() { ga('send', 'event', 'Media', 'click', 'Science et Avenir'); });
57	$('.home #medias .cell-2 a').click(function() { ga('send', 'event', 'Media', 'click', 'France Inter'); });
58	$('.home #medias .cell-3 a').click(function() { ga('send', 'event', 'Media', 'click', 'Tele Matin'); });
59	$('.home #medias .cell-4 a').click(function() { ga('send', 'event', 'Media', 'click', 'Europe 1'); });
60	$('.home #medias .cell-5 a').click(function() { ga('send', 'event', 'Media', 'click', 'LCI'); });
61
62	// Track outbound link in the blog
63	$(".single.single-post article.post a[target='_blank']").each(function() {
64		$(this).click(function() {
65			trackOutboundLink($(this).attr('href'));
66			return true;
67		});
68	});
69
70	// Track Christmas links
71	$('#christmas-wallpapers a').click(function() {
72		ga('send', 'event', 'Wallpaper', 'download', $(this).attr('title'));
73	});
74
75	$('body.impact-measure a.btn').click(function() {
76		ga('send', 'event', 'PDF', 'download', 'Social impact');
77	});
78});
79
80/**
81* Fonction de suivi des clics sur des liens sortants dans Analytics
82* Cette fonction utilise une chaîne d'URL valide comme argument et se sert de cette chaîne d'URL
83* comme libellé d'événement. Configurer la méthode de transport sur 'beacon' permet d'envoyer le clic
84* au moyen de 'navigator.sendBeacon' dans les navigateurs compatibles.
85*/
86var trackOutboundLink = function(url) {
87   ga('send', 'event', 'outbound', 'click', url, {
88     'transport': 'beacon'
89   });
90}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.