GET
H2
|
200
|
Primary Request
/
Show response
www.giga.de/
Redirect Chain
-
http://www.giga.de/
-
https://www.giga.de/
|
194 KB
61 KB
|
142ms
126ms
|
Document
text/html |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
source-sans-pro-v11-latin-700.woff2
www.giga.de/static-local/dist/assets/fonts/source-sans-pro/
|
15 KB
15 KB
|
10ms
9ms
|
Font
application/octet-stream |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
source-sans-pro-v11-latin-600.woff2
www.giga.de/static-local/dist/assets/fonts/source-sans-pro/
|
15 KB
16 KB
|
11ms
11ms
|
Font
application/octet-stream |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
source-sans-pro-v11-latin-regular.woff2
www.giga.de/static-local/dist/assets/fonts/source-sans-pro/
|
16 KB
16 KB
|
12ms
12ms
|
Font
application/octet-stream |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
lux.js
Show response
cdn.speedcurve.com/js/
|
19 KB
7 KB
|
35ms
6ms
|
Script
application/javascript |
151.101.114.217
Fastly
|
|
|
GET
H2
|
200
|
pre-a4c7814ded.js
Show response
www.giga.de/static-local/dist/assets/js/
|
33 KB
10 KB
|
13ms
13ms
|
Script
text/javascript |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
main-desktop-82026d3d61.css
www.giga.de/static-local/dist/assets/css/
|
400 KB
53 KB
|
13ms
13ms
|
Stylesheet
text/css |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H/1.1
|
200
OK
|
iam.js
Show response
script.ioam.de/
|
34 KB
11 KB
|
35ms
12ms
|
Script
application/javascript |
91.215.100.39
INFONLINE-AS
|
|
|
GET
H2
|
200
|
metaTag.min.78ed3a64c71c8400e5f2e909601d3677.js
Show response
js.stroeermediabrands.de/
|
239 KB
58 KB
|
40ms
12ms
|
Script
application/javascript |
46.253.113.178
HGCOMP-ASN
|
|
|
GET
H/1.1
|
200
OK
|
trackcp.js
Show response
gocp.stroeermediabrands.de/
|
28 KB
11 KB
|
10ms
2ms
|
Script
application/javascript |
188.40.16.106
HETZNER-AS
|
|
|
GET
H2
|
200
|
pokemon-schwert-schild-title-rcm625x352.jpg
static.giga.de/wp-content/uploads/2019/11/
|
54 KB
54 KB
|
35ms
18ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
huawei-p30-pro-q_giga-P1222657-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/03/
|
6 KB
7 KB
|
44ms
28ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
iPhone_11-Telefon-telefoniert-stefan-q_giga-1-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/10/
|
11 KB
12 KB
|
44ms
28ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
General
- Full URL
- https://static.giga.de/wp-content/uploads/2019/10/iPhone_11-Telefon-telefoniert-stefan-q_giga-1-rcm300x169.jpg
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
178.19.70.100
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
nginx/1.10.3 /
- Resource Hash
- f7d8bdb324de4f001e707bf4bca75ed79220e9c3feac090effb37ed5b105248c
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
1; mode=block |
|
GET
H2
|
200
|
samsung-gaming-monitor-deals-des-tages-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/11/
|
7 KB
8 KB
|
34ms
19ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
eve-online-tod-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/10/
|
12 KB
13 KB
|
43ms
27ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
xiaomi-mi-mix-3-display-q_giga-P1244269-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/04/
|
11 KB
12 KB
|
34ms
19ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
Thumbnail-2019-v2-rcm625x352.jpg
static.giga.de/wp-content/uploads/2019/10/
|
57 KB
58 KB
|
31ms
24ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
Thumbnail-2019-v2-rcm275x155.jpg
static.giga.de/wp-content/uploads/2019/10/
|
14 KB
15 KB
|
25ms
19ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
Thumbnail-2019-c-1-rcm275x155.jpg
static.giga.de/wp-content/uploads/2019/10/
|
15 KB
15 KB
|
32ms
25ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
Thumbnail-2019-c-rcm275x155.jpg
static.giga.de/wp-content/uploads/2019/10/
|
11 KB
11 KB
|
24ms
18ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
oktober-rcm275x155.jpg
static.giga.de/wp-content/uploads/2019/09/
|
14 KB
15 KB
|
72ms
66ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
Assassin_s_Creed_x_Audible_Key_Art_s-2-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/11/
|
12 KB
12 KB
|
24ms
18ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
deathstrandingstrasseindieberge-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/11/
|
11 KB
12 KB
|
72ms
65ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
a116022477d35f98886dc8d336_A2UxYTYyNzU4Njgz_24f675ef5dfe7ca754ea47e1b18870fa.jpeg
teaser.giga.de/e0/11/da/
|
36 KB
37 KB
|
98ms
71ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
General
- Full URL
- https://teaser.giga.de/e0/11/da/a116022477d35f98886dc8d336_A2UxYTYyNzU4Njgz_24f675ef5dfe7ca754ea47e1b18870fa.jpeg
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
178.19.70.100
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
nginx/1.10.3 /
- Resource Hash
- ad0d5077a59f92e8f35a8482879936f214b9901c04bb8f162fb0a36905967f4b
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
1; mode=block |
|
GET
H2
|
200
|
Metz-Moover-Test-E-Scooter-E-Roller-titel-q_giga-30-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/02/
|
18 KB
19 KB
|
31ms
25ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
General
- Full URL
- https://static.giga.de/wp-content/uploads/2019/02/Metz-Moover-Test-E-Scooter-E-Roller-titel-q_giga-30-rcm300x169.jpg
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
178.19.70.100
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
nginx/1.10.3 /
- Resource Hash
- 30b77f9f5104bd61d0750a578ff8479a250d232be86e9ef6d1bf2a3b2e8e8609
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
1; mode=block |
|
GET
H2
|
200
|
pokemongosponsoredlocations-rcm300x169.png
static.giga.de/wp-content/uploads/2019/11/
|
13 KB
13 KB
|
24ms
18ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
Apple-MacBook-Pro-2016-Vergleich-65221-rcm300x169.jpg
static.giga.de/wp-content/uploads/2016/11/
|
14 KB
15 KB
|
75ms
69ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
sony-xperia-10-plus-10-q_giga-P1211371-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/03/
|
11 KB
11 KB
|
28ms
22ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
beyerdynamic-Lagoon-ANC-q_giga-2-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/11/
|
14 KB
14 KB
|
30ms
24ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
PS4GoldWirelessHeadset-rcm300x169.png
static.giga.de/wp-content/uploads/2019/11/
|
12 KB
12 KB
|
76ms
70ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
Amazon-Music-Logo-rcm300x169.jpg
static.giga.de/wp-content/uploads/2017/05/
|
3 KB
4 KB
|
72ms
66ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
HalfLifeAlyx-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/11/
|
12 KB
13 KB
|
72ms
67ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
Sword-and-Shield-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/11/
|
22 KB
22 KB
|
74ms
68ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
online-shopping-woman-holding-card-while-operating-silver-laptop-919436-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/11/
|
11 KB
12 KB
|
75ms
69ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
General
- Full URL
- https://static.giga.de/wp-content/uploads/2019/11/online-shopping-woman-holding-card-while-operating-silver-laptop-919436-rcm300x169.jpg
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
178.19.70.100
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
nginx/1.10.3 /
- Resource Hash
- 8aa3e8f746c5f9f4ff5816577e04831278c1b542ca27a3998b7e790481ea7fa9
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
1; mode=block |
|
GET
H2
|
200
|
bd483c95d8cd4ec64c63988f35_YyA5MjR4NTIwKzM0KzE3AnJlIDE5MjAgMTA4MANkOWI4OTg0NjY4Mw-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/11/
|
8 KB
8 KB
|
85ms
79ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
General
- Full URL
- https://static.giga.de/wp-content/uploads/2019/11/bd483c95d8cd4ec64c63988f35_YyA5MjR4NTIwKzM0KzE3AnJlIDE5MjAgMTA4MANkOWI4OTg0NjY4Mw-rcm300x169.jpg
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
178.19.70.100
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
nginx/1.10.3 /
- Resource Hash
- b964d47d86271178962f3067e4e423bdc1c2807bc48231602806db283c18627f
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
1; mode=block |
|
GET
H2
|
200
|
Samsung-Galaxy-M30s-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/11/
|
13 KB
14 KB
|
75ms
70ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
Raytracing-Neon-Noir-rcm300x169.png
static.giga.de/wp-content/uploads/2019/11/
|
10 KB
10 KB
|
86ms
82ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
apple-iphone-11-iOS-update-q_giga-P1377211-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/09/
|
8 KB
9 KB
|
84ms
80ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
capture-decran-2019-06-10-a-15-49-42-rcm300x169.png
static.giga.de/wp-content/uploads/2019/11/
|
5 KB
6 KB
|
88ms
84ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
Intel-Cpu-rcm300x169.jpg
static.giga.de/wp-content/uploads/2012/01/
|
19 KB
20 KB
|
88ms
84ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
Ventilator-Kaufberatung-Ratgeber-rcm300x169.jpg
static.giga.de/wp-content/uploads/2015/07/
|
11 KB
11 KB
|
76ms
72ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
huawei-p30-pro-samsung-galaxy-note-10-plus-note-9-oneplus-7-pro-google-pixel-3-q_giga-P1344172-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/08/
|
13 KB
13 KB
|
76ms
72ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
General
- Full URL
- https://static.giga.de/wp-content/uploads/2019/08/huawei-p30-pro-samsung-galaxy-note-10-plus-note-9-oneplus-7-pro-google-pixel-3-q_giga-P1344172-rcm300x169.jpg
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
178.19.70.100
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
nginx/1.10.3 /
- Resource Hash
- a7b58da6d18706b64d05b05cb5a5754219e4e227b96f7f3c1e51073ac83a2e5c
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
1; mode=block |
|
GET
H2
|
200
|
keyboard-2308477_1920-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/08/
|
10 KB
11 KB
|
76ms
73ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
dslr-seb-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/10/
|
11 KB
12 KB
|
81ms
77ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
ios-facebook-app-q_giga-P1022060-rcm300x169.jpg
static.giga.de/wp-content/uploads/2018/04/
|
12 KB
12 KB
|
81ms
77ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
WhatsApp-Messenger-App-Icon-Samsung-Smartphone-emoji-q_giga-rcm300x169.jpg
static.giga.de/wp-content/uploads/2018/06/
|
11 KB
11 KB
|
81ms
78ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
General
- Full URL
- https://static.giga.de/wp-content/uploads/2018/06/WhatsApp-Messenger-App-Icon-Samsung-Smartphone-emoji-q_giga-rcm300x169.jpg
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
178.19.70.100
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
nginx/1.10.3 /
- Resource Hash
- 800afdcb8130215d8100685e1e91c8eca001c0ea7fcdb289ba0f45ced3c437d5
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
1; mode=block |
|
GET
H2
|
200
|
whatsapp-nachrichten-vorschau-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/11/
|
6 KB
6 KB
|
82ms
78ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
whatsapp-q_giga-_DSC9403-rcm300x169.jpg
static.giga.de/wp-content/uploads/2018/04/
|
8 KB
9 KB
|
82ms
79ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
Samsung-Galaxy-A10-Aldi-Prepaid-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/11/
|
15 KB
16 KB
|
83ms
79ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
Samsung-Galaxy-S8-Plus-vs-S8-Test-51-q_giga-rcm300x169.jpg
static.giga.de/wp-content/uploads/2017/06/
|
10 KB
11 KB
|
83ms
80ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
General
- Full URL
- https://static.giga.de/wp-content/uploads/2017/06/Samsung-Galaxy-S8-Plus-vs-S8-Test-51-q_giga-rcm300x169.jpg
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
178.19.70.100
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
nginx/1.10.3 /
- Resource Hash
- b2318c4ef3f481b5e2728a1bc46941d67791d0ef4019ae4a000f42fb80273b05
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
1; mode=block |
|
GET
H2
|
200
|
samsung-galaxy-s10-q_giga-P1211693-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/03/
|
8 KB
8 KB
|
88ms
84ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
apple-iphone-11-pro-hosentasche-q_giga-DSC07365-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/10/
|
9 KB
9 KB
|
88ms
85ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
General
- Full URL
- https://static.giga.de/wp-content/uploads/2019/10/apple-iphone-11-pro-hosentasche-q_giga-DSC07365-rcm300x169.jpg
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
178.19.70.100
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
nginx/1.10.3 /
- Resource Hash
- 7580d208fd42f7a40bd773d455a08fe5b8167a7096d0135ddff1b6f4b1e2f7a4
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
1; mode=block |
|
GET
H2
|
200
|
iphone12_phonearena-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/11/
|
8 KB
9 KB
|
74ms
71ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
iPhone-vs-iPhone-11-Pro-Bild-MKBHD-YouTube-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/11/
|
12 KB
12 KB
|
74ms
71ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
iphone_11_pro_case-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/11/
|
7 KB
7 KB
|
84ms
81ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H/1.1
|
200
OK
|
blank.gif
ssl-econa.met.vgwort.de/
Redirect Chain
-
https://ssl-econa.met.vgwort.de/na/88a61797ead349848b785fbd677f9b19
-
https://ssl-econa.met.vgwort.de/blank.gif
|
43 B
310 B
|
6ms
5ms
|
Image
image/gif |
161.156.66.178
SoftLayer Technol...
|
|
|
GET
H2
|
200
|
tr
www.facebook.com/
|
44 B
268 B
|
8ms
7ms
|
Image
image/gif |
2a03:2880:f11c:8183:face:b00c:0:25de
Facebook
|
|
|
GET
H2
|
200
|
tr
www.facebook.com/
|
44 B
221 B
|
7ms
7ms
|
Image
image/gif |
2a03:2880:f11c:8183:face:b00c:0:25de
Facebook
|
|
|
GET
H2
|
200
|
analytics.js
Show response
www.google-analytics.com/
|
43 KB
18 KB
|
6ms
6ms
|
Script
text/javascript |
2a00:1450:4001:808::200e
Google LLC
|
|
General
- Full URL
- https://www.google-analytics.com/analytics.js
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/static-local/dist/assets/js/pre-a4c7814ded.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:808::200e
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
Golfe2 /
- Resource Hash
- dbb67c620eaabf6679a314db18d3ae43037aef71ab27422e6feec08ee987cc0a
- Security Headers
-
Name |
Value |
Strict-Transport-Security |
max-age=10886400; includeSubDomains; preload |
X-Content-Type-Options |
nosniff |
|
GET
H2
|
200
|
apstag.js
Show response
c.amazon-adsystem.com/aax2/
|
86 KB
25 KB
|
16ms
16ms
|
Script
application/javascript |
143.204.90.242
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
api
Show response
tracking.m6r.eu/sync/
Redirect Chain
-
https://cdn.m6r.eu/sync/api
-
https://tracking.m6r.eu/sync/api?checkcookies=true
|
1 KB
1 KB
|
44ms
20ms
|
Script
application/javascript |
23.37.53.21
Akamai Technologies
|
|
|
GET
H2
|
200
|
init
Show response
d.nativendo.de/cds/delivery/
|
991 B
919 B
|
64ms
47ms
|
Script
text/javascript |
107.178.241.34
Google LLC
|
|
|
GET
H/1.1
|
200
OK
|
blank.gif
de.ioam.de/
Redirect Chain
-
https://de.ioam.de/tx.io?st=giga&cp=giga_home&sv=ke&sc=yes&pt=CP&ps=lin&er=N22&rf=&r2=&ur=www.giga.de&xy=1600x1200x24&lo=DE%2Fn.a.&cb=001a&i2=001a7fca7575f932d5dd40c5d&ep=1598345113&vr=415&id=ecno3...
-
https://de.ioam.de/tx.io?st=giga&cp=giga_home&sv=ke&sc=yes&pt=CP&ps=lin&er=N22&rf=&r2=&ur=www.giga.de&xy=1600x1200x24&lo=DE%2Fn.a.&cb=001a&i2=001a7fca7575f932d5dd40c5d&ep=1598345113&vr=415&id=ecno3...
-
https://de.ioam.de/blank.gif
|
43 B
651 B
|
8ms
8ms
|
Image
image/gif |
91.215.100.40
INFONLINE-AS
|
|
|
GET
H2
|
200
|
fontello.woff2
www.giga.de/static-local/dist/assets/fonts/fontello/
|
10 KB
10 KB
|
9ms
8ms
|
Font
application/octet-stream |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
415710348
Show response
videos.giga.de/embed/
Frame E1E7
|
9 KB
3 KB
|
103ms
20ms
|
Document
text/html |
109.71.25.30
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
bg.jpg
www.giga.de/special/gutscheine/
|
10 KB
10 KB
|
9ms
9ms
|
Image
image/jpeg |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
icons-sprite.png
www.giga.de/special/gutscheine/
|
14 KB
14 KB
|
10ms
9ms
|
Image
image/png |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H/1.0
|
200
OK
|
z.js
Show response
go.giga-abs.de/
|
1 KB
1 KB
|
28ms
6ms
|
Script
text/javascript |
178.19.72.20
HGCOMP-ASN
|
|
|
GET
H/1.1
|
200
OK
|
Cookie set
iframe
tracking.m6r.eu/pixel/
Frame B429
Redirect Chain
-
https://tracking.m6r.eu/pixel/iframe?pixelId=f407193e-e112-43a2-a5e6-af92d82a6269&theme=GIGA+OTHER
-
https://tracking.m6r.eu/pixel/iframe?pixelId=f407193e-e112-43a2-a5e6-af92d82a6269&theme=GIGA%20OTHER&checkcookies=true
|
0
0
|
66ms
66ms
|
Document
text/html |
23.37.53.21
Akamai Technologies
|
|
General
- Full URL
- https://tracking.m6r.eu/pixel/iframe?pixelId=f407193e-e112-43a2-a5e6-af92d82a6269&theme=GIGA%20OTHER&checkcookies=true
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
23.37.53.21
, Netherlands,
ASN16625
(AKAMAI-AS - Akamai Technologies, Inc., US),
- Reverse DNS
- a23-37-53-21.deploy.static.akamaitechnologies.com
- Software
-
nginx /
- Resource Hash
|
GET
H2
|
200
|
gpt.js
Show response
securepubads.g.doubleclick.net/tag/js/
|
51 KB
15 KB
|
35ms
35ms
|
Script
text/javascript |
172.217.22.34
Google LLC
|
|
|
GET
H2
|
200
|
yieldlove-bidder-stroeer.js
Show response
cdn-a.yieldlove.com/
|
297 KB
92 KB
|
52ms
7ms
|
Script
application/javascript |
13.224.196.91
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
mtrcs_679600.js
Show response
s400.mxcdn.net/bb-mx/serve/
|
124 KB
48 KB
|
66ms
12ms
|
Script
text/javascript |
72.247.224.195
Akamai Technologies
|
|
|
GET
H/1.1
|
302
Moved Temporarily
|
dmp
Show response
tracking.m6r.eu/sync/
Redirect Chain
-
https://tracking.m6r.eu/sync/dmp
-
https://tracking.m6r.eu/sync/dmp?checkcookies=true
|
0
-1 B
|
59ms
16ms
|
XHR
text/plain |
23.37.53.21
Akamai Technologies
|
|
|
GET
H2
|
200
|
nuggad
Show response
nugmw.userreport.com/rc-ap/cdcbc552-cc76-498e-84fa-f8e22801be68/si.nuggad.net/
Redirect Chain
-
https://si.nuggad.net/rc?nuggn=571289945&nuggsid=947908416&nuggtg=&nuggrid=https%3A%2F%2Fwww.giga.de%2F
-
https://nugmw.userreport.com/rc-ap/cdcbc552-cc76-498e-84fa-f8e22801be68/si.nuggad.net/nuggad?nuggn=571289945&nuggsid=947908416&nuggtg=&nuggrid=https%3A%2F%2Fwww.giga.de%2F
|
2 KB
2 KB
|
72ms
56ms
|
Script
text/javascript |
2600:9000:21f3:fe00:1f:a1b:34c0:93a1
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
ad-loading.gif
www.dunkirkinception.com/detect/
|
130 B
441 B
|
79ms
8ms
|
Image
image/png |
35.156.29.62
Amazon.com
|
|
|
GET
H2
|
200
|
tag.js
Show response
js.agkn.com/prod/v0/
|
3 KB
3 KB
|
22ms
6ms
|
Script
application/javascript |
2600:9000:2156:1200:15:efbc:e300:93a1
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
config.json
Show response
gocp.stroeermediabrands.de/absconf/www.giga.de/
|
18 KB
18 KB
|
13ms
8ms
|
Fetch
application/json |
188.40.16.106
HETZNER-AS
|
|
|
GET
H2
|
200
|
js
Show response
www.google-analytics.com/gtm/
|
58 KB
22 KB
|
14ms
14ms
|
Script
application/javascript |
2a00:1450:4001:808::200e
Google LLC
|
|
|
GET
H/1.1
|
200
OK
|
dmp
Show response
tracking.m6r.eu/sync/
|
108 B
605 B
|
86ms
86ms
|
XHR
application/json |
23.37.53.21
Akamai Technologies
|
|
|
GET
H2
|
200
|
giga-772cc0e021.js
Show response
www.giga.de/static-local/dist/assets/js/bundle/
|
31 KB
12 KB
|
8ms
7ms
|
Script
text/javascript |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
aps_csm.js
Show response
c.amazon-adsystem.com/bao-csm/aps-comm/
|
6 KB
7 KB
|
6ms
6ms
|
XHR
application/javascript |
143.204.90.242
Amazon.com
|
|
|
GET
H2
|
200
|
video-gallery-fff486d99c.js
Show response
www.giga.de/static-local/dist/assets/js/components/
|
782 B
688 B
|
8ms
7ms
|
Script
text/javascript |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
loader.js
Show response
c.nativendo.de/cdn/asset/js/
|
54 KB
17 KB
|
91ms
23ms
|
Script
application/javascript |
2606:4700:20::681a:5fb
Cloudflare
|
|
|
GET
H/1.0
|
200
OK
|
o.gif
go.giga-abs.de/
|
35 B
355 B
|
62ms
50ms
|
Image
image/gif |
178.19.72.20
HGCOMP-ASN
|
|
General
- Full URL
- https://go.giga-abs.de/o.gif?__ir=&__is=1600_1200_24&__iu=https%3A%2F%2Fwww.giga.de%2F&__id=1574177885886&__it=-60&__ic=727391&__iq=fda632df396a998bbbaf726d53e262f3&__ig=1
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- HTTP/1.0
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
178.19.72.20
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
X/1.0 /
- Resource Hash
- 2d865c4f2d21f06c2c74d99850d1a387bc4b2f42add0b96c6297d039b884d46f
|
GET
H2
|
200
|
videojs-ff0ddd6c.min.js
Show response
videos.giga.de/dist/js/embed/bundle/
Frame E1E7
|
618 KB
206 KB
|
62ms
62ms
|
Script
application/javascript |
109.71.25.30
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
ima3.js
Show response
imasdk.googleapis.com/js/sdkloader/
Frame E1E7
|
273 KB
93 KB
|
14ms
13ms
|
Script
text/javascript |
2a00:1450:4001:816::200a
Google LLC
|
|
|
GET
H2
|
200
|
ad.ytn.Xe0_BSUrLx6.gif
www.giga.de/images/
|
71 B
474 B
|
50ms
50ms
|
Image
image/png |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
videojs-f50f7a8d.css
videos.giga.de/dist/css/
Frame E1E7
|
53 KB
15 KB
|
9ms
8ms
|
Stylesheet
text/css |
109.71.25.30
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
play_button.svg
videos.giga.de/image/
Frame E1E7
|
1015 B
1 KB
|
9ms
9ms
|
Image
image/svg+xml |
109.71.25.30
HGCOMP-ASN
|
|
|
GET
H/1.1
|
200
OK
|
container
Show response
tracking.m6r.eu/pixel/
|
3 KB
2 KB
|
23ms
23ms
|
Script
text/javascript |
23.37.53.21
Akamai Technologies
|
|
|
GET
H/1.1
|
200
OK
|
dkuim.js
Show response
dkuim.de/api/js/2/
|
465 KB
151 KB
|
37ms
16ms
|
Script
application/javascript |
178.19.65.130
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
collect
www.google-analytics.com/r/
|
35 B
190 B
|
13ms
13ms
|
Image
image/gif |
2a00:1450:4001:808::200e
Google LLC
|
|
General
- Full URL
- https://www.google-analytics.com/r/collect?v=1&_v=j79&aip=1&a=1574367218&t=pageview&_s=1&dl=https%3A%2F%2Fwww.giga.de%2F&ul=en-us&de=UTF-8&dt=GIGA%20-%20Leidenschaft%20f%C3%BCr%20Technik%20und%20Games&sd=24-bit&sr=1600x1200&vp=1585x1200&je=0&_u=6GBAAEADQ~&jid=431681162&gjid=692368915&cid=1108486283.1574177886&tid=UA-204785-4&_gid=1723463657.1574177886&_r=1&cd1=&cd5=2011-11-09T13%3A44%3A29%2B01%3A00&cg1=Startseite&cg2=484&cg3=04-2016&cd2=gruen&cd6=Startseite&cd8=website&cd3=&cd15=website&cd17=not%20logged%20in&cd24=default&cd37=&cd42=legacy&cd10=Original%20%22sticky%20header%22&z=1091322609
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:808::200e
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
Golfe2 /
- Resource Hash
- 8337212354871836e6763a41e615916c89bac5b3f1f0adf60ba43c7c806e1015
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
|
GET
H2
|
200
|
integrator.js
Show response
adservice.google.de/adsid/
|
109 B
171 B
|
16ms
15ms
|
Script
application/javascript |
2a00:1450:4001:809::2002
Google LLC
|
|
General
- Full URL
- https://adservice.google.de/adsid/integrator.js?domain=www.giga.de
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/tag/js/gpt.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:809::2002
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
cafe /
- Resource Hash
- 0482a98d09daebc18a0d2e1ed8f748da5b0179e61223ed541101df1f4699f073
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
integrator.js
Show response
adservice.google.com/adsid/
|
109 B
171 B
|
15ms
14ms
|
Script
application/javascript |
2a00:1450:4001:815::2002
Google LLC
|
|
General
- Full URL
- https://adservice.google.com/adsid/integrator.js?domain=www.giga.de
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/tag/js/gpt.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:815::2002
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
cafe /
- Resource Hash
- 0482a98d09daebc18a0d2e1ed8f748da5b0179e61223ed541101df1f4699f073
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
pubads_impl_2019111401.js
Show response
securepubads.g.doubleclick.net/gpt/
|
159 KB
58 KB
|
14ms
13ms
|
Script
text/javascript |
172.217.22.34
Google LLC
|
|
|
POST
H2
|
200
|
session
Show response
prod-ingestion.tracking.v2.yieldlove-ad-serving.net/v2/
|
0
239 B
|
39ms
24ms
|
XHR
text/plain |
52.29.12.192
Amazon.com
|
|
|
GET
H2
|
200
|
bid
Show response
c.amazon-adsystem.com/e/dtb/
|
23 B
368 B
|
135ms
135ms
|
XHR
text/javascript |
143.204.90.242
Amazon.com
|
|
General
- Full URL
- https://c.amazon-adsystem.com/e/dtb/bid?src=3301&u=https%3A%2F%2Fwww.giga.de%2F&pid=XudIsJ25XPGPb&cb=0&ws=1600x1200&v=7.43.01&t=1000&slots=%5B%7B%22sd%22%3A%22banner%22%2C%22s%22%3A%5B%22970x250%22%2C%22970x90%22%2C%22800x250%22%2C%22728x90%22%5D%7D%2C%7B%22sd%22%3A%22sky%22%2C%22s%22%3A%5B%22300x600%22%2C%22160x600%22%2C%22200x600%22%2C%22120x600%22%2C%22301x601%22%5D%7D%2C%7B%22sd%22%3A%22rectangle%22%2C%22s%22%3A%5B%22300x250%22%5D%7D%5D&cfgv=0&gdprl=%7B%22status%22%3A%22no-cmp%22%7D
- Requested by
- Host: c.amazon-adsystem.com
URL: https://c.amazon-adsystem.com/aax2/apstag.js
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
143.204.90.242
Seattle, United States,
ASN16509
(AMAZON-02 - Amazon.com, Inc., US),
- Reverse DNS
- server-143-204-90-242.fra50.r.cloudfront.net
- Software
-
Server /
- Resource Hash
- 745a085b52b8371ec6705413fca70a28c6d8bff0db480e6b124bd08c54e95ef8
|
GET
H2
|
200
|
arj
Show response
yieldlove-d.openx.net/w/1.0/
|
4 KB
5 KB
|
61ms
27ms
|
XHR
application/json |
34.95.120.147
Google LLC
|
|
General
- Full URL
- https://yieldlove-d.openx.net/w/1.0/arj?ju=https%3A%2F%2Fwww.giga.de%2F&jr=&ch=UTF-8&res=1600x1200x24&ifr=false&tz=-60&tws=1600x1200&be=1&bc=hb_pb_2.1.7&dddid=6bd71e8c-20c4-444f-ab4c-5ceb0cd8daa1%2Ce7242c7f-f144-4ce6-949c-a4f83db94994%2Ced0c8d25-2af7-4f7f-b3e0-31508e3a24fd&nocache=1574177886022&aus=300x250%7C300x600%2C160x600%2C200x600%2C120x600%2C301x601%7C970x250%2C970x90%2C800x250%2C728x90&divIds=rectangle%2Csky%2Cbanner&auid=539390940%2C540714782%2C540847469&
- Requested by
- Host: cdn-a.yieldlove.com
URL: https://cdn-a.yieldlove.com/yieldlove-bidder-stroeer.js?giga.de
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
34.95.120.147
, United States,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- 147.120.95.34.bc.googleusercontent.com
- Software
-
OXGW/16.167.1 /
- Resource Hash
- 518036a04ab89f571fd8249249e883bd5523e0cf270391dd6007ed466d46953a
|
POST
H/1.1
|
200
OK
|
prebid
Show response
ib.adnxs.com/ut/v3/
|
1 KB
2 KB
|
56ms
28ms
|
XHR
application/json |
185.33.223.202
AppNexus
|
|
|
POST
H2
|
200
|
auction
Show response
prod-ingestion.tracking.v2.yieldlove-ad-serving.net/v2/
|
0
239 B
|
25ms
23ms
|
XHR
text/plain |
52.29.12.192
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
submit
lb57.s400.meetrics.net/bb-mx/
|
43 B
291 B
|
14ms
1ms
|
Image
image/gif |
136.243.4.7
HETZNER-AS
|
|
General
- Full URL
- https://lb57.s400.meetrics.net/bb-mx/submit?/ZH6oBPAAAzwhFo0F0wFz6BvvA33F3uBnpFnhFukElvBfpyF+k2FmywAx5AtwA3tAx2AtxA16A14At2A35A2wAwtAyuAxxAytA5mEw0AxzAj0BL2wFBLl1FC/2xFMCylFx1FlzF0mF1sFszFjyFllFugBm1FssFzjFylFluFluFhiFslFkgB3pFukFv3Ff3FliFrpF0yFlxF1lFz0FhuFptFh0FpvFumFyhFtlFg3EpuFkvF3fF3lFirFp0FjhFujFlsFhuFptFh0FpvFumFyhFtlFg3EpuFkvF3fF3lFirFp0Fz0FvyFhnFlpFumFvgBjzFzfF3lFirFp0FOprFw6lCOqwFw6lClqwF23A52AwwALkmFBTkzFsFAAAAAAAZwSJ0BPAAAAAAAAAOAAAAGBAAAAAAZwSJ0BBRksFAQtjFOHdqSA
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
136.243.4.7
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- h215.meetrics.de
- Software
-
nginx /
- Resource Hash
- 548f2d6f4d0d820c6c5ffbeffcbd7f0e73193e2932eefe542accc84762deec87
|
GET
H/1.1
|
200
OK
|
data
lb57.s400.meetrics.net/
|
43 B
308 B
|
15ms
0ms
|
Image
image/gif |
136.243.4.7
HETZNER-AS
|
|
|
GET
H2
|
200
|
jquery.min.js
Show response
ajax.googleapis.com/ajax/libs/jquery/3.2.1/
|
85 KB
30 KB
|
8ms
5ms
|
Script
text/javascript |
2a00:1450:4001:81a::200a
Google LLC
|
|
|
GET
H/1.1
|
200
OK
|
t.png
gocp.stroeermediabrands.de/
|
98 B
355 B
|
3ms
1ms
|
Image
image/png |
188.40.16.106
HETZNER-AS
|
|
|
GET
H/1.1
|
200
OK
|
nuggad
ih.adscale.de/
|
49 B
487 B
|
77ms
25ms
|
Image
image/gif |
72.247.225.134
Akamai Technologies
|
|
|
GET
H/1.1
|
200
OK
|
container
Show response
tracking.m6r.eu/pixel/
|
0
376 B
|
19ms
19ms
|
Script
text/javascript |
23.37.53.21
Akamai Technologies
|
|
General
- Full URL
- https://tracking.m6r.eu/pixel/container?pixelId=eaa843f7-840a-4a36-8fdd-3b79df0d4fa0&n127=0&n121=1&n116=0&n104=0&n15=1&n155=1&n133=1&n106=0&n153=0&n11=1&n120=2&n154=0&n125=0&n8=3&n2=3&n137=0&n101=0&n108=1&n54=0&n110=1&n87=0&n149=0&n76=1&n66=1&n139=1&n160=0&n107=0&n21=1&n51=1&n117=2&n86=0&n147=4&n64=0&n119=5&n22=1&n30=2&n18=1&n161=1&n126=1&n92=3&n77=0&n83=1&n102=0&n105=0&n159=1&n20=1&n80=1&n12=1&n141=0&n157=0&n99=1&n128=1&n118=3&n85=0&n9=1&n23=1&n6=2&n63=0&n138=0&n140=0&n94=2&n111=1&n136=0&n79=1&n93=4&n90=1&n55=1&n142=0&n7=2&n103=0&n158=0&n124=1&n75=0&n91=1&n46=1&n114=1&n69=0&n10=3&n3=1&n82=0&n84=0&n5=1&n48=1&n109=1&n122=1&n67=2&n115=1&n89=1&n123=2&n17=1&n78=0&n44=1&n81=0&n88=0&n39=1&n156=0&n148=0
- Requested by
- Host: tracking.m6r.eu
URL: https://tracking.m6r.eu/sync/api?checkcookies=true
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
23.37.53.21
, Netherlands,
ASN16625
(AKAMAI-AS - Akamai Technologies, Inc., US),
- Reverse DNS
- a23-37-53-21.deploy.static.akamaitechnologies.com
- Software
-
nginx /
- Resource Hash
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
GET
H2
|
200
|
/
d.agkn.com/iframe/8613/
Frame 377E
|
0
0
|
20ms
8ms
|
Document
text/html |
2600:9000:21f3:9a00:19:fc2c:a140:93a1
Amazon.com
|
|
General
- Full URL
- https://d.agkn.com/iframe/8613/?che=886076164&gdpr=1&gdpr_consent=&ref=&bpid=stroeer&c=%7B%22bpid%22%3A%22stroeer%22%2C%22loc%22%3A%22https%3A%2F%2Fwww.giga.de%2F%22%2C%22gdpr%22%3A%221%22%2C%22gdpr_consent%22%3A%22%22%2C%22ref%22%3A%22-1%22%2C%22cid%22%3A%22-1%22%2C%22sid%22%3A%22-1%22%2C%22gen%22%3A%22-1%22%2C%22age%22%3A%22-1%22%2C%22cat%22%3A%22-1%22%2C%22brd%22%3A%22-1%22%7D
- Requested by
- Host: js.agkn.com
URL: https://js.agkn.com/prod/v0/tag.js
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
2600:9000:21f3:9a00:19:fc2c:a140:93a1
, United States,
ASN16509
(AMAZON-02 - Amazon.com, Inc., US),
- Reverse DNS
- Software
-
Apache-Coyote/1.1 /
- Resource Hash
|
GET
H/1.1
|
200
OK
|
adscaleSyncDone
tracking.m6r.eu/sync/
Redirect Chain
-
https://ih.adscale.de/adscale-ih/tpui?tpid=48&tpuid=7e8e2bd5e5edc918920cf1d5593e6b6f&cburl=https%3A%2F%2Ftracking.m6r.eu%2Fsync%2FadscaleSyncDone%3FuserBuyeruid%3D7e8e2bd5e5edc918920cf1d5593e6b6f%2...
-
https://tracking.m6r.eu/sync/adscaleSyncDone?userBuyeruid=7e8e2bd5e5edc918920cf1d5593e6b6f&userId=adscale-user:aa1a46c568d843ffb87809f3ad98ff5c
|
44 B
528 B
|
23ms
23ms
|
Image
image/gif |
23.37.53.21
Akamai Technologies
|
|
|
GET
H/1.1
|
200
OK
|
setuid
ib.adnxs.com/
Redirect Chain
-
https://tracking.m6r.eu/sync/appnexusRedirect
-
https://ib.adnxs.com/setuid?entity=197&code=7e8e2bd5e5edc918920cf1d5593e6b6f
|
43 B
1012 B
|
54ms
13ms
|
Image
image/gif |
185.33.223.202
AppNexus
|
|
|
GET
H/1.1
|
200
OK
|
adxSyncDone
tracking.m6r.eu/sync/
Redirect Chain
-
https://cm.g.doubleclick.net/pixel?google_nid=m6r&google_ula=158217889&google_hm=fo4r1eXtyRiSDPHVWT5rbw
-
https://tracking.m6r.eu/sync/adxSyncDone?google_ula=158217889,0
|
44 B
523 B
|
233ms
232ms
|
Image
image/gif |
23.37.53.21
Akamai Technologies
|
|
|
GET
H/1.1
|
204
No Content
|
m
ad.yieldlab.net/
Redirect Chain
-
https://tracking.m6r.eu/sync/yieldlabRedirect
-
https://ad.yieldlab.net/m?dt_id=36356&ext_id=7e8e2bd5e5edc918920cf1d5593e6b6f
|
0
495 B
|
162ms
67ms
|
Image
text/plain |
23.61.243.29
Akamai Technologies
|
|
|
POST
H2
|
200
|
bid
Show response
prod-ingestion.tracking.v2.yieldlove-ad-serving.net/v2/
|
0
239 B
|
7ms
7ms
|
XHR
text/plain |
52.29.12.192
Amazon.com
|
|
|
GET
H2
|
200
|
ads
Show response
securepubads.g.doubleclick.net/gampad/
|
57 KB
9 KB
|
413ms
413ms
|
XHR
text/plain |
172.217.22.34
Google LLC
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=1265932496017982&correlator=3302046526643371&output=ldjh&impl=fif&adsid=NT&vrg=2019111401&guci=1.2.0.0.2.2.0.0&plat=1%3A536903688%2C2%3A553680904%2C8%3A134250504&sc=1&sfv=1-0-36&ecs=20191119&iu=4444%2Fgiga.de_sd%2Fhome_startseite&sz=20x10%7C30x10%7C40x10%7C80x10%7C848x90%7C968x90%7C770x250%7C800x250%7C970x250%7C468x60%7C728x90%7C728x180%7C1000x150%7C31x31&scp=as%3Dbanner%26adslot%3Dbanner%26pc%3D1%26yieldlove_reload%3Dpid%253A20918.reload%253Afalse%26yieldlove_reloads%3D0%26yieldlove_scenario%3Ddefault%26yieldlove_scenario_pid%3Dpid%253A20918.default%26yieldlove_meta%3Dpid%253A20918.sb%253Af%26yieldlove_pid%3D20918%26yieldlove_hb_sucbid%3Dfalse%26hb_unit%3Dbanner%26yieldlove_reloaded%3Dfalse%26af%3Df2x1%2Cf3x1%2Cf4x1%2Cf8x1%2Cwp%2Cfirepl%2Cbb%2Cfullb%2Cleadb%2Cdleadb%2Cvidwa%2Cbrabo%2Cfufrad%2Cfloor%2CvideoTakeover&eri=1&cust_params=tagm%3Dmt%26viewportWidth%3D1581-1680%26viewportHeight%3D1153-1200%26tagtype%3Dasync%26smb-source%3Ddirect%26smb-imp%3D1%26smb-channel%3Dgruen%26smb-content%3DStartseite%26smb-search%3Dfalse%26smb-social%3Dfalse%26smb-test%3D17%26smb-hour%3D16%26yt%3D0%26adset%3Dbrsl%26mbrid%3Dbf594537bd443b83e36344d34a1717ce%26mbrseg%3Dff6482ed%252Cb3838f1f%252C78315b65%252Ca191967d%26nuggad%3Dn127-0%252Cn121-1%252Cn116-0%252Cn104-0%252Cn15-1%252Cn155-1%252Cn133-1%252Cn106-0%252Cn153-0%252Cn11-1%252Cn120-2%252Cn154-0%252Cn125-0%252Cn8-3%252Cn2-3%252Cn137-0%252Cn101-0%252Cn108-1%252Cn54-0%252Cn110-1%252Cn87-0%252Cn149-0%252Cn76-1%252Cn66-1%252Cn139-1%252Cn160-0%252Cn107-0%252Cn21-1%252Cn51-1%252Cn117-2%252Cn86-0%252Cn147-4%252Cn64-0%252Cn119-5%252Cn22-1%252Cn30-2%252Cn18-1%252Cn161-1%252Cn126-1%252Cn92-3%252Cn77-0%252Cn83-1%252Cn102-0%252Cn105-0%252Cn159-1%252Cn20-1%252Cn80-1%252Cn12-1%252Cn141-0%252Cn157-0%252Cn99-1%252Cn128-1%252Cn118-3%252Cn85-0%252Cn9-1%252Cn23-1%252Cn6-2%252Cn63-0%252Cn138-0%252Cn140-0%252Cn94-2%252Cn111-1%252Cn136-0%252Cn79-1%252Cn93-4%252Cn90-1%252Cn55-1%252Cn142-0%252Cn7-2%252Cn103-0%252Cn158-0%252Cn124-1%252Cn75-0%252Cn91-1%252Cn46-1%252Cn114-1%252Cn69-0%252Cn10-3%252Cn3-1%252Cn82-0%252Cn84-0%252Cn5-1%252Cn48-1%252Cn109-1%252Cn122-1%252Cn67-2%252Cn115-1%252Cn89-1%252Cn123-2%252Cn17-1%252Cn78-0%252Cn44-1%252Cn81-0%252Cn88-0%252Cn39-1%252Cn156-0%252Cn148-0%26keywords%3D%26amznbid%3D0%26amznp%3D0&cookie_enabled=1&bc=31&abxe=1&lmt=1574177886&dt=1574177886199&dlt=1574177885506&idt=659&frm=20&biw=1585&bih=1200&oid=3&adx=-12245933&ady=-12245933&adk=2474492366&uci=1&ifi=1&u_tz=60&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&url=https%3A%2F%2Fwww.giga.de%2F&dssz=52&icsg=825171585536&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=1000x0&msz=20x10&ga_vid=1108486283.1574177886&ga_sid=1574177886&ga_hid=1574367218&fws=128&ohw=0
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019111401.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.34
, United States,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- fra15s16-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- 7390c5b662fec37f0ea63f6555ec74c7b87ea04544d634bbb7c3310290cef686
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
pubads_impl_rendering_2019111401.js
Show response
securepubads.g.doubleclick.net/gpt/
|
64 KB
25 KB
|
14ms
14ms
|
Script
text/javascript |
172.217.22.34
Google LLC
|
|
|
GET
H2
|
200
|
container.html
tpc.googlesyndication.com/safeframe/1-0-36/html/
|
0
0
|
19ms
6ms
|
Other
text/html |
2a00:1450:4001:808::2001
Google LLC
|
|
General
- Full URL
- https://tpc.googlesyndication.com/safeframe/1-0-36/html/container.html
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019111401.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:808::2001
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
/
- Resource Hash
|
GET
H2
|
200
|
ads
Show response
securepubads.g.doubleclick.net/gampad/
|
9 KB
4 KB
|
651ms
651ms
|
XHR
text/plain |
172.217.22.34
Google LLC
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=1265932496017982&correlator=3302046526643371&output=ldjh&impl=fif&adsid=NT&vrg=2019111401&guci=1.2.0.0.2.2.0.0&plat=1%3A536903688%2C2%3A553680904%2C8%3A134250504&sc=1&sfv=1-0-36&ecs=20191119&iu=4444%2Fgiga.de_sd%2Fhome_startseite&sz=10x40%7C10x30%7C10x20%7C500x600%7C120x600%7C160x600%7C200x600%7C300x600%7C770x200%7C33x31&scp=as%3Dsky%26adslot%3Dsky%26rfree%3D200-299%26pc%3D1%26yieldlove_reload%3Dpid%253A19051.reload%253Afalse%26yieldlove_reloads%3D0%26yieldlove_scenario%3Ddefault%26yieldlove_scenario_pid%3Dpid%253A19051.default%26yieldlove_meta%3Dpid%253A19051.sb%253Af%26yieldlove_pid%3D19051%26yieldlove_hb_sucbid%3Dfalse%26hb_unit%3Dsky%26yieldlove_reloaded%3Dfalse%26af%3Df1x4%2Cf1x3%2Cf1x2%2Cds%2Csky%2Chpad%2Cband&eri=1&cust_params=tagm%3Dmt%26viewportWidth%3D1581-1680%26viewportHeight%3D1153-1200%26tagtype%3Dasync%26smb-source%3Ddirect%26smb-imp%3D1%26smb-channel%3Dgruen%26smb-content%3DStartseite%26smb-search%3Dfalse%26smb-social%3Dfalse%26smb-test%3D17%26smb-hour%3D16%26yt%3D0%26adset%3Dbrsl%26mbrid%3Dbf594537bd443b83e36344d34a1717ce%26mbrseg%3Dff6482ed%252Cb3838f1f%252C78315b65%252Ca191967d%26nuggad%3Dn127-0%252Cn121-1%252Cn116-0%252Cn104-0%252Cn15-1%252Cn155-1%252Cn133-1%252Cn106-0%252Cn153-0%252Cn11-1%252Cn120-2%252Cn154-0%252Cn125-0%252Cn8-3%252Cn2-3%252Cn137-0%252Cn101-0%252Cn108-1%252Cn54-0%252Cn110-1%252Cn87-0%252Cn149-0%252Cn76-1%252Cn66-1%252Cn139-1%252Cn160-0%252Cn107-0%252Cn21-1%252Cn51-1%252Cn117-2%252Cn86-0%252Cn147-4%252Cn64-0%252Cn119-5%252Cn22-1%252Cn30-2%252Cn18-1%252Cn161-1%252Cn126-1%252Cn92-3%252Cn77-0%252Cn83-1%252Cn102-0%252Cn105-0%252Cn159-1%252Cn20-1%252Cn80-1%252Cn12-1%252Cn141-0%252Cn157-0%252Cn99-1%252Cn128-1%252Cn118-3%252Cn85-0%252Cn9-1%252Cn23-1%252Cn6-2%252Cn63-0%252Cn138-0%252Cn140-0%252Cn94-2%252Cn111-1%252Cn136-0%252Cn79-1%252Cn93-4%252Cn90-1%252Cn55-1%252Cn142-0%252Cn7-2%252Cn103-0%252Cn158-0%252Cn124-1%252Cn75-0%252Cn91-1%252Cn46-1%252Cn114-1%252Cn69-0%252Cn10-3%252Cn3-1%252Cn82-0%252Cn84-0%252Cn5-1%252Cn48-1%252Cn109-1%252Cn122-1%252Cn67-2%252Cn115-1%252Cn89-1%252Cn123-2%252Cn17-1%252Cn78-0%252Cn44-1%252Cn81-0%252Cn88-0%252Cn39-1%252Cn156-0%252Cn148-0%26keywords%3D%26amznbid%3D0%26amznp%3D0&cookie_enabled=1&bc=31&abxe=1&lmt=1574177886&dt=1574177886255&dlt=1574177885506&idt=659&frm=20&biw=1585&bih=1200&oid=3&adx=-12245933&ady=-12245933&adk=3176545799&uci=2&ifi=2&u_tz=60&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&url=https%3A%2F%2Fwww.giga.de%2F&dssz=53&icsg=825171585536&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=0x0&msz=10x40&ga_vid=1108486283.1574177886&ga_sid=1574177886&ga_hid=1574367218&fws=128&ohw=0
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019111401.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.34
, United States,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- fra15s16-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- 4ae8d0d517e2329b785fcef50c6a5d28b1db9be2dea254347d392aa09f400ffb
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
ads
Show response
securepubads.g.doubleclick.net/gampad/
|
9 KB
4 KB
|
645ms
644ms
|
XHR
text/plain |
172.217.22.34
Google LLC
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=1265932496017982&correlator=3302046526643371&output=ldjh&impl=fif&adsid=NT&vrg=2019111401&guci=1.2.0.0.2.2.0.0&plat=1%3A536903688%2C2%3A553680904%2C8%3A134250504&sc=1&sfv=1-0-36&ecs=20191119&iu=4444%2Fgiga.de_sd%2Fhome_startseite&sz=10x20%7C10x10%7C300x250%7C34x31&scp=as%3Drectangle%26adslot%3Drectangle%26pc%3D1%26yieldlove_reload%3Dpid%253A9501.reload%253Afalse%26yieldlove_reloads%3D0%26yieldlove_scenario%3Ddefault%26yieldlove_scenario_pid%3Dpid%253A9501.default%26yieldlove_meta%3Dpid%253A9501.sb%253Af%26yieldlove_pid%3D9501%26yieldlove_hb_sucbid%3Dfalse%26hb_unit%3Drectangle%26yieldlove_reloaded%3Dfalse%26af%3Df1x2%2Cf1x1%2Cmrec&eri=1&cust_params=tagm%3Dmt%26viewportWidth%3D1581-1680%26viewportHeight%3D1153-1200%26tagtype%3Dasync%26smb-source%3Ddirect%26smb-imp%3D1%26smb-channel%3Dgruen%26smb-content%3DStartseite%26smb-search%3Dfalse%26smb-social%3Dfalse%26smb-test%3D17%26smb-hour%3D16%26yt%3D0%26adset%3Dbrsl%26mbrid%3Dbf594537bd443b83e36344d34a1717ce%26mbrseg%3Dff6482ed%252Cb3838f1f%252C78315b65%252Ca191967d%26nuggad%3Dn127-0%252Cn121-1%252Cn116-0%252Cn104-0%252Cn15-1%252Cn155-1%252Cn133-1%252Cn106-0%252Cn153-0%252Cn11-1%252Cn120-2%252Cn154-0%252Cn125-0%252Cn8-3%252Cn2-3%252Cn137-0%252Cn101-0%252Cn108-1%252Cn54-0%252Cn110-1%252Cn87-0%252Cn149-0%252Cn76-1%252Cn66-1%252Cn139-1%252Cn160-0%252Cn107-0%252Cn21-1%252Cn51-1%252Cn117-2%252Cn86-0%252Cn147-4%252Cn64-0%252Cn119-5%252Cn22-1%252Cn30-2%252Cn18-1%252Cn161-1%252Cn126-1%252Cn92-3%252Cn77-0%252Cn83-1%252Cn102-0%252Cn105-0%252Cn159-1%252Cn20-1%252Cn80-1%252Cn12-1%252Cn141-0%252Cn157-0%252Cn99-1%252Cn128-1%252Cn118-3%252Cn85-0%252Cn9-1%252Cn23-1%252Cn6-2%252Cn63-0%252Cn138-0%252Cn140-0%252Cn94-2%252Cn111-1%252Cn136-0%252Cn79-1%252Cn93-4%252Cn90-1%252Cn55-1%252Cn142-0%252Cn7-2%252Cn103-0%252Cn158-0%252Cn124-1%252Cn75-0%252Cn91-1%252Cn46-1%252Cn114-1%252Cn69-0%252Cn10-3%252Cn3-1%252Cn82-0%252Cn84-0%252Cn5-1%252Cn48-1%252Cn109-1%252Cn122-1%252Cn67-2%252Cn115-1%252Cn89-1%252Cn123-2%252Cn17-1%252Cn78-0%252Cn44-1%252Cn81-0%252Cn88-0%252Cn39-1%252Cn156-0%252Cn148-0%26keywords%3D%26amznbid%3D0%26amznp%3D0&cookie_enabled=1&bc=31&abxe=1&lmt=1574177886&dt=1574177886260&dlt=1574177885506&idt=659&frm=20&biw=1585&bih=1200&oid=3&adx=-12245933&ady=-12245933&adk=3278712392&uci=3&ifi=3&u_tz=60&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&url=https%3A%2F%2Fwww.giga.de%2F&dssz=53&icsg=825171585536&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=300x0&msz=10x20&ga_vid=1108486283.1574177886&ga_sid=1574177886&ga_hid=1574367218&fws=128&ohw=0
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019111401.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.34
, United States,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- fra15s16-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- 445705b410f342fabce63ff5fe192910bd6c4d908b8eb3e500c361e4ea448540
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
ads
Show response
securepubads.g.doubleclick.net/gampad/
|
383 B
284 B
|
648ms
647ms
|
XHR
text/plain |
172.217.22.34
Google LLC
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=1265932496017982&correlator=3302046526643371&output=ldjh&impl=fif&adsid=NT&vrg=2019111401&guci=1.2.0.0.2.2.0.0&plat=1%3A536903688%2C2%3A553680904%2C8%3A134250504&sc=1&sfv=1-0-36&ecs=20191119&iu=4444%2Fgiga.de_sd%2Fhome_startseite&sz=800x450%7C580x500%7C580x360%7C480x360%7C42x31&scp=as%3Dposterad%26adslot%3Dposterad%26pc%3D1%26af%3Dptad%2Cintxspt&eri=1&cust_params=tagm%3Dmt%26viewportWidth%3D1581-1680%26viewportHeight%3D1153-1200%26tagtype%3Dasync%26smb-source%3Ddirect%26smb-imp%3D1%26smb-channel%3Dgruen%26smb-content%3DStartseite%26smb-search%3Dfalse%26smb-social%3Dfalse%26smb-test%3D17%26smb-hour%3D16%26yt%3D0%26adset%3Dbrsl%26mbrid%3Dbf594537bd443b83e36344d34a1717ce%26mbrseg%3Dff6482ed%252Cb3838f1f%252C78315b65%252Ca191967d%26nuggad%3Dn127-0%252Cn121-1%252Cn116-0%252Cn104-0%252Cn15-1%252Cn155-1%252Cn133-1%252Cn106-0%252Cn153-0%252Cn11-1%252Cn120-2%252Cn154-0%252Cn125-0%252Cn8-3%252Cn2-3%252Cn137-0%252Cn101-0%252Cn108-1%252Cn54-0%252Cn110-1%252Cn87-0%252Cn149-0%252Cn76-1%252Cn66-1%252Cn139-1%252Cn160-0%252Cn107-0%252Cn21-1%252Cn51-1%252Cn117-2%252Cn86-0%252Cn147-4%252Cn64-0%252Cn119-5%252Cn22-1%252Cn30-2%252Cn18-1%252Cn161-1%252Cn126-1%252Cn92-3%252Cn77-0%252Cn83-1%252Cn102-0%252Cn105-0%252Cn159-1%252Cn20-1%252Cn80-1%252Cn12-1%252Cn141-0%252Cn157-0%252Cn99-1%252Cn128-1%252Cn118-3%252Cn85-0%252Cn9-1%252Cn23-1%252Cn6-2%252Cn63-0%252Cn138-0%252Cn140-0%252Cn94-2%252Cn111-1%252Cn136-0%252Cn79-1%252Cn93-4%252Cn90-1%252Cn55-1%252Cn142-0%252Cn7-2%252Cn103-0%252Cn158-0%252Cn124-1%252Cn75-0%252Cn91-1%252Cn46-1%252Cn114-1%252Cn69-0%252Cn10-3%252Cn3-1%252Cn82-0%252Cn84-0%252Cn5-1%252Cn48-1%252Cn109-1%252Cn122-1%252Cn67-2%252Cn115-1%252Cn89-1%252Cn123-2%252Cn17-1%252Cn78-0%252Cn44-1%252Cn81-0%252Cn88-0%252Cn39-1%252Cn156-0%252Cn148-0%26keywords%3D%26amznbid%3D0%26amznp%3D0&cookie_enabled=1&bc=31&abxe=1&lmt=1574177886&dt=1574177886264&dlt=1574177885506&idt=659&frm=20&biw=1585&bih=1200&oid=3&adx=-12245933&ady=-12245933&adk=3442698974&uci=4&ifi=4&u_tz=60&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&url=https%3A%2F%2Fwww.giga.de%2F&dssz=53&icsg=825171585536&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=950x0&msz=800x450&ga_vid=1108486283.1574177886&ga_sid=1574177886&ga_hid=1574367218&fws=128&ohw=0
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019111401.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.34
, United States,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- fra15s16-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- 8473342e309e58af342cdf1978268a99a7a52efa580529834ddedf81488e992d
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
ads
Show response
securepubads.g.doubleclick.net/gampad/
|
3 KB
2 KB
|
643ms
642ms
|
XHR
text/plain |
172.217.22.34
Google LLC
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=1265932496017982&correlator=3302046526643371&output=ldjh&impl=fif&adsid=NT&vrg=2019111401&guci=1.2.0.0.2.2.0.0&plat=1%3A536903688%2C2%3A553680904%2C8%3A134250504&sc=1&sfv=1-0-36&ecs=20191119&iu=4444%2Fgiga.de_sd%2Fhome_startseite&sz=1x1&ists=1&scp=as%3Dout_of_page%26adslot%3Dout_of_page%26pc%3D1%26af%3Dtickerad&eri=1&cust_params=tagm%3Dmt%26viewportWidth%3D1581-1680%26viewportHeight%3D1153-1200%26tagtype%3Dasync%26smb-source%3Ddirect%26smb-imp%3D1%26smb-channel%3Dgruen%26smb-content%3DStartseite%26smb-search%3Dfalse%26smb-social%3Dfalse%26smb-test%3D17%26smb-hour%3D16%26yt%3D0%26adset%3Dbrsl%26mbrid%3Dbf594537bd443b83e36344d34a1717ce%26mbrseg%3Dff6482ed%252Cb3838f1f%252C78315b65%252Ca191967d%26nuggad%3Dn127-0%252Cn121-1%252Cn116-0%252Cn104-0%252Cn15-1%252Cn155-1%252Cn133-1%252Cn106-0%252Cn153-0%252Cn11-1%252Cn120-2%252Cn154-0%252Cn125-0%252Cn8-3%252Cn2-3%252Cn137-0%252Cn101-0%252Cn108-1%252Cn54-0%252Cn110-1%252Cn87-0%252Cn149-0%252Cn76-1%252Cn66-1%252Cn139-1%252Cn160-0%252Cn107-0%252Cn21-1%252Cn51-1%252Cn117-2%252Cn86-0%252Cn147-4%252Cn64-0%252Cn119-5%252Cn22-1%252Cn30-2%252Cn18-1%252Cn161-1%252Cn126-1%252Cn92-3%252Cn77-0%252Cn83-1%252Cn102-0%252Cn105-0%252Cn159-1%252Cn20-1%252Cn80-1%252Cn12-1%252Cn141-0%252Cn157-0%252Cn99-1%252Cn128-1%252Cn118-3%252Cn85-0%252Cn9-1%252Cn23-1%252Cn6-2%252Cn63-0%252Cn138-0%252Cn140-0%252Cn94-2%252Cn111-1%252Cn136-0%252Cn79-1%252Cn93-4%252Cn90-1%252Cn55-1%252Cn142-0%252Cn7-2%252Cn103-0%252Cn158-0%252Cn124-1%252Cn75-0%252Cn91-1%252Cn46-1%252Cn114-1%252Cn69-0%252Cn10-3%252Cn3-1%252Cn82-0%252Cn84-0%252Cn5-1%252Cn48-1%252Cn109-1%252Cn122-1%252Cn67-2%252Cn115-1%252Cn89-1%252Cn123-2%252Cn17-1%252Cn78-0%252Cn44-1%252Cn81-0%252Cn88-0%252Cn39-1%252Cn156-0%252Cn148-0%26keywords%3D%26amznbid%3D0%26amznp%3D0&cookie_enabled=1&bc=31&abxe=1&lmt=1574177886&dt=1574177886269&dlt=1574177885506&idt=659&frm=20&biw=1585&bih=1200&oid=3&adx=-12245933&ady=-12245933&adk=2475195157&uci=5&ifi=5&u_tz=60&u_his=2&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_sd=1&flash=0&url=https%3A%2F%2Fwww.giga.de%2F&dssz=53&icsg=825171585536&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=1585x0&msz=1x1&ga_vid=1108486283.1574177886&ga_sid=1574177886&ga_hid=1574367218&fws=128&ohw=0
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019111401.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.34
, United States,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- fra15s16-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- a7414fcb980b7eb775c9180385e1ae8bb678daf35e1696d36fab2df7517cf362
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
nativendo.css
c.nativendo.de/cdn/asset/css/
|
5 KB
1 KB
|
17ms
17ms
|
Stylesheet
text/css |
2606:4700:20::681a:5fb
Cloudflare
|
|
|
GET
H2
|
200
|
bootstrap.min.js
Show response
maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/
|
36 KB
10 KB
|
8ms
8ms
|
Script
text/javascript |
2001:4de0:ac19::1:b:2a
Highwinds Network...
|
|
|
GET
H/1.1
|
200
OK
|
config.js
Show response
confiant-integrations.global.ssl.fastly.net/2DPge-WVhZFIVEVo0laRH9eF5JI/gpt_and_prebid/
|
56 KB
13 KB
|
22ms
6ms
|
Script
text/javascript |
151.101.13.194
Fastly
|
|
|
GET
H2
|
200
|
collect
www.google-analytics.com/
|
35 B
102 B
|
7ms
7ms
|
Image
image/gif |
2a00:1450:4001:808::200e
Google LLC
|
|
General
- Full URL
- https://www.google-analytics.com/collect?v=1&_v=j79&aip=1&a=1574367218&t=event&ni=1&_s=2&dl=https%3A%2F%2Fwww.giga.de%2F&ul=en-us&de=UTF-8&dt=GIGA%20-%20Leidenschaft%20f%C3%BCr%20Technik%20und%20Games&sd=24-bit&sr=1600x1200&vp=1585x1200&je=0&ec=JWVideoPlayer&ea=PlayerAvailable&el=415710348%20--%20GIGA%20App-Tipp%3A%20Spiele-Apps%5Bvideojs%2F7.6.5%5D%5BUser%20Click2Play%5D&_u=6GBAAEADQ~&jid=&gjid=&cid=1108486283.1574177886&tid=UA-204785-4&_gid=1723463657.1574177886&cd1=&cd5=2011-11-09T13%3A44%3A29%2B01%3A00&cg1=Startseite&cg2=484&cg3=04-2016&cd2=gruen&cd6=Startseite&cd8=website&cd3=&cd15=website&cd17=not%20logged%20in&cd24=default&cd37=&cd42=legacy&cd10=Original%20%22sticky%20header%22&cd9=201908&cd11=415710348&cd12=SELF&cd13=493&cd14=false&cd19=User%20Click2Play&cd38=videojs%2F7.6.5&cd44=0&cm1=1&z=203307786
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:808::200e
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
Golfe2 /
- Resource Hash
- 8337212354871836e6763a41e615916c89bac5b3f1f0adf60ba43c7c806e1015
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
|
GET
H/1.1
|
200
OK
|
wrap.js
Show response
confiant-integrations.global.ssl.fastly.net/prebid/201911121507/
|
29 KB
11 KB
|
56ms
45ms
|
Script
application/javascript |
151.101.13.194
Fastly
|
|
General
- Full URL
- https://confiant-integrations.global.ssl.fastly.net/prebid/201911121507/wrap.js
- Requested by
- Host: confiant-integrations.global.ssl.fastly.net
URL: https://confiant-integrations.global.ssl.fastly.net/2DPge-WVhZFIVEVo0laRH9eF5JI/gpt_and_prebid/config.js
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
151.101.13.194
Frankfurt am Main, Germany,
ASN54113
(FASTLY - Fastly, US),
- Reverse DNS
- Software
-
AmazonS3 /
- Resource Hash
- a0166fe46c8c973fc2b03e65ebe5b1cc43cadffa32c64388dbb0c99a0eb26def
|
GET
H2
|
200
|
/
Show response
d.nativendo.de/cds/delivery/get/
|
9 KB
2 KB
|
55ms
54ms
|
Script
text/javascript |
107.178.241.34
Google LLC
|
|
|
GET
H2
|
200
|
0
Show response
d.nativendo.de/cds/delivery/render/554pke80/2ll34/63aio/8tc00/
|
4 KB
1 KB
|
13ms
12ms
|
Script
text/javascript |
107.178.241.34
Google LLC
|
|
|
GET
H2
|
200
|
0
Show response
d.nativendo.de/cds/delivery/render/554pke80/2lla8/5ivpc/7pudc/
|
5 KB
1 KB
|
12ms
12ms
|
Script
text/javascript |
107.178.241.34
Google LLC
|
|
|
GET
H2
|
200
|
e1f1bc57-6c61-4913-ba59-84b3bbf9b5b5.jpg
c.nativendo.de/cdn/asset/media/crt/47837/2/5/
|
26 KB
26 KB
|
15ms
15ms
|
Image
image/jpeg |
2606:4700:20::681a:5fb
Cloudflare
|
|
|
GET
H2
|
200
|
d26fbecc-ed6c-4ace-b47f-9a0670cdf359
Show response
t.nativendo.de/cds/tracking/event/
|
0
172 B
|
15ms
14ms
|
Script
text/javascript |
107.178.241.34
Google LLC
|
|
|
GET
H2
|
200
|
4ec6cf68-355e-4803-a4cb-28c140d50759.jpg
c.nativendo.de/cdn/asset/media/crt/52849/2/5/
|
20 KB
20 KB
|
16ms
16ms
|
Image
image/jpeg |
2606:4700:20::681a:5fb
Cloudflare
|
|
|
GET
H2
|
200
|
d26fbecc-ed6c-4ace-b47f-9a0670cdf359
Show response
t.nativendo.de/cds/tracking/event/
|
0
170 B
|
16ms
16ms
|
Script
text/javascript |
107.178.241.34
Google LLC
|
|
|
GET
H/1.1
|
200
OK
|
pixel
tracking.m6r.eu/consent/
|
44 B
209 B
|
17ms
16ms
|
Image
image/gif |
23.37.53.21
Akamai Technologies
|
|
|
GET
H2
|
200
|
/
Show response
track.adform.net/Serving/Cookie/
|
73 B
448 B
|
19ms
18ms
|
Script
text/javascript |
37.157.6.245
ADFORM
|
|
|
GET
H2
|
200
|
f9b17833-d68c-4e4d-b319-d6061d45aa9f
Show response
boot.pubstack.io/v1/tag/
|
1 KB
826 B
|
88ms
30ms
|
Script
application/javascript |
52.214.103.10
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
map.js
Show response
js.adscale.de/
|
21 KB
6 KB
|
38ms
12ms
|
Script
text/javascript |
72.247.225.134
Akamai Technologies
|
|
|
GET
H2
|
200
|
adex.js
Show response
dmp.theadex.com/d/285/5184/s/
|
39 KB
14 KB
|
42ms
9ms
|
Script
application/javascript |
89.163.159.110
MYLOC-AS
|
|
|
GET
H/1.1
|
200
OK
|
ibb_map.js
Show response
bbcdn-bbnaut.ibillboard.com/library/
|
1 KB
1014 B
|
93ms
21ms
|
Script
application/javascript |
62.168.44.118
GTSCE GTS Central...
|
|
|
GET
H2
|
200
|
default.js
Show response
ups.xplosion.de/loader/69511/
|
2 KB
2 KB
|
87ms
28ms
|
Script
text/javascript |
52.51.174.200
Amazon.com
|
|
|
GET
H2
|
200
|
learn
de-gmtdmp.mookie1.com/t/v2/
|
43 B
530 B
|
31ms
15ms
|
Image
image/gif |
35.186.238.175
Google LLC
|
|
|
GET
H2
|
200
|
view
securepubads.g.doubleclick.net/pcs/
Frame BBBD
|
0
0
|
18ms
18ms
|
Fetch
image/gif |
172.217.22.34
Google LLC
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjstuT6MCp0oPdw0WgWGoLK2nsmpeuzDtyWcf80cWEHxgxEerbAhjHKyXhILh2ezYE4TjCJ9BVa_U8zSyjnjKNt_er2Jfp-yl5M7YulXbdg9kdZ8L1xWEfxe4SGvam7cID7BuDeNIeZbm6heZItzmBrEx6JeJbUUMkNzEzEj8dRHbm6cpSzwraGx6UnjNAlSJunYN_we1wCn52JndVAUwBBR1BF_cbo--ycLB8qzKsdESLBWCTIocrg3dPB1dsExS57DlhlQ133LgpCu_PQ_L_UIVlEd2MCYLPFxtvaObGXA&sig=Cg0ArKJSzCCKHrkOgzwdEAE&urlfix=1&adurl=
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.34
, United States,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- fra15s16-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
async_ushape_domain_check.js
Show response
cdn.stroeerdigitalmedia.de/Ads/script/
Frame BBBD
|
95 KB
14 KB
|
68ms
44ms
|
Script
application/x-javascript |
2a02:26f0:64:493::5f76
AKAMAI-ASN1
|
|
|
GET
|
|
index.html
media.gamona.de/assets/sniper_gw_contracts/sniper_fireplace_giga/top/
Frame 51F5
|
0
0
|
|
|
|
|
|
GET
|
|
index.html
media.gamona.de/assets/sniper_gw_contracts/sniper_fireplace_giga/right/
Frame B15B
|
0
0
|
|
|
|
|
|
GET
|
|
index.html
media.gamona.de/assets/sniper_gw_contracts/sniper_fireplace_giga/left/
Frame 519C
|
0
0
|
|
|
|
|
|
GET
H/1.1
|
200
OK
|
index.html
media.gamona.de/assets/sniper_gw_contracts/sniper_fireplace_giga/top/
Frame E52A
|
0
0
|
30ms
6ms
|
Document
text/html |
82.149.242.40
HGCOMP-ASN
|
|
General
- Full URL
- https://media.gamona.de/assets/sniper_gw_contracts/sniper_fireplace_giga/top/index.html?clicktag=https://adclick.g.doubleclick.net/pcs/click%253Fxai%253DAKAOjsueRCugIZo_aQ-yoEWqPmdvpxwRQIx1DLg6pG6xWSm0ZmJn_0Peoy6R3scA7Ne2srNnigbn__sDbeDNxSFoVO-UxRaqhcqr1BdaYMzYQYZ3gaqaOYmuh2N1ugfa1Mo48wZukN8YKA6Uv0zK-5zcHxv9WzTOj-q_0tMIPq9PIVo5D9_ROG_mH_P5qxjbKMsZMExL-I4-JusXA2c7Ch0IjcAo4yOTl8Ol7F1Mmu7lWhsKimVpqeM3dfVBf20JiX8Gtp93xHjMBVEoaTY5%2526sig%253DCg0ArKJSzK7t3hgHdSMZEAE%2526urlfix%253D1%2526adurl%253Dhttps%3A%2F%2Fwww.amazon.de%2Fdp%2FB07SRF33ZR%2F
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
82.149.242.40
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
nginx/1.6.2 /
- Resource Hash
|
GET
H/1.1
|
200
OK
|
index.html
media.gamona.de/assets/sniper_gw_contracts/sniper_fireplace_giga/right/
Frame AF32
|
0
0
|
29ms
6ms
|
Document
text/html |
82.149.242.40
HGCOMP-ASN
|
|
General
- Full URL
- https://media.gamona.de/assets/sniper_gw_contracts/sniper_fireplace_giga/right/index.html?clicktag=https://adclick.g.doubleclick.net/pcs/click%253Fxai%253DAKAOjsueRCugIZo_aQ-yoEWqPmdvpxwRQIx1DLg6pG6xWSm0ZmJn_0Peoy6R3scA7Ne2srNnigbn__sDbeDNxSFoVO-UxRaqhcqr1BdaYMzYQYZ3gaqaOYmuh2N1ugfa1Mo48wZukN8YKA6Uv0zK-5zcHxv9WzTOj-q_0tMIPq9PIVo5D9_ROG_mH_P5qxjbKMsZMExL-I4-JusXA2c7Ch0IjcAo4yOTl8Ol7F1Mmu7lWhsKimVpqeM3dfVBf20JiX8Gtp93xHjMBVEoaTY5%2526sig%253DCg0ArKJSzK7t3hgHdSMZEAE%2526urlfix%253D1%2526adurl%253Dhttps%3A%2F%2Fwww.amazon.de%2Fdp%2FB07SRF33ZR%2F
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
82.149.242.40
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
nginx/1.6.2 /
- Resource Hash
|
GET
H/1.1
|
200
OK
|
index.html
media.gamona.de/assets/sniper_gw_contracts/sniper_fireplace_giga/left/
Frame 6343
|
0
0
|
29ms
6ms
|
Document
text/html |
82.149.242.40
HGCOMP-ASN
|
|
General
- Full URL
- https://media.gamona.de/assets/sniper_gw_contracts/sniper_fireplace_giga/left/index.html?clicktag=https://adclick.g.doubleclick.net/pcs/click%253Fxai%253DAKAOjsueRCugIZo_aQ-yoEWqPmdvpxwRQIx1DLg6pG6xWSm0ZmJn_0Peoy6R3scA7Ne2srNnigbn__sDbeDNxSFoVO-UxRaqhcqr1BdaYMzYQYZ3gaqaOYmuh2N1ugfa1Mo48wZukN8YKA6Uv0zK-5zcHxv9WzTOj-q_0tMIPq9PIVo5D9_ROG_mH_P5qxjbKMsZMExL-I4-JusXA2c7Ch0IjcAo4yOTl8Ol7F1Mmu7lWhsKimVpqeM3dfVBf20JiX8Gtp93xHjMBVEoaTY5%2526sig%253DCg0ArKJSzK7t3hgHdSMZEAE%2526urlfix%253D1%2526adurl%253Dhttps%3A%2F%2Fwww.amazon.de%2Fdp%2FB07SRF33ZR%2F
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
82.149.242.40
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
nginx/1.6.2 /
- Resource Hash
|
GET
H2
|
200
|
osd_listener.js
Show response
www.googletagservices.com/activeview/js/current/
Frame BBBD
|
76 KB
29 KB
|
39ms
39ms
|
Script
text/javascript |
2a00:1450:4001:821::2002
Google LLC
|
|
General
- Full URL
- https://www.googletagservices.com/activeview/js/current/osd_listener.js?cache=r20110914
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019111401.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:821::2002
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
sffe /
- Resource Hash
- e48c4975b293be404aa17aca3844095d270597494ffabe5316cad8c3e45d5004
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
osd.js
Show response
www.googletagservices.com/activeview/js/current/
|
78 KB
29 KB
|
39ms
39ms
|
Script
text/javascript |
2a00:1450:4001:821::2002
Google LLC
|
|
General
- Full URL
- https://www.googletagservices.com/activeview/js/current/osd.js?cb=%2Fr20100101
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2019111401.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:821::2002
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
sffe /
- Resource Hash
- 0e946b0ee0337cf23c845f67a238e1fefd5f1e014fdbd8ea27870172fcedd40f
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
5224146873
Show response
api.yieldlove-ad-serving.net/v1/bl/4444/
|
2 B
205 B
|
32ms
15ms
|
XHR
application/json |
35.158.7.103
Amazon.com
|
|
|
GET
H2
|
200
|
monitoring.js
Show response
cdn.prod.pubstack.io/
|
61 KB
19 KB
|
19ms
6ms
|
XHR
application/javascript |
34.95.76.218
Google LLC
|
|
|
GET
H/1.1
|
200
OK
|
Cookie set
map
ih.adscale.de/
Frame A3B1
|
0
0
|
84ms
60ms
|
Document
text/html |
72.247.225.134
Akamai Technologies
|
|
|
POST
H2
|
200
|
win
Show response
prod-ingestion.tracking.v2.yieldlove-ad-serving.net/v2/
|
0
239 B
|
7ms
6ms
|
XHR
text/plain |
52.29.12.192
Amazon.com
|
|
|
GET
H2
|
200
|
segments
Show response
api.theadex.com/v0.9/pub/
|
56 B
126 B
|
784ms
10ms
|
Script
text/plain |
85.114.144.107
MYLOC-AS
|
|
General
- Full URL
- https://api.theadex.com/v0.9/pub/segments?access_token=y5fWjpPcqPTEF7fuHtSSUIh1UnD1w2hVEt2Y2PjI&callback=window.ibb_lib.ibb_store
- Requested by
- Host: bbcdn-bbnaut.ibillboard.com
URL: https://bbcdn-bbnaut.ibillboard.com/library/ibb_map.js
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
85.114.144.107
, Germany,
ASN24961
(MYLOC-AS, DE),
- Reverse DNS
- Software
-
/
- Resource Hash
- 893fa7339c102fb976d4065531644d8a8ac565fc84818a77600ad3ed5a72a26b
|
GET
H2
|
200
|
p.min.js
Show response
cdn.emetriq.de/adp/profiling/0.2.18/
|
5 KB
2 KB
|
22ms
6ms
|
Script
application/javascript |
2600:9000:20eb:3800:1c:8c89:a300:93a1
Amazon.com
|
|
|
GET
H2
|
200
|
launcher.js
Show response
sak.userreport.com/sdm/
|
63 KB
20 KB
|
23ms
7ms
|
Script
application/javascript |
13.224.196.28
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
data
lb57.s400.meetrics.net/
|
43 B
308 B
|
3ms
1ms
|
Image
image/gif |
136.243.4.7
HETZNER-AS
|
|
General
- Full URL
- https://lb57.s400.meetrics.net/data?/ZH6oDwLAAKktFLkqFFlqwF23A52AwwALl1FDLkqFKlkyB23A52AwwA2qoFx1A30Ax3A34A41Az0A5vEzxE54FhzBu3BsBF/k0F+DmvFytFh0FjvFklF9GEpyFlwFshFjlFmhEk2F9xAy4A3zA3wAy1A1mAjwFpkF9kElzFr0FvwFmhEwhF91AyyA0xA02A43AzmAjpFk9BxzA4yA50A1zA32A13AmzEp6Fl9B3yA44E5wAmzEp0Fl9BnpFnhFukElfFzkFmwEshFjlF9oEvtFlmBhwFi9BihFuuFlyFmhEwjF91AyyA0xA02A43AzmAhwFk9B1yAy0Ax0A24A3zAmhEwlF9lAyGE00A00AlyAGnFpnFhuBklFfzFklByGEovFtlFfzF0hFy0FzlFp0FllByGEihFuuFlyFmhEkjF9kEpyFljF0mBttFvkFl9BklFmhF1sF0mBjiF9xA13A0xA33A44A24AwxALlnFBUkzFLBPIIAAZAwSAcAAAAPlDAAAAAAABiAFAPBAAFAAiAFTUzAAPAAAFAAiAFTwXbAPBAAFAAiAFTshNASksFJEjAAAAAAAAAAAAEAAAiAFAAAAAAAHAklFzrF0vFwBFEAovFtlFKAnpFnhFukElfFzkFGA3yA44E5wAMAxzA4yA50A1zA32A13AGAkpFylFj0FAAAAKAxyA43Az3AwyA11AKA1yAy0Ax0A24A3zAGAihFuuFlyFKA1yAy0Ax0A24A3zAKA1yAy0Ax0A24A3zAvAlyAG0B00A0lAyGEnpFnhFukElfFzkFlyAGoFvtFlfFz0FhyF0zFlpF0lFlyAGiFhuFulFyBFQtjFuuI7TA
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
136.243.4.7
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- h215.meetrics.de
- Software
-
nginx /
- Resource Hash
- 548f2d6f4d0d820c6c5ffbeffcbd7f0e73193e2932eefe542accc84762deec87
|
GET
H/1.1
|
200
OK
|
data
lb57.s400.meetrics.net/
|
43 B
308 B
|
3ms
1ms
|
Image
image/gif |
136.243.4.7
HETZNER-AS
|
|
General
- Full URL
- https://lb57.s400.meetrics.net/data?/ZH6oExLAATkzF6PAAAlEAwAABUzAAZBAAOA55A55A85B55A58E55A55AFAywA1xA0BErUzAASksFtNdlEAwAAoPAIDAFAAAUzAAAAhIo0F0wFz6BvvAtlFkpFhuBnhFtvFuhFukElvBhzFzlF0zFvzEupFwlFyfFn3FfjFvuF0yFhjF0zFvzEupFwlFyfFmpFylFwsFhjFlfFnpFnhFv0EvwFvpEukFl4FuoE0tFs/BjsFpjFr0FhnF9oE00FwzF6vAvhEkjFspFjrFunEukEv1FisFljFspFjrFuuEl0FvwEjzFvjEspFjrFlyA1zAG4FhpFlyA1zAEBFLBFPqFz1FlSFD1FnJFavFfhFRtB5vFFXFxQFtkF2wF43FSRFJ4FxEEMnF2wEH2B4XFTtFwaEtKFufFwQElvF52BSzBzjFB3BOlFyzEyOFupFniFufFfzFEiFlEFO4FTGFvWFPtBV4FShFxoFjxFyxBCkFhZFN6FZRFZaFznEhxFhPFZtF1oFyOEx1EnmFhxBNvF04A3aF1rFO4BZLFB2BV2Fw6ELtB16EjIF42F5XE6UFPqFtxEfwB0NFJQFx5BQJFWvF1EE5fESPFHfFtIFfQF1xE4qFiLFNzFaNFF4FMtBJ0BtKE1zFYBFyjE3DEowBJqFjBFv0B5PFUsF4PEs3BGxBNtF13BsXFozFLpFtWFwxFlNFzkEmWFCmFywAKpFY4BH0Fw5Bz4EIqFNCFWFFvhFUZF1lAy1Ay2AzpFnlBy1AzEEDnFwBEyLFKTF6LF30EzoEnIFkTFNaFFBFFlBy1Ay2A1yFsmFp4FlyA1zAExBlyA1yA2hEk1FysFlyA1zAEoF00FwzFlzABlByGElyAG3F33FuhEthF6vFuuBklFlyAGkFwlByGECwB3TESGFzzAaSFlyAGBFJAGpFylFwsFhjFlBFAAAAAAAAAAAAAAAAQtjFXe1eUA
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
136.243.4.7
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- h215.meetrics.de
- Software
-
nginx /
- Resource Hash
- 548f2d6f4d0d820c6c5ffbeffcbd7f0e73193e2932eefe542accc84762deec87
|
GET
H/1.1
|
200
OK
|
data
lb57.s400.meetrics.net/
|
43 B
308 B
|
5ms
3ms
|
Image
image/gif |
136.243.4.7
HETZNER-AS
|
|
General
- Full URL
- https://lb57.s400.meetrics.net/data?/ZH6oFyLAATkzF6PAAANUAwAABwXbAZAAAOA55A55A85B55A58E55A55AFAywA1xA0BErwXbASksFwNdNUAwAAsEAgMAFAAAwXbAAAjIo0F0wFz6BvvAtlFkpFhuBnhFtvFuhFukElvBhzFzlF0zFvzEupFwlFyfFn3FfjFvuF0yFhjF0zFvzEupFwlFyfFmpFylFwsFhjFlfFnpFnhFvyEpnFo0FvpEukFl4FuoE0tFs/BjsFpjFr0FhnF9oE00FwzF6vAvhEkjFspFjrFunEukEv1FisFljFspFjrFuuEl0FvwEjzFvjEspFjrFlyA1zAG4FhpFlyA1zAEBFLBFPqFz1FlSFD1FnJFavFfhFRtB5vFFXFxQFtkF2wF43FSRFJ4FxEEMnF2wEH2B4XFTtFwaEtKFufFwQElvF52BSzBzjFB3BOlFyzEyOFupFniFufFfzFEiFlEFO4FTGFvWFPtBV4FShFxoFjxFyxBCkFhZFN6FZRFZaFznEhxFhPFZtF1oFyOEx1EnmFhxBNvF04A3aF1rFO4BZLFB2BV2Fw6ELtB16EjIF42F5XE6UFPqFtxEfwB0NFJQFx5BQJFWvF1EE5fESPFHfFtIFfQF1xE4qFiLFNzFaNFF4FMtBJ0BtKE1zFYBFyjE3DEowBJqFjBFv0B5PFUsF4PEs3BGxBNtF13BsXFozFLpFtWFwxFlNFzkEmWFCmFywAKpFY4BH0Fw5Bz4EIqFNCFWFFvhFUZF1lAy1Ay2AzpFnlBy1AzEEDnFwBEyLFKTF6LF30EzoEnIFkTFNaFFBFFlBy1Ay2A1yFsmFp4FlyA1zAExBlyA1yA2hEk1FysFlyA1zAEoF00FwzFlzABlByGElyAG3F33FuhEthF6vFuuBklFlyAGkFwlByGECwB3TESGFzzAaSFlyAGBFJAGpFylFwsFhjFlBFAAAAAAAAAAAAAAAAQtjF5I0fUA
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
136.243.4.7
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- h215.meetrics.de
- Software
-
nginx /
- Resource Hash
- 548f2d6f4d0d820c6c5ffbeffcbd7f0e73193e2932eefe542accc84762deec87
|
GET
H2
|
200
|
data
Show response
ups.xplosion.de/
|
4 KB
3 KB
|
31ms
30ms
|
Script
text/javascript |
52.51.174.200
Amazon.com
|
|
General
- Full URL
- https://ups.xplosion.de/data?title=GIGA%20-%20Leidenschaft%20f%C3%BCr%20Technik%20und%20Games&hostSiteUrl=https%3A%2F%2Fwww.giga.de%2F&userAgent=5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_14_6)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F78.0.3904.97%20Safari%2F537.36&userLang=en-US&color=24&os=Linux%20x86_64&timezone=-1&screen=1200x1600&mbr=bf594537bd443b83e36344d34a1717ce&event_id=page_view&_sid=69511&_ver=0.2.18&_seg=jsonp&_=631966343718
- Requested by
- Host: cdn.emetriq.de
URL: https://cdn.emetriq.de/adp/profiling/0.2.18/p.min.js
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
52.51.174.200
Dublin, Ireland,
ASN16509
(AMAZON-02 - Amazon.com, Inc., US),
- Reverse DNS
- ec2-52-51-174-200.eu-west-1.compute.amazonaws.com
- Software
-
/
- Resource Hash
- 106613f1d82fd1d16f4e56e02051cd54e9ce002e9e0c5543c9d98dd2709459cd
|
GET
H2
|
200
|
d26fbecc-ed6c-4ace-b47f-9a0670cdf359
Show response
t.nativendo.de/cds/tracking/event/
|
0
170 B
|
14ms
13ms
|
Script
text/javascript |
107.178.241.34
Google LLC
|
|
|
GET
H2
|
200
|
d26fbecc-ed6c-4ace-b47f-9a0670cdf359
Show response
t.nativendo.de/cds/tracking/event/
|
0
170 B
|
16ms
16ms
|
Script
text/javascript |
107.178.241.34
Google LLC
|
|
|
GET
H2
|
200
|
d26fbecc-ed6c-4ace-b47f-9a0670cdf359
Show response
t.nativendo.de/cds/tracking/event/
|
0
170 B
|
15ms
14ms
|
Script
text/javascript |
107.178.241.34
Google LLC
|
|
|
GET
H/1.1
|
200
OK
|
adrtxtag.min.js
Show response
cdn.adrtx.net/
|
840 B
848 B
|
127ms
31ms
|
Script
application/javascript |
34.249.185.179
Amazon.com
|
|
|
GET
H2
|
200
|
usersync
uss.xplosion.de/
Frame 3350
Redirect Chain
-
https://xpl.theadex.com/d/327/i/2.gif?axd_pid=22&axd_fuid=BSaFWiUFWsJ3WDJCBsUkWsfABifABSfABSfABifABifABfrr&cb=https%3A%2F%2Fuss.xplosion.de%2Fusersync%3Fsid%3D65966%26fpid%3D%7B%7BUUID%7D%7D
-
https://uss.xplosion.de/usersync?sid=65966&fpid=4210009604984488326
|
42 B
663 B
|
29ms
28ms
|
Image
image/gif |
52.51.174.200
Amazon.com
|
|
|
GET
H2
|
200
|
view
securepubads.g.doubleclick.net/pcs/
Frame C139
|
0
0
|
38ms
38ms
|
Fetch
image/gif |
172.217.22.34
Google LLC
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjst5mg_MdLqdM5PvRpCCSsNIEk9ysEax30rDTeNWQ4QoFhsLAZ4I1bqogOKiqjaA1WnAx4WSb2V3QzHuRU7OURcFSVKxssuLFs-JmGtvGxscDt9EGLNKNyid09jyZqcAdQe29zAvtO-jL4hSYAhGa1JToibq-TxG25mWrXMXcerzDcy5NnYcFoCDzgOforaAHKLDI5j_oIUy9XLhgFtmjcxNp8nG0GnsCj1uvPWrXMF_iI5S6yeKJOCRei-_sdY9OwqJ3p4aTaeYoFppLgp9&sig=Cg0ArKJSzN7JKmt7YwysEAE&urlfix=1&adurl=
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.34
, United States,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- fra15s16-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
osd_listener.js
Show response
www.googletagservices.com/activeview/js/current/
Frame C139
|
76 KB
29 KB
|
39ms
39ms
|
Script
text/javascript |
2a00:1450:4001:821::2002
Google LLC
|
|
General
- Full URL
- https://www.googletagservices.com/activeview/js/current/osd_listener.js?cache=r20110914
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019111401.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:821::2002
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
sffe /
- Resource Hash
- e48c4975b293be404aa17aca3844095d270597494ffabe5316cad8c3e45d5004
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
4863977886
Show response
api.yieldlove-ad-serving.net/v1/bl/4444/
|
2 B
206 B
|
6ms
6ms
|
XHR
application/json |
35.158.7.103
Amazon.com
|
|
|
GET
H2
|
200
|
view
securepubads.g.doubleclick.net/pcs/
Frame 61C6
|
0
0
|
31ms
31ms
|
Fetch
image/gif |
172.217.22.34
Google LLC
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjst_1Ik4_Hc1upvvduQ1a9V4Q7HzZWacShFiEkIVkwMeUB1GfBfwo3ZUmM1HrHr9-_9z0UWsW7fixJkVOCI8r4KPTVj9gpbXKSzPFWCzIf2DRQ4QT8sE5Fusc9imazT6rzoab2tEBlwYCaOpEil6iTGSj3_Xogibu79n2tdYOjZr6a_9wYsexFGTkx1n5nMtvTyIKsh7Ih46epJrUUEj88Ubdjyuohs2ISC7kEWAqT8EDZ4PbupD2ryZe2FLtbHeHsTjJWBAFEbCXWBmwuaANW6WYo6jzAj3jvhbTanRcUE&sig=Cg0ArKJSzORSQaFUO3kAEAE&urlfix=1&adurl=
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.34
, United States,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- fra15s16-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
osd_listener.js
Show response
www.googletagservices.com/activeview/js/current/
Frame 61C6
|
76 KB
29 KB
|
38ms
38ms
|
Script
text/javascript |
2a00:1450:4001:821::2002
Google LLC
|
|
General
- Full URL
- https://www.googletagservices.com/activeview/js/current/osd_listener.js?cache=r20110914
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2019111401.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:821::2002
Frankfurt am Main, Germany,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- Software
-
sffe /
- Resource Hash
- e48c4975b293be404aa17aca3844095d270597494ffabe5316cad8c3e45d5004
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
5224146873
Show response
api.yieldlove-ad-serving.net/v1/bl/4444/
|
2 B
205 B
|
30ms
30ms
|
XHR
application/json |
35.158.7.103
Amazon.com
|
|
|
GET
H2
|
200
|
defaultImage.gif
cdn.stroeerdigitalmedia.de/Ads/
Frame 859F
Redirect Chain
-
https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjst93oCJlsW5futomVKgYmO7_BE-epkX8j4PFaz4JUhqK006mDFafoy7xv4XSyhwKFx0HEe9hn_bhXWXsgx-JN-JByuJv37zN--uU0OjIfGNf8MYKamaqZut6ybjCQqK6wA4utoVmODqK...
-
https://cdn.stroeerdigitalmedia.de/Ads/defaultImage.gif
|
49 B
343 B
|
52ms
52ms
|
Image
image/gif |
2a02:26f0:64:493::5f76
AKAMAI-ASN1
|
|
|
POST
H2
|
200
|
win
Show response
prod-ingestion.tracking.v2.yieldlove-ad-serving.net/v2/
|
0
239 B
|
6ms
6ms
|
XHR
text/plain |
52.29.12.192
Amazon.com
|
|
|
POST
H2
|
200
|
win
Show response
prod-ingestion.tracking.v2.yieldlove-ad-serving.net/v2/
|
0
239 B
|
7ms
6ms
|
XHR
text/plain |
52.29.12.192
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
activation
adstax-match.adrtx.net/
Frame 224D
|
0
0
|
112ms
28ms
|
Document
text/html |
34.248.95.73
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
data
lb57.s400.meetrics.net/
|
43 B
308 B
|
2ms
1ms
|
Image
image/gif |
136.243.4.7
HETZNER-AS
|
|
General
- Full URL
- https://lb57.s400.meetrics.net/data?/ZH6oGWPAAUkzFyDPBAAAAAwAABshNAZAAAOA55A55A85B55A58E55A55AFAywA1xA0BErshNAPAAAyi2AAAjUzAAPAAAAAAAAATUzAAPAAAyi2AAAjwXbAPAAAAAAAAATwXbAPAAAyi2AAAjshNAPAAAAAAAAATshNAPAAAAAAwAAByi2APAAAFAAiAFTyi2APCBAlEAwAAHUzAAPBAAAAAwAAHshNAZAAACAt3ACA04AKshNAPAAANUAwAAHwXbASksFCPdAAAwAAsEAgMAFAAAshNAAAiIo0F0wFz6BvvAtlFkpFhuBnhFtvFuhFukElvBhzFzlF0zFvzEupFwlFyfFn3FfjFvuF0yFhjF0zFvzEupFwlFyfFmpFylFwsFhjFlfFnpFnhFvsElmF0vBpuFklF4uBo0FtsF/jEspFjrF0hFn9Bo0F0wFz6BvvAhkFjsFpjFruBnuBkvF1iFslFjsFpjFruBulF0vBwjFzvBjsFpjFrlBy1AzGE4hFplBy1AzEEBLFBPFqzF1lFSDF1nFJaFvfFhRFt5EvFFXxFQtFk2Fw4F3SFRJF4xBEMFn2BwHF24EXTFtwBatFKuFfwBQlFv5F2SEzzEjBF3OElyBzyFOuFpnFiuFffFzEFilFEOF4TFGvFWPFtVE4SFhxFojFxyFxCEkhFZNF6ZFRZFazBnhFxhFPZFt1FoyBOxB1nFmhFxNEv0B43Ea1FrOF4ZELBF2VE2wB6LFt1A6jFI4F25BX6FUPFqtBxfFw0ENJFQxF5QEJWFv1BE5BfSFPHFftFIfFQ1Bx4FqiFLNFzaFNFF4MFtJE0tAK1FzYFByBj3BDoFwJEqjFBvF05EPUFs4BPsF3GExNEt1F3sEXoFzLFptFWwFxlFNzBkmFWCFmyBwKEpYF4HE0wF5zA4IFqNFCWFFvFhUFZ1BlyA1yA2zEpnFlyA1zAEDFnwBByFLKFT6FL3B0zBonFIkFTNFaFFBFFlyA1yA21EysFmpF4lBy1AzEExlAy1Ay2AhkF1yFslBy1AzEEo0F0wFzlBzBElyAGlByGE33F3uBhtFh6FvuFukEllByGEkwFlyAGCFw3ATSFGzBzaESlByGEJAGpFylFwsFhjFlBFAAAAAAAAAAAAAAAAdAAAwAA5YAgMAFAAAyi2ASAzyA40AfxBxyAxxAyfE11A0wA0fEAAJAGpFylFwsFhjFlBFAAAAAAAAAAAAAAAAQtjF34K7VA
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
136.243.4.7
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- h215.meetrics.de
- Software
-
nginx /
- Resource Hash
- 548f2d6f4d0d820c6c5ffbeffcbd7f0e73193e2932eefe542accc84762deec87
|
GET
BLOB
|
200
OK
|
2b3b039d-decb-49f8-b642-6aca3a1d3538
https://videos.giga.de/
Frame E1E7
|
31 B
0
|
|
Other
application/javascript |
|
|
|
GET
H2
|
200
|
6074d35e55a37b571944d5335f_ciA5NTADOWI2NDU1Nzc0NTU=.jpg
files.giga-video.de/92/eb/27/
Frame E1E7
|
52 KB
52 KB
|
39ms
11ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
General
- Full URL
- https://files.giga-video.de/92/eb/27/6074d35e55a37b571944d5335f_ciA5NTADOWI2NDU1Nzc0NTU=.jpg
- Requested by
- Host: videos.giga.de
URL: https://videos.giga.de/dist/js/embed/bundle/videojs-ff0ddd6c.min.js
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
178.19.70.100
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
nginx/1.10.3 /
- Resource Hash
- 1250c34c5a822bcee3e13881905d855f917ae987bbae0469408248baf2ff3abd
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
1; mode=block |
|
GET
H/1.1
|
200
OK
|
global_config.json
Show response
s3.eu-central-1.amazonaws.com/homad-global-configs-eu-fra.schneevonmorgen.com/
Frame E1E7
|
53 B
703 B
|
32ms
11ms
|
XHR
application/json |
52.219.72.195
Amazon.com
|
|
|
GET
H2
|
200
|
giga-ssl.json
Show response
videos.giga.de/homad/
Frame E1E7
|
265 B
436 B
|
6ms
6ms
|
XHR
application/json |
109.71.25.30
HGCOMP-ASN
|
|
|
OPTIONS
H2
|
204
|
error
Show response
intake.prod.pubstack.io/v1/intake/
|
0
178 B
|
84ms
27ms
|
XHR
text/plain |
52.30.195.15
Amazon.com
|
|
|
OPTIONS
H2
|
204
|
auction
Show response
intake.prod.pubstack.io/v1/intake/
|
0
178 B
|
85ms
28ms
|
XHR
text/plain |
52.30.195.15
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
config.json
Show response
hgc-cf-cache-1.svonm.com/www.giga.de/
Frame E1E7
|
724 B
1 KB
|
41ms
6ms
|
XHR
application/json |
13.224.196.120
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
hd-main.js
Show response
hgc-cf-cache-1.svonm.com/
Frame E1E7
|
195 KB
57 KB
|
8ms
8ms
|
XHR
application/javascript |
13.224.196.120
Amazon.com
|
|
|
GET
DATA
|
200
OK
|
truncated
Show response
/
Frame E1E7
|
195 KB
0
|
|
Script
text/javascript |
|
|
|
POST
H2
|
204
|
error
Show response
intake.prod.pubstack.io/v1/intake/
|
0
57 B
|
27ms
27ms
|
XHR
text/plain |
52.30.195.15
Amazon.com
|
|
|
POST
H2
|
204
|
auction
Show response
intake.prod.pubstack.io/v1/intake/
|
0
57 B
|
27ms
27ms
|
XHR
text/plain |
52.30.195.15
Amazon.com
|
|
|
GET
H2
|
200
|
usersync
uss.xplosion.de/
|
42 B
663 B
|
28ms
28ms
|
Image
image/gif |
52.51.174.200
Amazon.com
|
|
|
GET
H2
|
200
|
5224146873
Show response
api.yieldlove-ad-serving.net/v1/bl/4444/
|
2 B
205 B
|
9ms
8ms
|
XHR
application/json |
35.158.7.103
Amazon.com
|
|
|
GET
H2
|
200
|
4863977886
Show response
api.yieldlove-ad-serving.net/v1/bl/4444/
|
2 B
206 B
|
7ms
7ms
|
XHR
application/json |
35.158.7.103
Amazon.com
|
|
|
GET
H/1.1
|
200
OK
|
global_config.json
Show response
s3.eu-central-1.amazonaws.com/homad-global-configs-eu-fra.schneevonmorgen.com/
Frame E1E7
|
53 B
703 B
|
32ms
10ms
|
XHR
application/json |
52.219.72.195
Amazon.com
|
|
General
- Full URL
- https://s3.eu-central-1.amazonaws.com/homad-global-configs-eu-fra.schneevonmorgen.com/global_config.json?cache=7934410903
- Requested by
- Host: text
URL: data:text/javascript;base64,dmFyIHBoZWlUZWF2YmVjaG9oRGk9cGhlaVRlYXZiZWNob2hEaXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBhYSgpe3guZ2Z8fCh4LmdmPTApO3guZ2YrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXgudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2U9eC52aWRlb3BrZ0ludGVyZmFjZSk7MTA+eC5nZiYmd2luZG93LnNldFRpbWVvdXQoYWEsNTAwKX1mdW5jdGlvbiB6KCl7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoImtleWRvd24iLH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vbiBhKCl7fWMuWGk9YTthLnByb3RvdHlwZT17fX0pKGMpO3ZhciBvYz1jLlhpfHxvYztuZXcgb2MoMSxuZXcgRGF0ZSwyLE1hdGgucmFuZG9tKCksInRydWUiLG5hdmlnYXRvciwibC1rZXkiLCExLE1hdGguYWJzKC0xKSwidGYiLCJaKFRURFpUUlIiKX0pLmNhbGwocGhlaVRlYXZiZWNob2hEaSxwaGVpVGVhdmJlY2hvaERpKTsK
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
52.219.72.195
Frankfurt am Main, Germany,
ASN16509
(AMAZON-02 - Amazon.com, Inc., US),
- Reverse DNS
- s3.eu-central-1.amazonaws.com
- Software
-
AmazonS3 /
- Resource Hash
- f1379a9c047773af19ec6c4f9a465e0147cbabc785342c01110b43304179196a
|
GET
H2
|
200
|
giga-ssl.json
Show response
videos.giga.de/homad/
Frame E1E7
|
265 B
436 B
|
9ms
8ms
|
XHR
application/json |
109.71.25.30
HGCOMP-ASN
|
|
General
- Full URL
- https://videos.giga.de/homad/giga-ssl.json?cache=6948419266
- Requested by
- Host: text
URL: data:text/javascript;base64,dmFyIHBoZWlUZWF2YmVjaG9oRGk9cGhlaVRlYXZiZWNob2hEaXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBhYSgpe3guZ2Z8fCh4LmdmPTApO3guZ2YrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXgudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2U9eC52aWRlb3BrZ0ludGVyZmFjZSk7MTA+eC5nZiYmd2luZG93LnNldFRpbWVvdXQoYWEsNTAwKX1mdW5jdGlvbiB6KCl7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoImtleWRvd24iLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZW1vdmUiLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3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GF0ZSwyLE1hdGgucmFuZG9tKCksInRydWUiLG5hdmlnYXRvciwibC1rZXkiLCExLE1hdGguYWJzKC0xKSwidGYiLCJaKFRURFpUUlIiKX0pLmNhbGwocGhlaVRlYXZiZWNob2hEaSxwaGVpVGVhdmJlY2hvaERpKTsK
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
109.71.25.30
, Germany,
ASN29551
(HGCOMP-ASN, DE),
- Reverse DNS
- Software
-
nginx/1.14.1 /
- Resource Hash
- cddc04822e3d360c8d4ce7041294700199c5c9e3395ae7c21a311a112ae0526f
|
GET
H/1.1
|
200
OK
|
config.json
Show response
hgc-cf-cache-1.svonm.com/www.giga.de/
Frame E1E7
|
724 B
1 KB
|
19ms
7ms
|
XHR
application/json |
13.224.196.120
Amazon.com
|
|
General
- Full URL
- https://hgc-cf-cache-1.svonm.com/www.giga.de/config.json?cache=6869145970
- Requested by
- Host: text
URL: data:text/javascript;base64,dmFyIHBoZWlUZWF2YmVjaG9oRGk9cGhlaVRlYXZiZWNob2hEaXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBhYSgpe3guZ2Z8fCh4LmdmPTApO3guZ2YrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXgudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2U9eC52aWRlb3BrZ0ludGVyZmFjZSk7MTA+eC5nZiYmd2luZG93LnNldFRpbWVvdXQoYWEsNTAwKX1mdW5jdGlvbiB6KCl7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoImtleWRvd24iLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZW1vdmUiLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZWRvd24iLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJjbGljayIseik7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoIn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ocGhlaVRlYXZiZWNob2hEaSxwaGVpVGVhdmJlY2hvaERpKTsK
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
13.224.196.120
Seattle, United States,
ASN16509
(AMAZON-02 - Amazon.com, Inc., US),
- Reverse DNS
- server-13-224-196-120.fra2.r.cloudfront.net
- Software
-
AmazonS3 /
- Resource Hash
- b1ae253cba132ab2566227a6f5a59ea9a90cdffef6f6bf06c55a222ed3afef53
|
POST
H/1.1
|
200
OK
|
/
Show response
ssl.2.damoh.giga.de/e5cbd933bf968cbb25eb247dba6359496720f4aa/
Frame E1E7
|
724 B
2 KB
|
104ms
64ms
|
XHR
application/json |
178.63.56.124
HETZNER-AS
|
|
General
- Full URL
- https://ssl.2.damoh.giga.de/e5cbd933bf968cbb25eb247dba6359496720f4aa/
- Requested by
- Host: text
URL: data:text/javascript;base64,dmFyIHBoZWlUZWF2YmVjaG9oRGk9cGhlaVRlYXZiZWNob2hEaXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBhYSgpe3guZ2Z8fCh4LmdmPTApO3guZ2YrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXgudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2U9eC52aWRlb3BrZ0ludGVyZmFjZSk7MTA+eC5nZiYmd2luZG93LnNldFRpbWVvdXQoYWEsNTAwKX1mdW5jdGlvbiB6KCl7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoImtleWRvd24iLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZW1vdmUiLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZWRvd24iLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJjbGljayIseik7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoInRvdWNoc3RhcnQiLHopO3dpbmRvdy5yZW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dmJlY2hvaERpKTsK
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
178.63.56.124
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- static.124.56.63.178.clients.your-server.de
- Software
-
AmazonS3 /
- Resource Hash
- b1ae253cba132ab2566227a6f5a59ea9a90cdffef6f6bf06c55a222ed3afef53
|
GET
H/1.1
|
200
OK
|
hic_qos
Show response
ssl.1.damoh.giga.de/
Frame E1E7
|
24 B
409 B
|
53ms
1ms
|
XHR
application/octet-stream |
144.76.9.6
HETZNER-AS
|
|
General
- Full URL
- https://ssl.1.damoh.giga.de/hic_qos?ads&adserv=1&_werbebanner_&simple_ad_
- Requested by
- Host: text
URL: data:text/javascript;base64,dmFyIHBoZWlUZWF2YmVjaG9oRGk9cGhlaVRlYXZiZWNob2hEaXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBhYSgpe3guZ2Z8fCh4LmdmPTApO3guZ2YrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXgudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2U9eC52aWRlb3BrZ0ludGVyZmFjZSk7MTA+eC5nZiYmd2luZG93LnNldFRpbWVvdXQoYWEsNTAwKX1mdW5jdGlvbiB6KCl7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoImtleWRvd24iLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZW1vdmUiLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZWRvd24iLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJjbGljayIseik7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoInRvdWNoc3RhcnQiLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJ0b3VjaGVuZCIseik7d2luZG93LnJlbW92ZUV2ZW50TGlzdG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server
-
144.76.9.6
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- static.6.9.76.144.clients.your-server.de
- Software
-
openresty/1.15.8.2 /
- Resource Hash
- ae8f9dd465ab424d0dd4f81f7ba9ec5029f6736e090c3f33b5f0fa0c0ecc47dc
|
GET
DATA
|
200
OK
|
truncated
Show response
/
Frame A2C1
|
241 B
0
|
|
Script
text/javascript |
|
|
|
POST
H/1.1
|
200
OK
|
/
Show response
ssl.2.damoh.giga.de/1dd3ab3a18bbca7dbd7cc3f6b6a4140199c37c1f/
Frame E1E7
|
109 B
671 B
|
15ms
2ms
|
XHR
application/json |
178.63.56.124
HETZNER-AS
|
|
General
- Full URL
- https://ssl.2.damoh.giga.de/1dd3ab3a18bbca7dbd7cc3f6b6a4140199c37c1f/
- Requested by
- Host: text
URL: data:text/javascript;base64,dmFyIHBoZWlUZWF2YmVjaG9oRGk9cGhlaVRlYXZiZWNob2hEaXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBhYSgpe3guZ2Z8fCh4LmdmPTApO3guZ2YrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXgudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2U9eC52aWRlb3BrZ0ludGVyZmFjZSk7MTA+eC5nZiYmd2luZG93LnNldFRpbWVvdXQoYWEsNTAwKX1mdW5jdGlvbiB6KCl7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoImtleWRvd24iLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZW1vdmUiLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZWRvd24iLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJjbGljayIseik7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoInRvdWNoc3RhcnQiLHopO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJ0b3Vj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.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
178.63.56.124
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- static.124.56.63.178.clients.your-server.de
- Software
-
TornadoServer/5.0 /
- Resource Hash
- 9725b267c37b60d3a97a87216aa18ef1d1922138faa4f548e506fccfe5517f61
|
GET
H2
|
200
|
5224146873
Show response
api.yieldlove-ad-serving.net/v1/bl/4444/
|
2 B
205 B
|
6ms
6ms
|
XHR
application/json |
35.158.7.103
Amazon.com
|
|
|
GET
H2
|
200
|
pd
eu-u.openx.net/w/1.0/
Frame D5F3
Redirect Chain
-
https://eu-u.openx.net/w/1.0/pd?plm=6&ph=2671f27c-3f24-410f-8105-4de0c801f2a9&gdpr=1
-
https://eu-u.openx.net/w/1.0/pd?cc=1&plm=6&ph=2671f27c-3f24-410f-8105-4de0c801f2a9&gdpr=1
|
0
0
|
19ms
19ms
|
Document
text/html |
34.95.120.147
Google LLC
|
|
General
- Full URL
- https://eu-u.openx.net/w/1.0/pd?cc=1&plm=6&ph=2671f27c-3f24-410f-8105-4de0c801f2a9&gdpr=1
- Requested by
- Host: cdn-a.yieldlove.com
URL: https://cdn-a.yieldlove.com/yieldlove-bidder-stroeer.js?giga.de
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
34.95.120.147
, United States,
ASN15169
(GOOGLE - Google LLC, US),
- Reverse DNS
- 147.120.95.34.bc.googleusercontent.com
- Software
-
OXGW/16.167.1 /
- Resource Hash
|
GET
H/1.1
|
200
OK
|
async_usersync.html
acdn.adnxs.com/ib/static/usersync/v3/
Frame C387
|
0
0
|
20ms
5ms
|
Document
text/html |
151.101.113.108
Fastly
|
|
General
- Full URL
- https://acdn.adnxs.com/ib/static/usersync/v3/async_usersync.html
- Requested by
- Host: cdn-a.yieldlove.com
URL: https://cdn-a.yieldlove.com/yieldlove-bidder-stroeer.js?giga.de
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
151.101.113.108
Frankfurt am Main, Germany,
ASN54113
(FASTLY - Fastly, US),
- Reverse DNS
- Software
-
nginx/1.9.13 /
- Resource Hash
|
GET
H/1.1
|
200
OK
|
data
lb57.s400.meetrics.net/
|
43 B
308 B
|
3ms
1ms
|
Image
image/gif |
136.243.4.7
HETZNER-AS
|
|
General
- Full URL
- https://lb57.s400.meetrics.net/data?/ZH6oHJOBA/k0FFImvFytFh0FjvFklF9GEpyFlwFshFjlFmhEk2F9xAy4A3zA3wAy1A1mAjwFpkF9kElzFr0FvwFmhEwhF91AyyA0xA02A43AzmAjpFk9BxzA4yA50A1zA32A13AmzEp6Fl9B3yA44E5wAmzEp0Fl9BnpFnhFukElfFzkFmwEshFjlF9oEvtFlmBhwFi9BihFuuFlyFmhEwjF91AyyA0xA02A43AzmAhwFk9B1yAy0Ax0A24A3zAmhEwlF9lAyGE00A00AlyAGnFpnFhuBklFfzFklByGEovFtlFfzF0hFy0FzlFp0FllByGEihFuuFlyFmhEkjF9kEpyFljF0mBttFvkFl9BklFmhF1sF0mBjiF9xA13A0xA33A44A24AwxAmvFytFh0FjvFklF94Et1EurFuvF3uFtxA4xBmhEk2F9yA42A35A13A1mAjwFpkF9kElzFr0FvwFmhEwhF90A04AyzA44Ay5AymAjpFk9BxzA4yAx2Ay0A1zA3yAmzEp6Fl9Bx4ExmAzpF0lF9nEpnFhuBklFfzFkmBwsFhjFl9BovFtlFmhEwiF9vE10FfvFmfFwhFnlFmhEwjF90A04AyzA44Ay5AymAhwFk9B00A4yAz4A4yA5yAmhEwlF9lAyGE00A00AlyAGnFpnFhuBklFfzFklByGEovFtlFfzF0hFy0FzlFp0FllByGEv1F0fFvmFfwFhnFlmBhkFj9BkpFylFj0FmtEtvFklF9kElmFh1Fs0FmjEi9Bx1A30Ax3A34A43AwzA0BELlnFCUkzFnBPiCAAAAAAABEoIAPAAAFAAEoITUOaAPAAAAAAv0BBUOaAZAAAOA55A55A85B55A58E55A55AFAz1AzzAyBErUOaAPKCAAAAv0BHUOaASksFSFjAAAAAAAAAAAAEAAAEoIAAAAAAAHAklFzrF0vFwBFEAovFtlFKAnpFnhFukElfFzkFDAx4ExBEMAxzA4yAx2Ay0A1zA3yAGAkpFylFj0FAAAAIAy4A23A51A31AKA00A4yAz4A4yA5yALAv1F0fFvmFfwFhnFlBFKA00A4yAz4A4yA5yAKA00A4yAz4A4yA5yA0AlyAG0B00A0lAyGEnpFnhFukElfFzkFlyAGoFvtFlfFz0FhyF0zFlpF0lFlyAGvF10FfvFmfFwhFnlFdAAAv0BxYAAAAFAAAUOaAAAAANA4tB1uFruFv3FutBx4ExBEAAAAAAAAAAAAAAAAQtjFjp7/VA
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_256_GCM
- Server
-
136.243.4.7
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- h215.meetrics.de
- Software
-
nginx /
- Resource Hash
- 548f2d6f4d0d820c6c5ffbeffcbd7f0e73193e2932eefe542accc84762deec87
|
GET
H/1.0
|
200
OK
|
o.gif
go.giga-abs.de/
|
35 B
355 B
|
19ms
6ms
|
Image
image/gif |
178.19.72.20
HGCOMP-ASN
|
|
|