PageSourceSearch

https://www.no7beauty.co.uk/ssr-assets/tracker-init.js

js no7beauty.co.uk collected 2026-09-26 03:20:32 UTC 1,073 bytes, 48 lines download raw bytes

1/**
2 * Loaded with defer attribute for non-blocking performance
3 * Enhances the window.Tracker stub created inline in the head
4 */
5(function () {
6	const config = window.__TRACKER_CONFIG__ || {};
7	const { channel, siteId, subsite, dev } = config;
8
9	if (!window.Tracker) {
10		console.error('Tracker stub not found - inline script may have failed');
11		return;
12	}
13
14	window.Tracker.trackApiConfig = {
15		elysium_config: {
16			version: 'altitude',
17			site_id: parseInt(siteId),
18			channel: channel,
19			subsite: subsite,
20		},
21		trackAPIUrl: '/track',
22	};
23
24	// Add load method with heavy initialization logic
25	window.Tracker.load = () => {
26		Tracker.init({
27			selectors: {
28				track: 'data-track',
29				type: 'data-track-type',
30				store: 'data-track-push',
31				currency: 'data-track-currency',
32			},
33			dev,
34			watchers: {
35				params: {
36					loginSuccess: {
37						paramName: 'loginSuccess',
38						eventName: 'loginSuccess',
39					},
40					registrationSuccess: {
41						paramName: 'registrationSuccess',
42						eventName: 'accountRegistrationSuccess',
43					},
44				},
45			},
46		});
47	};
48})();

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.