PageSourceSearch

https://cdn.exchangewire.com/wp-content/themes/ew-network/js/googletag.js?ver=6141041e

js exchangewire.com collected 2026-10-02 02:29:26 UTC 6,200 bytes, 165 lines download raw bytes

1// Load GPT asynchronously
2var googletag = googletag || {};
3googletag.cmd = googletag.cmd || [];
4(function () {
5	var gads = document.createElement('script');
6	gads.async = true;
7	var useSSL = 'https:' == document.location.protocol;
8	gads.src = (useSSL ? 'https:' : 'http:') +
9		'//www.googletagservices.com/tag/js/gpt.js';
10	var node = document.getElementsByTagName('script')[0];
11	node.parentNode.insertBefore(gads, node);
12})();
13
14
15// GPT slots
16var gptAdSlots = [];
17googletag.cmd.push(function () {
18	var label = 'wirecorpnet';
19
20	if(window.location.host == 'fgb.ew.vubuntu.spottmedia.co.uk' || window.location.host == 'test.fastgrowthbrands.com' || window.location.host == 'www.fastgrowthbrands.com' ) {
21		label = 'dtcdaily';
22	}
23
24	var div600x300_fpc = 'div-gpt-ad-1617172022989-0';
25	var div600x250 = "div-gpt-ad-1431973026850-0";
26	var div300x600 = "div-gpt-ad-1434462680556-0";
27	var div600x90 = "div-gpt-ad-1434463538271-0";
28	var div300x250 = 'div-gpt-ad-1499694591274-0';
29	var div300x250_mobile = 'div-gpt-ad-1588145673440-0';
30	var div300x250_contxtmedia = 'div-gpt-ad-1588841007264-0';
31	var div300x600_contxtmedia = 'div-gpt-ad-1594119679100-0';
32	var div950x100 = "div-gpt-ad-1553091906811-0";
33	var div950x100_belowfold = "div-gpt-ad-1553091906812-0";
34	var div950x100_footer = "div-gpt-ad-1757328474113-0";
35
36	if(window.location.host == 'tge.ew.vubuntu.spottmedia.co.uk' || window.location.host == 'test.thegamingeconomy.com' || window.location.host == 'www.thegamingeconomy.com' ) {
37		label = 'tge';
38		div600x250 = '600x250_btf';
39		div300x600 = '300x600_btf';
40		div600x90 = 'div-gpt-ad-1542028832793-0';
41		div300x250 = '300x250_mpu';
42		div950x100 = "950x100_atf";
43	}
44
45	var slot600x300 = "/21761450531/display_wirecorpnet_600x300_BTF_blog";
46	var slot600x250 = "/21761450531/display_" + label + "_600x250_BTF";
47	var slot300x600 = "/21761450531/display_" + label + "_300x600_BTF";
48	var slot600x90 = "/21761450531/display_" + label + "_600x90_BTF";
49	var slot300x250 = "/21761450531/display_" + label + "_300x250_MPU";
50	var slot300x250_mobile = "/21761450531/display_" + label + "_300x250_mobileMPU";
51	var slot300x250_contxtmedia = "/21761450531/ew-contxtmedia";
52	var slot300x600_contxtmedia = "/21761450531/ew-contxtmedia";
53	var slot950x100 = "/21761450531/display_" + label + "_950x100_ATF";
54
55
56	// Define a size mapping object. The first parameter to addSize is
57	// a viewport size, while the second is a list of allowed ad sizes.
58
59	//Leaderboard - Middle of the page
60	var mapping_600_250 = googletag.sizeMapping().
61		addSize([0, 0], []).// All below desktop empty
62		addSize([320, 700], [300, 250]). // Tablet
63		addSize([1024, 200], [600, 250]).build();// Desktop
64
65	//Sky Scraper
66	var mapping_300_600 = googletag.sizeMapping().
67		addSize([0, 0], []).// All below desktop empty
68		addSize([1024, 200], [300, 600]).build();// Desktop
69
70	//MPU
71	var mapping_950_100 = googletag.sizeMapping().
72		addSize([320, 400], [320, 50]).// Mobile
73		addSize([1024, 200], [950, 100]).build();// Desktop
74
75	//Footer
76	var mapping_600_90 = googletag.sizeMapping().
77		addSize([320, 400], [320, 50]).// Mobile
78		addSize([1024, 200], [600, 90]).build();// Desktop
79
80	// Mobile only
81	var mapping_300_250_mobile = googletag.sizeMapping().
82		addSize([320, 700], [300, 250]).// Mobile
83		addSize([1024, 200], [600, 90]).build();// Desktop
84
85	var mapping_300_250_contxtmedia = googletag.sizeMapping().
86	addSize([320, 700], [300, 250]).// Mobile
87		addSize([1024, 200], []).build();// Desktop
88
89	var mapping_300_600_contxtmedia = googletag.sizeMapping().
90	addSize([320, 700], [300, 600]).// Mobile
91		addSize([1024, 200], [300, 600]).build();// Desktop
92
93	var mapping_600_300_fpc = googletag.sizeMapping().
94		addSize([768, 200], []).
95		addSize([768, 200], [600, 300]).
96		build();
97
98	gptAdSlots[0] = googletag.defineSlot(slot600x250, [600, 250], div600x250).
99		defineSizeMapping(mapping_600_250).
100		setCollapseEmptyDiv(true).
101		addService(googletag.pubads());
102
103
104	gptAdSlots[1] = googletag.defineSlot(slot300x600, [300, 600], div300x600).
105		defineSizeMapping(mapping_300_600).
106		setCollapseEmptyDiv(true).
107		addService(googletag.pubads());
108
109	gptAdSlots[2] = googletag.defineSlot(slot600x90, [600, 90], div600x90).
110		defineSizeMapping(mapping_600_90).
111		setCollapseEmptyDiv(true).
112		addService(googletag.pubads());
113
114	// Sidebar top
115	// Always displayed in same size
116	gptAdSlots[3] = googletag.defineSlot(slot300x250, [300, 250], div300x250).
117		setCollapseEmptyDiv(true).
118		addService(googletag.pubads());
119
120	gptAdSlots[4] = googletag.defineSlot(slot950x100, [950, 100], div950x100).
121		defineSizeMapping(mapping_950_100).
122		setCollapseEmptyDiv(true).
123		addService(googletag.pubads());
124
125	// Mobile 300x250 - contxtmedia widget - always same size
126	gptAdSlots[5] = googletag.defineSlot(slot300x250_mobile, [300, 250], div300x250_mobile).
127		defineSizeMapping(mapping_300_250_mobile).
128		setCollapseEmptyDiv(true).
129		addService(googletag.pubads());
130
131	gptAdSlots[6] = googletag.defineSlot(slot300x250_contxtmedia, [300, 250], div300x250_contxtmedia).
132		defineSizeMapping(mapping_300_250_contxtmedia).
133		setCollapseEmptyDiv(true).
134		addService(googletag.pubads());
135
136	gptAdSlots[7] = googletag.defineSlot(slot300x600_contxtmedia, [300, 600], div300x600_contxtmedia).
137		// defineSizeMapping(mapping_300_600_contxtmedia).
138		setCollapseEmptyDiv(true).
139		addService(googletag.pubads());
140
141	gptAdSlots[8] = googletag.defineSlot(slot600x300, [[600, 300]], div600x300_fpc).
142		// defineSizeMapping(mapping_600_300_fpc).
143		setCollapseEmptyDiv(true).
144		addService(googletag.pubads());
145
146	gptAdSlots[9] = googletag.defineSlot(slot950x100, [950, 100], div950x100_belowfold).
147		defineSizeMapping(mapping_950_100).
148		setCollapseEmptyDiv(true).
149		addService(googletag.pubads());
150
151	gptAdSlots[10] = googletag.defineSlot(slot950x100, [950, 100], div950x100_footer).
152		defineSizeMapping(mapping_950_100).
153		setCollapseEmptyDiv(true).
154		addService(googletag.pubads());		
155
156	googletag.pubads().setTargeting("test", "responsive");
157	
158	// Enable Single Request Architecture (SRA) to batch all ad requests
159	// This allows Google Ad Manager to coordinate delivery across multiple slots
160	googletag.pubads().enableSingleRequest();
161
162	// Start ad fetching
163	googletag.enableServices();
164
165});

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.