GET
H2
|
200
|
Primary Request
/
Show response
www.giga.de/
Redirect Chain
-
http://www.giga.de/
-
https://www.giga.de/
|
196 KB
58 KB
|
199ms
145ms
|
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
|
29ms
28ms
|
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
|
38ms
38ms
|
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
|
35ms
34ms
|
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
|
82ms
25ms
|
Script
application/javascript |
151.101.114.217
FASTLY
|
|
|
GET
H2
|
200
|
pre-298466378d.js
Show response
www.giga.de/static-local/dist/assets/js/
|
33 KB
11 KB
|
44ms
43ms
|
Script
text/javascript |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
main-desktop-26ed07d47b.css
www.giga.de/static-local/dist/assets/css/
|
547 KB
62 KB
|
36ms
35ms
|
Stylesheet
text/css |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H/1.1
|
200
OK
|
iam.js
Show response
script.ioam.de/
|
38 KB
11 KB
|
74ms
25ms
|
Script
application/javascript |
91.215.100.39
INFONLINE-AS
|
|
|
GET
H2
|
200
|
metaTag.min.e78e84f1fc22d8fe11e60ceb8e9e0880.js
Show response
js.stroeermediabrands.de/
|
280 KB
63 KB
|
77ms
20ms
|
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
|
108ms
24ms
|
Script
application/javascript |
188.40.16.106
HETZNER-AS
|
|
|
GET
H2
|
200
|
android-traurig-rcm625x352.jpg
static.giga.de/wp-content/uploads/2017/11/
|
36 KB
37 KB
|
114ms
57ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
mediaMarkt_pixabay-rcm300x169.jpg
static.giga.de/wp-content/uploads/2020/02/
|
15 KB
16 KB
|
83ms
26ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
Valentinstag-bei-WhatsApp-und-Facebook-1-rcm300x169.jpg
static.giga.de/wp-content/uploads/2019/02/
|
13 KB
13 KB
|
97ms
40ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
psstore_card_1500x950_2-rcm300x169.png
static.giga.de/wp-content/uploads/2020/02/
|
8 KB
9 KB
|
111ms
54ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
1.gif
www.gstatic.com/psa/static/
|
53 B
151 B
|
7ms
5ms
|
Image
image/gif |
2a00:1450:4001:808::2003
GOOGLE
|
|
|
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
309 B
|
23ms
23ms
|
Image
image/gif |
161.156.66.178
SOFTLAYER
|
|
|
GET
H2
|
200
|
tr
www.facebook.com/
|
44 B
253 B
|
7ms
6ms
|
Image
image/gif |
2a03:2880:f12d:83:face:b00c:0:25de
FACEBOOK
|
|
|
GET
H2
|
200
|
analytics.js
Show response
www.google-analytics.com/
|
44 KB
18 KB
|
7ms
6ms
|
Script
text/javascript |
2a00:1450:4001:80b::200e
GOOGLE
|
|
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-298466378d.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:80b::200e
Frankfurt am Main, Germany,
ASN15169
(GOOGLE, US),
- Reverse DNS
- Software
-
Golfe2 /
- Resource Hash
- eaf1b128b927ac2868755cb7366d35554255c8af362235afe270f9614f8c806d
- 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/
|
87 KB
25 KB
|
92ms
37ms
|
Script
application/javascript |
13.225.86.250
AMAZON-02
|
|
|
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
|
68ms
38ms
|
Script
application/javascript |
104.111.215.171
AKAMAI-AS
|
|
|
GET
H2
|
200
|
init
Show response
d.nativendo.de/cds/delivery/
|
1 KB
1 KB
|
70ms
24ms
|
Script
text/javascript |
107.178.241.34
GOOGLE
|
|
|
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=NL%2FZuid-Holland&cb=0014&i2=0014a672fec071e245e4a12ad&ep=1610192798&vr=416&...
-
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=NL%2FZuid-Holland&cb=0014&i2=0014a672fec071e245e4a12ad&ep=1610192798&vr=416&...
-
https://de.ioam.de/blank.gif
|
43 B
651 B
|
19ms
19ms
|
Image
image/gif |
91.215.103.65
INFONLINE-AS
|
|
|
GET
H2
|
200
|
lazyload-65c07b80e0.min.js
Show response
www.giga.de/static-local/dist/assets/js/vendor/lazyload/
|
5 KB
2 KB
|
27ms
27ms
|
Script
text/javascript |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
415710348
Show response
videos.giga.de/embed/
Frame A003
|
9 KB
3 KB
|
113ms
47ms
|
Document
text/html |
109.71.25.30
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
bg.jpg
www.giga.de/special/gutscheine/
|
10 KB
10 KB
|
30ms
30ms
|
Image
image/jpeg |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
icons-sprite.png
www.giga.de/special/gutscheine/
|
14 KB
14 KB
|
31ms
31ms
|
Image
image/png |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
fontello.woff2
www.giga.de/static-local/dist/assets/fonts/fontello/
|
10 KB
10 KB
|
28ms
28ms
|
Font
application/octet-stream |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
giga-bb5486a341.js
Show response
www.giga.de/static-local/dist/assets/js/bundle/
|
37 KB
13 KB
|
27ms
26ms
|
Script
text/javascript |
178.19.72.10
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
41ms
|
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
|
horror-rcm300x169.jpg
static.giga.de/wp-content/uploads/2020/02/
|
11 KB
11 KB
|
56ms
54ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
collect
www.google-analytics.com/r/
|
35 B
103 B
|
13ms
13ms
|
Image
image/gif |
2a00:1450:4001:80b::200e
GOOGLE
|
|
General
- Full URL
- https://www.google-analytics.com/r/collect?v=1&_v=j81&aip=1&a=220990535&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=4GBAAEAB~&jid=619270723&gjid=817045555&cid=711353851.1581912749&tid=UA-204785-4&_gid=70477273.1581912749&_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=&z=666147014
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:80b::200e
Frankfurt am Main, Germany,
ASN15169
(GOOGLE, US),
- Reverse DNS
- Software
-
Golfe2 /
- Resource Hash
- 8337212354871836e6763a41e615916c89bac5b3f1f0adf60ba43c7c806e1015
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
|
GET
H/1.0
|
200
OK
|
z.js
Show response
go.giga-abs.de/
|
1 KB
1 KB
|
137ms
27ms
|
Script
text/javascript |
178.19.72.20
HGCOMP-ASN
|
|
|
GET
H/1.1
|
200
OK
|
Cookie set
iframe
tracking.m6r.eu/pixel/
Frame 5F55
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
|
39ms
37ms
|
Document
text/html |
104.111.215.171
AKAMAI-AS
|
|
|
GET
H2
|
200
|
tfa.js
Show response
cdn.taboola.com/libtrc/unip/1092206/
|
61 KB
21 KB
|
58ms
19ms
|
Script
application/javascript |
151.101.114.2
FASTLY
|
|
|
GET
H2
|
200
|
gpt.js
Show response
securepubads.g.doubleclick.net/tag/js/
|
43 KB
14 KB
|
29ms
28ms
|
Script
text/javascript |
172.217.22.2
GOOGLE
|
|
|
GET
H2
|
200
|
yieldlove-bidder-stroeer.js
Show response
cdn-a.yieldlove.com/
|
289 KB
89 KB
|
320ms
28ms
|
Script
application/javascript |
13.225.78.101
AMAZON-02
|
|
|
GET
H/1.1
|
200
OK
|
mtrcs_679600.js
Show response
s400.mxcdn.net/bb-mx/serve/
|
126 KB
49 KB
|
1079ms
31ms
|
Script
text/javascript |
2.18.233.67
AKAMAI-AS
|
|
|
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
|
71ms
33ms
|
XHR
text/plain |
104.111.215.171
AKAMAI-AS
|
|
|
GET
H2
|
200
|
nuggad
Show response
nugmw.userreport.com/rc-ap/4602a6ac-9ac9-492c-bc0b-9a42053f5927/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/4602a6ac-9ac9-492c-bc0b-9a42053f5927/si.nuggad.net/nuggad?nuggn=571289945&nuggsid=947908416&nuggtg=&nuggrid=https%3A%2F%2Fwww.giga.de%2F
|
2 KB
2 KB
|
40ms
22ms
|
Script
text/javascript |
2600:9000:20eb:8c00:1f:a1b:34c0:93a1
AMAZON-02
|
|
|
GET
H2
|
200
|
SDG_CookieLayer.min.js
Show response
cdn.stroeerdigitalgroup.de/metatag/libraries/
|
15 KB
3 KB
|
21ms
6ms
|
Script
application/javascript |
2a02:26f0:6c00:18a::5f76
AKAMAI-ASN1
|
|
|
GET
H/1.1
|
200
OK
|
ad-loading.png
www.dunkirkinception.com/detect/
|
179 B
490 B
|
1114ms
22ms
|
Image
image/png |
18.194.129.32
AMAZON-02
|
|
|
GET
H2
|
200
|
loader.js
Show response
c.nativendo.de/cdn/asset/js/
|
56 KB
18 KB
|
34ms
17ms
|
Script
application/javascript |
2606:4700:20::681a:5fb
CLOUDFLARENET
|
|
|
GET
H2
|
200
|
video-gallery-fff486d99c.js
Show response
www.giga.de/static-local/dist/assets/js/components/
|
782 B
688 B
|
27ms
26ms
|
Script
text/javascript |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H/1.1
|
200
OK
|
dkuim.js
Show response
dkuim.de/api/js/2/
|
465 KB
151 KB
|
351ms
34ms
|
Script
application/javascript |
178.19.65.130
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
bid
Show response
c.amazon-adsystem.com/e/dtb/
|
107 B
492 B
|
93ms
93ms
|
XHR
text/javascript |
13.225.86.250
AMAZON-02
|
|
General
- Full URL
- https://c.amazon-adsystem.com/e/dtb/bid?src=3301&u=https%3A%2F%2Fwww.giga.de%2F&pid=88ehG105ROE5t&cb=0&ws=1600x1200&v=7.47.00&t=1000&slots=%5B%7B%22sd%22%3A%220%22%2C%22s%22%3A%5B%22728x90%22%2C%22800x250%22%2C%22970x250%22%5D%2C%22sn%22%3A%22banner%22%7D%2C%7B%22sd%22%3A%221%22%2C%22s%22%3A%5B%22160x600%22%2C%22300x600%22%5D%2C%22sn%22%3A%22sky%22%7D%2C%7B%22sd%22%3A%222%22%2C%22s%22%3A%5B%22300x250%22%5D%2C%22sn%22%3A%22rectangle%22%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
-
13.225.86.250
Seattle, United States,
ASN16509
(AMAZON-02, US),
- Reverse DNS
- server-13-225-86-250.fra2.r.cloudfront.net
- Software
-
Server /
- Resource Hash
- 9694d72e65a5b488a1e18d166970ab73de4848e18766fee7634d803cef4cc8f7
|
GET
H2
|
200
|
aps_csm.js
Show response
c.amazon-adsystem.com/bao-csm/aps-comm/
|
6 KB
3 KB
|
1067ms
20ms
|
XHR
application/javascript |
13.225.86.250
AMAZON-02
|
|
|
GET
H2
|
200
|
videojs-c972511a.min.js
Show response
videos.giga.de/dist/js/embed/bundle/
Frame A003
|
619 KB
206 KB
|
38ms
38ms
|
Script
application/javascript |
109.71.25.30
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
ima3.js
Show response
imasdk.googleapis.com/js/sdkloader/
Frame A003
|
267 KB
91 KB
|
37ms
13ms
|
Script
text/javascript |
2a00:1450:4001:825::200a
GOOGLE
|
|
|
GET
H2
|
200
|
integrator.js
Show response
adservice.google.nl/adsid/
|
109 B
778 B
|
30ms
15ms
|
Script
application/javascript |
2a00:1450:4001:825::2002
GOOGLE
|
|
|
GET
H2
|
200
|
integrator.js
Show response
adservice.google.com/adsid/
|
109 B
171 B
|
16ms
15ms
|
Script
application/javascript |
2a00:1450:4001:80b::2002
GOOGLE
|
|
|
GET
H2
|
200
|
pubads_impl_2020013001.js
Show response
securepubads.g.doubleclick.net/gpt/
|
167 KB
61 KB
|
28ms
28ms
|
Script
text/javascript |
172.217.22.2
GOOGLE
|
|
|
GET
H2
|
200
|
jquery.min.js
Show response
ajax.googleapis.com/ajax/libs/jquery/3.2.1/
|
85 KB
30 KB
|
6ms
5ms
|
Script
text/javascript |
2a00:1450:4001:824::200a
GOOGLE
|
|
|
GET
H2
|
200
|
videojs-f50f7a8d.css
videos.giga.de/dist/css/
Frame A003
|
53 KB
15 KB
|
83ms
82ms
|
Stylesheet
text/css |
109.71.25.30
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
play_button.svg
videos.giga.de/image/
Frame A003
|
1015 B
1 KB
|
83ms
83ms
|
Image
image/svg+xml |
109.71.25.30
HGCOMP-ASN
|
|
|
GET
H/1.1
|
200
OK
|
dmp
Show response
tracking.m6r.eu/sync/
|
97 B
621 B
|
81ms
55ms
|
XHR
application/json |
104.111.215.171
AKAMAI-AS
|
|
|
GET
H2
|
200
|
nativendo.css
c.nativendo.de/cdn/asset/css/
|
5 KB
1 KB
|
10ms
9ms
|
Stylesheet
text/css |
2606:4700:20::681a:5fb
CLOUDFLARENET
|
|
|
GET
H/1.0
|
200
OK
|
o.gif
go.giga-abs.de/
|
35 B
355 B
|
26ms
26ms
|
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=1581912749412&__it=-60&__ic=727391&__iq=950ff870567ecbd435cece15bebfa515&__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
|
bootstrap.min.js
Show response
maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/
|
36 KB
10 KB
|
8ms
7ms
|
Script
text/javascript |
2001:4de0:ac19::1:b:3b
HIGHWINDS3
|
|
|
GET
H/1.1
|
200
OK
|
container
Show response
tracking.m6r.eu/pixel/
|
3 KB
2 KB
|
31ms
29ms
|
Script
text/javascript |
104.111.215.171
AKAMAI-AS
|
|
|
GET
H2
|
200
|
/
Show response
d.nativendo.de/cds/delivery/get/
|
3 KB
1 KB
|
53ms
52ms
|
Script
text/javascript |
107.178.241.34
GOOGLE
|
|
|
GET
H/1.1
|
200
OK
|
adscaleSyncDone
tracking.m6r.eu/sync/
Redirect Chain
-
https://ih.adscale.de/adscale-ih/tpui?tpid=48&tpuid=b7888a98951921a0b7a863da337c2ffc&cburl=https%3A%2F%2Ftracking.m6r.eu%2Fsync%2FadscaleSyncDone%3FuserBuyeruid%3Db7888a98951921a0b7a863da337c2ffc%2...
-
https://ih.adscale.de/adscale-ih/tpui?tpid=48&tpuid=b7888a98951921a0b7a863da337c2ffc&cburl=https%3A%2F%2Ftracking.m6r.eu%2Fsync%2FadscaleSyncDone%3FuserBuyeruid%3Db7888a98951921a0b7a863da337c2ffc%2...
-
https://tracking.m6r.eu/sync/adscaleSyncDone?userBuyeruid=b7888a98951921a0b7a863da337c2ffc&userId=adscale-user:2fe6bb453a344d0bb3f169596124132f
-
https://tracking.m6r.eu/sync/adscaleSyncDone?userBuyeruid=b7888a98951921a0b7a863da337c2ffc&userId=adscale-user%3A2fe6bb453a344d0bb3f169596124132f&checkcookies=true
|
44 B
574 B
|
36ms
36ms
|
Image
image/gif |
104.111.215.171
AKAMAI-AS
|
|
|
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=b7888a98951921a0b7a863da337c2ffc
|
0
590 B
|
22ms
22ms
|
Image
text/html |
37.252.173.62
ASN-APPNEX
|
|
|
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=t4iKmJUZIaC3qGPaM3wv_A
-
https://tracking.m6r.eu/sync/adxSyncDone?google_ula=158217889,0
|
44 B
569 B
|
41ms
41ms
|
Image
image/gif |
104.111.215.171
AKAMAI-AS
|
|
|
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=b7888a98951921a0b7a863da337c2ffc
|
0
360 B
|
320ms
26ms
|
Image
text/plain |
104.111.241.250
AKAMAI-AS
|
|
|
GET
H/1.1
|
200
OK
|
Cookie set
iu3
aax-eu.amazon-adsystem.com/s/
Frame D2C0
Redirect Chain
-
https://aax-eu.amazon-adsystem.com/s/iu3?cm3ppd=1&d=dtb-pub&csif=t&dl=3lift
-
https://aax-eu.amazon-adsystem.com/s/iu3?cm3ppd=1&d=dtb-pub&csif=t&dl=3lift&dcc=t
|
0
0
|
189ms
188ms
|
Document
text/html |
52.94.218.7
AMAZON-02
|
|
General
- Full URL
- https://aax-eu.amazon-adsystem.com/s/iu3?cm3ppd=1&d=dtb-pub&csif=t&dl=3lift&dcc=t
- Requested by
- Host: c.amazon-adsystem.com
URL: https://c.amazon-adsystem.com/aax2/apstag.js
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
52.94.218.7
Dublin, Ireland,
ASN16509
(AMAZON-02, US),
- Reverse DNS
- Software
-
Server /
- Resource Hash
|
GET
H2
|
200
|
/
Show response
d.nativendo.de/cds/delivery/renders/2ll34.6so3k.a3ncw.0-2lla8.6w5xc.aan7k.0/
|
9 KB
2 KB
|
27ms
27ms
|
Script
text/javascript |
107.178.241.34
GOOGLE
|
|
|
GET
H2
|
200
|
3ab2982f-2a8e-42aa-adce-855c5742f901.png
c.nativendo.de/cdn/asset/media/crt/60262/2/5/
|
26 KB
27 KB
|
11ms
10ms
|
Image
image/jpeg |
2606:4700:20::681a:5fb
CLOUDFLARENET
|
|
|
GET
H2
|
200
|
bfd1bbdf-9c5c-4e44-a122-d0e7c11c0a9a.jpg
c.nativendo.de/cdn/asset/media/crt/61480/2/5/
|
22 KB
23 KB
|
9ms
9ms
|
Image
image/jpeg |
2606:4700:20::681a:5fb
CLOUDFLARENET
|
|
|
GET
H2
|
200
|
8098278f-05bd-4959-8694-448317d320a7
Show response
t.nativendo.de/cds/tracking/event/
|
0
180 B
|
30ms
28ms
|
Script
text/javascript |
107.178.241.34
GOOGLE
|
|
|
GET
H2
|
200
|
8098278f-05bd-4959-8694-448317d320a7
Show response
t.nativendo.de/cds/tracking/event/
|
0
178 B
|
31ms
30ms
|
Script
text/javascript |
107.178.241.34
GOOGLE
|
|
|
GET
H2
|
200
|
ads
Show response
securepubads.g.doubleclick.net/gampad/
|
411 B
317 B
|
51ms
51ms
|
XHR
text/plain |
172.217.22.2
GOOGLE
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=2934386896366598&correlator=2460821308888282&output=ldjh&impl=fif&adsid=NT&eid=21065540%2C21062832%2C21065304%2C21065305&vrg=2020013001&guci=1.2.0.0.2.2.0.0&sc=1&sfv=1-0-37&ecs=20200217&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%26browserapp%3Dfirefox%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%3D19%26smb-hour%3D5%26mtrcskv%3D50-1_75%252C50-1_100%252C60-1_100%252C65-1_75%252C70-1_75%252C70-2_100%252C80-1_75%252C80-2_100%252C100-1_75%252C100-2_100%26yt%3D0%26adset%3Dbrsl%26keywords%3D%26mbrid%3D2ba216d3b5db0656ad467a27b213907e%26mbrseg%3D855125d3%252Cb3838f1f%252C78315b65&cookie_enabled=1&bc=31&abxe=1&lmt=1581912749&dt=1581912749696&dlt=1581912749096&idt=358&frm=20&biw=1585&bih=1200&oid=3&adx=-12245933&ady=-12245933&adk=3442698974&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=60&icsg=211372533776384&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=950x0&msz=800x450&ga_vid=711353851.1581912749&ga_sid=1581912750&ga_hid=220990535&fws=128&ohw=0
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2020013001.js?21065540
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.2
, United States,
ASN15169
(GOOGLE, US),
- Reverse DNS
- fra16s14-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- db6325d654d45425415fe7aa9233c9a90092e68b19f0e57a99ec5dd3a01db8b3
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
pubads_impl_rendering_2020013001.js
Show response
securepubads.g.doubleclick.net/gpt/
|
66 KB
24 KB
|
27ms
27ms
|
Script
text/javascript |
172.217.22.2
GOOGLE
|
|
|
GET
H2
|
200
|
container.html
tpc.googlesyndication.com/safeframe/1-0-37/html/
|
0
0
|
5ms
5ms
|
Other
text/html |
2a00:1450:4001:81e::2001
GOOGLE
|
|
General
- Full URL
- https://tpc.googlesyndication.com/safeframe/1-0-37/html/container.html
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2020013001.js?21065540
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:81e::2001
Frankfurt am Main, Germany,
ASN15169
(GOOGLE, US),
- Reverse DNS
- Software
-
/
- Resource Hash
|
GET
H2
|
200
|
ads
Show response
securepubads.g.doubleclick.net/gampad/
|
3 KB
2 KB
|
56ms
55ms
|
XHR
text/plain |
172.217.22.2
GOOGLE
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=2934386896366598&correlator=2460821308888282&output=ldjh&impl=fif&adsid=NT&eid=21065540%2C21062832%2C21065304%2C21065305&vrg=2020013001&guci=1.2.0.0.2.2.0.0&sc=1&sfv=1-0-37&ecs=20200217&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%26browserapp%3Dfirefox%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%3D19%26smb-hour%3D5%26mtrcskv%3D50-1_75%252C50-1_100%252C60-1_100%252C65-1_75%252C70-1_75%252C70-2_100%252C80-1_75%252C80-2_100%252C100-1_75%252C100-2_100%26yt%3D0%26adset%3Dbrsl%26keywords%3D%26mbrid%3D2ba216d3b5db0656ad467a27b213907e%26mbrseg%3D855125d3%252Cb3838f1f%252C78315b65&cookie_enabled=1&bc=31&abxe=1&lmt=1581912749&dt=1581912749711&dlt=1581912749096&idt=358&frm=20&biw=1585&bih=1200&oid=3&adx=-12245933&ady=-12245933&adk=2475195157&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=61&icsg=211372533776384&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=1585x0&msz=1x1&ga_vid=711353851.1581912749&ga_sid=1581912750&ga_hid=220990535&fws=128&ohw=0
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2020013001.js?21065540
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.2
, United States,
ASN15169
(GOOGLE, US),
- Reverse DNS
- fra16s14-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- 9efd72449d5c6ed49722559acca75a59a37765bc47aab56cc5247094e82c36c4
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
POST
H2
|
204
|
session
Show response
prod-ingestion.tracking.v2.yieldlove-ad-serving.net/v2/
|
0
57 B
|
312ms
20ms
|
XHR
text/plain |
35.156.162.45
AMAZON-02
|
|
|
POST
H/1.1
|
200
OK
|
prebid
Show response
ib.adnxs.com/ut/v3/
|
21 B
708 B
|
20ms
20ms
|
XHR
application/json |
37.252.173.62
ASN-APPNEX
|
|
|
POST
|
|
bid
orbidder.otto.de/
|
0
0
|
|
|
|
|
|
POST
|
|
bid
orbidder.otto.de/
|
0
0
|
|
|
|
|
|
POST
|
|
bid
orbidder.otto.de/
|
0
0
|
|
|
|
|
|
GET
H/1.1
|
200
OK
|
9767196,9767198,9767205
Show response
ad.yieldlab.net/yp/
|
2 B
759 B
|
42ms
29ms
|
XHR
application/json |
104.111.241.250
AKAMAI-AS
|
|
|
POST
|
|
translator
hbopenbid.pubmatic.com/
|
0
0
|
|
|
|
|
|
GET
H/1.1
|
200
OK
|
fastlane.json
Show response
fastlane.rubiconproject.com/a/api/
|
240 B
2 KB
|
142ms
76ms
|
XHR
application/json |
69.173.144.143
RUBICONPROJECT
|
|
General
- Full URL
- https://fastlane.rubiconproject.com/a/api/fastlane.json?account_id=16728&site_id=156224&zone_id=750960&size_id=15&p_pos=unknown&rf=https%3A%2F%2Fwww.giga.de%2F&tk_flint=pbjs_lite_v2.24.0&x_source.tid=9eb68ef6-b61e-47fc-a882-1f0cbc4d248b&p_screen_res=1600x1200&rp_floor=0.01&rp_secure=1&slots=1&rand=0.7296587559299821
- 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,
RSA, AES_128_GCM
- Server
-
69.173.144.143
Frankfurt am Main, Germany,
ASN26667
(RUBICONPROJECT, US),
- Reverse DNS
- Software
-
RAS 2.4 /
- Resource Hash
- e55ca2432a95a9d4844fb64df7b9396542a610e0e78e58dd083397cf7fa0015c
|
GET
H/1.1
|
200
OK
|
fastlane.json
Show response
fastlane.rubiconproject.com/a/api/
|
241 B
2 KB
|
236ms
93ms
|
XHR
application/json |
69.173.144.143
RUBICONPROJECT
|
|
General
- Full URL
- https://fastlane.rubiconproject.com/a/api/fastlane.json?account_id=16728&site_id=156224&zone_id=1266838&size_id=9&alt_size_ids=8%2C10%2C126&p_pos=unknown&rf=https%3A%2F%2Fwww.giga.de%2F&tk_flint=pbjs_lite_v2.24.0&x_source.tid=10ad3f3d-2374-4b9f-abfc-6e7e81c558cd&p_screen_res=1600x1200&rp_floor=0.01&rp_secure=1&slots=1&rand=0.2687166068679079
- 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,
RSA, AES_128_GCM
- Server
-
69.173.144.143
Frankfurt am Main, Germany,
ASN26667
(RUBICONPROJECT, US),
- Reverse DNS
- Software
-
RAS 2.4 /
- Resource Hash
- 28ceef455e70dab015e57549d604446db6c2068fd39221aed943bbcb98a88b56
|
GET
H/1.1
|
200
OK
|
fastlane.json
Show response
fastlane.rubiconproject.com/a/api/
|
241 B
2 KB
|
314ms
78ms
|
XHR
application/json |
69.173.144.143
RUBICONPROJECT
|
|
General
- Full URL
- https://fastlane.rubiconproject.com/a/api/fastlane.json?account_id=16728&site_id=156224&zone_id=1408756&size_id=2&alt_size_ids=55%2C57%2C125&p_pos=unknown&rf=https%3A%2F%2Fwww.giga.de%2F&tk_flint=pbjs_lite_v2.24.0&x_source.tid=e9b8c5bc-f160-4b62-9b54-0132afc96809&p_screen_res=1600x1200&rp_floor=0.01&rp_secure=1&slots=1&rand=0.18567607623207527
- 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,
RSA, AES_128_GCM
- Server
-
69.173.144.143
Frankfurt am Main, Germany,
ASN26667
(RUBICONPROJECT, US),
- Reverse DNS
- Software
-
RAS 2.4 /
- Resource Hash
- 343fb59ac3e6125c44b60dc35ebf7b18825610248f557680a3022a89573bd12f
|
POST
|
|
v1
prg.smartadserver.com/prebid/
|
0
0
|
|
|
|
|
|
POST
|
|
v1
prg.smartadserver.com/prebid/
|
0
0
|
|
|
|
|
|
POST
|
|
v1
prg.smartadserver.com/prebid/
|
0
0
|
|
|
|
|
|
POST
|
|
cdb
bidder.criteo.com/
|
0
0
|
|
|
|
|
|
GET
|
|
cygnus
as-sec.casalemedia.com/
|
0
0
|
|
|
|
|
|
OPTIONS
|
|
v1
dmx.districtm.io/b/
|
0
0
|
|
|
|
|
|
GET
|
|
arj
yieldlove-d.openx.net/w/1.0/
|
0
0
|
|
|
|
|
|
GET
H2
|
200
|
ADTECH;v=2;cmd=bid;cors=yes;alias=giga.de_d_300x250_1;misc=1581912749741;
Show response
adserver.adtech.de/pubapi/3.0/4538.1/6658212/0/0/
|
48 B
81 B
|
51ms
51ms
|
XHR
application/json |
152.199.21.32
EDGECAST
|
|
General
- Full URL
- https://adserver.adtech.de/pubapi/3.0/4538.1/6658212/0/0/ADTECH;v=2;cmd=bid;cors=yes;alias=giga.de_d_300x250_1;misc=1581912749741;
- Requested by
- Host: cdn-a.yieldlove.com
URL: https://cdn-a.yieldlove.com/yieldlove-bidder-stroeer.js?giga.de
- Protocol
- H2
- Security
- TLS 1.3,
, AES_256_GCM
- Server
-
152.199.21.32
, United States,
ASN15133
(EDGECAST, US),
- Reverse DNS
- Software
-
nginx /
- Resource Hash
- a23c4e4bfbc6eefaf97a4d7f5d6a534e7bc22923cb26950aa06765305274243a
|
GET
H2
|
200
|
ADTECH;v=2;cmd=bid;cors=yes;alias=giga.de_d_300x600_2;misc=1581912749741;
Show response
adserver.adtech.de/pubapi/3.0/4538.1/6670994/0/0/
|
48 B
199 B
|
50ms
50ms
|
XHR
application/json |
152.199.21.32
EDGECAST
|
|
General
- Full URL
- https://adserver.adtech.de/pubapi/3.0/4538.1/6670994/0/0/ADTECH;v=2;cmd=bid;cors=yes;alias=giga.de_d_300x600_2;misc=1581912749741;
- Requested by
- Host: cdn-a.yieldlove.com
URL: https://cdn-a.yieldlove.com/yieldlove-bidder-stroeer.js?giga.de
- Protocol
- H2
- Security
- TLS 1.3,
, AES_256_GCM
- Server
-
152.199.21.32
, United States,
ASN15133
(EDGECAST, US),
- Reverse DNS
- Software
-
nginx /
- Resource Hash
- a8404772e8ddeedb7ea490e95f9ba0dd7705aa5aa11e416a9eb11999f1ffabbb
|
POST
H2
|
204
|
bid
Show response
prod-ingestion.tracking.v2.yieldlove-ad-serving.net/v2/
|
0
57 B
|
294ms
20ms
|
XHR
text/plain |
35.156.162.45
AMAZON-02
|
|
|
GET
H2
|
200
|
ads
Show response
securepubads.g.doubleclick.net/gampad/
|
9 KB
4 KB
|
221ms
221ms
|
XHR
text/plain |
172.217.22.2
GOOGLE
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=2934386896366598&correlator=2460821308888282&output=ldjh&impl=fif&adsid=NT&eid=21065540%2C21062832%2C21065304%2C21065305&vrg=2020013001&guci=1.2.0.0.2.2.0.0&sc=1&sfv=1-0-37&ecs=20200217&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%26amznbid%3D2%26amzniid%3D%26amznp%3D2%26amznsz%3D0x0%26yieldlove_reload%3Dpid%253A20918.reload%253Afalse%26yieldlove_meta_reload%3Dpid%253A20918.reload%253Afalse%26yieldlove_reloads%3D0%26yieldlove_reload_count%3D0%26yieldlove_reloaded%3Dnever%26yieldlove_is_reloaded%3Dnever%26yieldlove_ab%3Ddefault%26yieldlove_meta_ab%3Dpid%253A20918.scenario%253Adefault%26yieldlove_meta%3Dpid%253A20918.sb%253Af%26yieldlove_pid%3D20918%26yieldlove_hb_sucbid%3Dfalse%26hb_unit%3Dbanner%26af%3Df2x1%2Cf3x1%2Cf4x1%2Cf8x1%2Cwp%2Cfirepl%2Cbb%2Cfullb%2Cleadb%2Cdleadb%2Cvidwa%2Cbrabo%2Cfufrad%2Cfloor%2Cvto&eri=1&cust_params=tagm%3Dmt%26browserapp%3Dfirefox%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%3D19%26smb-hour%3D5%26mtrcskv%3D50-1_75%252C50-1_100%252C60-1_100%252C65-1_75%252C70-1_75%252C70-2_100%252C80-1_75%252C80-2_100%252C100-1_75%252C100-2_100%26yt%3D0%26adset%3Dbrsl%26keywords%3D%26mbrid%3D2ba216d3b5db0656ad467a27b213907e%26mbrseg%3D855125d3%252Cb3838f1f%252C78315b65%26amznbid%3D0%26amznp%3D0&cookie_enabled=1&bc=31&abxe=1&lmt=1581912749&dt=1581912749750&dlt=1581912749096&idt=358&frm=20&biw=1585&bih=1200&oid=3&adx=-12245933&ady=-12245933&adk=2474492366&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=61&icsg=211372533776384&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=1000x0&msz=20x10&ga_vid=711353851.1581912749&ga_sid=1581912750&ga_hid=220990535&fws=128&ohw=0
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2020013001.js?21065540
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.2
, United States,
ASN15169
(GOOGLE, US),
- Reverse DNS
- fra16s14-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- 021509952525f2213f49267714229ad30730834f4c1b3c7fabd13dc0c3a9a412
- 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
|
364ms
364ms
|
XHR
text/plain |
172.217.22.2
GOOGLE
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=2934386896366598&correlator=2460821308888282&output=ldjh&impl=fif&adsid=NT&eid=21065540%2C21062832%2C21065304%2C21065305&vrg=2020013001&guci=1.2.0.0.2.2.0.0&sc=1&sfv=1-0-37&ecs=20200217&iu=4444%2Fgiga.de_sd%2Fhome_startseite&sz=10x40%7C10x30%7C10x20%7C500x600%7C120x600%7C160x600%7C200x600%7C300x600%7C770x200%7C33x31&scp=as%3Dsky%26adslot%3Dsky%26af%3Dfirepl%2Cwp%2Cvidwa%2Cf1x4%2Cf1x3%2Cf1x2%2Cds%2Cdds%2Csky%2Chpad%2Cband%26rfree%3D200-299%26pc%3D1%26amznbid%3D2%26amzniid%3D%26amznp%3D2%26amznsz%3D0x0%26yieldlove_reload%3Dpid%253A19051.reload%253Afalse%26yieldlove_meta_reload%3Dpid%253A19051.reload%253Afalse%26yieldlove_reloads%3D0%26yieldlove_reload_count%3D0%26yieldlove_reloaded%3Dnever%26yieldlove_is_reloaded%3Dnever%26yieldlove_ab%3Ddefault%26yieldlove_meta_ab%3Dpid%253A19051.scenario%253Adefault%26yieldlove_meta%3Dpid%253A19051.sb%253Af%26yieldlove_pid%3D19051%26yieldlove_hb_sucbid%3Dfalse%26hb_unit%3Dsky&eri=1&cust_params=tagm%3Dmt%26browserapp%3Dfirefox%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%3D19%26smb-hour%3D5%26mtrcskv%3D50-1_75%252C50-1_100%252C60-1_100%252C65-1_75%252C70-1_75%252C70-2_100%252C80-1_75%252C80-2_100%252C100-1_75%252C100-2_100%26yt%3D0%26adset%3Dbrsl%26keywords%3D%26mbrid%3D2ba216d3b5db0656ad467a27b213907e%26mbrseg%3D855125d3%252Cb3838f1f%252C78315b65%26amznbid%3D0%26amznp%3D0&cookie_enabled=1&bc=31&abxe=1&lmt=1581912749&dt=1581912749754&dlt=1581912749096&idt=358&frm=20&biw=1585&bih=1200&oid=3&adx=-12245933&ady=-12245933&adk=3176545799&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=61&icsg=211372533776384&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=0x0&msz=10x40&ga_vid=711353851.1581912749&ga_sid=1581912750&ga_hid=220990535&fws=128&ohw=0
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2020013001.js?21065540
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.2
, United States,
ASN15169
(GOOGLE, US),
- Reverse DNS
- fra16s14-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- 615473e531fdd4964d911e399a403e390d063cfa5c48d027d791eff85ef91bb0
- 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
|
528ms
527ms
|
XHR
text/plain |
172.217.22.2
GOOGLE
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&pvsid=2934386896366598&correlator=2460821308888282&output=ldjh&impl=fif&adsid=NT&eid=21065540%2C21062832%2C21065304%2C21065305&vrg=2020013001&guci=1.2.0.0.2.2.0.0&sc=1&sfv=1-0-37&ecs=20200217&iu=4444%2Fgiga.de_sd%2Fhome_startseite&sz=10x20%7C10x10%7C300x250%7C34x31&scp=as%3Drectangle%26adslot%3Drectangle%26pc%3D1%26amznbid%3D2%26amzniid%3D%26amznp%3D2%26amznsz%3D0x0%26yieldlove_reload%3Dpid%253A9501.reload%253Afalse%26yieldlove_meta_reload%3Dpid%253A9501.reload%253Afalse%26yieldlove_reloads%3D0%26yieldlove_reload_count%3D0%26yieldlove_reloaded%3Dnever%26yieldlove_is_reloaded%3Dnever%26yieldlove_ab%3Ddefault%26yieldlove_meta_ab%3Dpid%253A9501.scenario%253Adefault%26yieldlove_meta%3Dpid%253A9501.sb%253Af%26yieldlove_pid%3D9501%26yieldlove_hb_sucbid%3Dfalse%26hb_unit%3Drectangle%26af%3Df1x2%2Cf1x1%2Cmrec&eri=1&cust_params=tagm%3Dmt%26browserapp%3Dfirefox%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%3D19%26smb-hour%3D5%26mtrcskv%3D50-1_75%252C50-1_100%252C60-1_100%252C65-1_75%252C70-1_75%252C70-2_100%252C80-1_75%252C80-2_100%252C100-1_75%252C100-2_100%26yt%3D0%26adset%3Dbrsl%26keywords%3D%26mbrid%3D2ba216d3b5db0656ad467a27b213907e%26mbrseg%3D855125d3%252Cb3838f1f%252C78315b65%26amznbid%3D0%26amznp%3D0&cookie_enabled=1&bc=31&abxe=1&lmt=1581912749&dt=1581912749758&dlt=1581912749096&idt=358&frm=20&biw=1585&bih=1200&oid=3&adx=-12245933&ady=-12245933&adk=3278712392&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=61&icsg=211372533776384&std=0&vis=1&dmc=8&scr_x=0&scr_y=0&psz=300x0&msz=10x20&ga_vid=711353851.1581912749&ga_sid=1581912750&ga_hid=220990535&fws=128&ohw=0
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_2020013001.js?21065540
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
172.217.22.2
, United States,
ASN15169
(GOOGLE, US),
- Reverse DNS
- fra16s14-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- 521ad9a2384704b2e3c722f943da469882c5f6b530adfb3304953446d2f51d86
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
POST
H2
|
204
|
auction
Show response
prod-ingestion.tracking.v2.yieldlove-ad-serving.net/v2/
|
0
57 B
|
275ms
21ms
|
XHR
text/plain |
35.156.162.45
AMAZON-02
|
|
|
GET
H2
|
200
|
osd.js
Show response
www.googletagservices.com/activeview/js/current/
|
74 KB
27 KB
|
13ms
13ms
|
Script
text/javascript |
2a00:1450:4001:81f::2002
GOOGLE
|
|
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_2020013001.js?21065540
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:81f::2002
Frankfurt am Main, Germany,
ASN15169
(GOOGLE, US),
- Reverse DNS
- Software
-
sffe /
- Resource Hash
- 98338d687e5f0016e85ba80b4de3c9c887e4dd4eb9ea5ac225ef1de42d149eb3
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
204
|
gen_204
pagead2.googlesyndication.com/pagead/
|
0
60 B
|
14ms
13ms
|
Image
image/gif |
2a00:1450:4001:81e::2002
GOOGLE
|
|
|
GET
H2
|
200
|
defaultImage.gif
cdn.stroeerdigitalmedia.de/Ads/
Frame 6C9D
Redirect Chain
-
https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjss3zrYDLCtRs77kaSUSWtcjJ2gG8q1wn5_dmaJvt__UzMUNXmi4Lum0KMp_t2MPdOb5gsGPma3fe_9u_QIPexqds4HRNiHO_eqTUkZ_59y1cRJ8JmaxzR_0_gRjdmBxwFEdEHSUyoWDT...
-
https://cdn.stroeerdigitalmedia.de/Ads/defaultImage.gif
|
49 B
344 B
|
7ms
6ms
|
Image
image/gif |
2a02:26f0:6c00:18a::5f76
AKAMAI-ASN1
|
|
|
GET
H/1.1
|
200
OK
|
config.js
Show response
confiant-integrations.global.ssl.fastly.net/2DPge-WVhZFIVEVo0laRH9eF5JI/gpt_and_prebid/
|
31 KB
8 KB
|
64ms
20ms
|
Script
text/javascript |
151.101.113.194
FASTLY
|
|
|
GET
H2
|
200
|
8098278f-05bd-4959-8694-448317d320a7
Show response
t.nativendo.de/cds/tracking/event/
|
0
178 B
|
29ms
29ms
|
Script
text/javascript |
107.178.241.34
GOOGLE
|
|
|
GET
H2
|
200
|
8098278f-05bd-4959-8694-448317d320a7
Show response
t.nativendo.de/cds/tracking/event/
|
0
178 B
|
28ms
28ms
|
Script
text/javascript |
107.178.241.34
GOOGLE
|
|
|
GET
H/1.1
|
200
OK
|
wrap.js
Show response
confiant-integrations.global.ssl.fastly.net/prebid/202001101133/
|
33 KB
12 KB
|
21ms
21ms
|
Script
application/javascript |
151.101.113.194
FASTLY
|
|
General
- Full URL
- https://confiant-integrations.global.ssl.fastly.net/prebid/202001101133/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.113.194
Frankfurt am Main, Germany,
ASN54113
(FASTLY, US),
- Reverse DNS
- Software
-
AmazonS3 /
- Resource Hash
- cf1091e08a0a0c7b7e407014d53bda0223573859d06351c958a1174479a77752
|
GET
H2
|
200
|
8098278f-05bd-4959-8694-448317d320a7
Show response
t.nativendo.de/cds/tracking/event/
|
0
178 B
|
30ms
30ms
|
Script
text/javascript |
107.178.241.34
GOOGLE
|
|
|
GET
H2
|
200
|
osd_listener.js
Show response
www.googletagservices.com/activeview/js/current/
Frame 6666
|
72 KB
27 KB
|
14ms
13ms
|
Script
text/javascript |
2a00:1450:4001:81f::2002
GOOGLE
|
|
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_2020013001.js?21065540
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:81f::2002
Frankfurt am Main, Germany,
ASN15169
(GOOGLE, US),
- Reverse DNS
- Software
-
sffe /
- Resource Hash
- 2bbe4d4e1a168926c878be73ce8e09b71e70f3823575de43e0623a4e2dfb609d
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
view
securepubads.g.doubleclick.net/pcs/
Frame 6666
|
0
62 B
|
30ms
29ms
|
Image
image/gif |
172.217.22.2
GOOGLE
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjsvRiF46eU2UMVc0-xexs--TDX3nVO-SFUOkvRFOW8g57lSMh5vuIhqs_rysnhmNtkl6-BO4Y7UF3y2wrQSRl1AYI7J0sZY_2v-LcaPBV9xFXNGFaPyViWHbyss8fE5UOR2w6nHpWyvtdVy-l5hy7HRox6BS-r3t9LBgs_Z6YOAuCPYpmaUM5O-XJ_DzbwnWNFbsKsA8CahUESCqyBYYA8lbhG3dQM9SeuysbX5NJ6Zfw4bMe6ZDqyQDxOETKGzA6pZ3gkvIsqZdwP9lPEyM&sig=Cg0ArKJSzFEao3bRtCpmEAE&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.2
, United States,
ASN15169
(GOOGLE, US),
- Reverse DNS
- fra16s14-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- 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
|
90ms
22ms
|
XHR
application/json |
52.57.208.4
AMAZON-02
|
|
|
POST
H2
|
204
|
win
Show response
prod-ingestion.tracking.v2.yieldlove-ad-serving.net/v2/
|
0
57 B
|
21ms
20ms
|
XHR
text/plain |
35.156.162.45
AMAZON-02
|
|
|
GET
H2
|
200
|
osd_listener.js
Show response
www.googletagservices.com/activeview/js/current/
Frame B656
|
72 KB
27 KB
|
14ms
14ms
|
Script
text/javascript |
2a00:1450:4001:81f::2002
GOOGLE
|
|
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_2020013001.js?21065540
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:81f::2002
Frankfurt am Main, Germany,
ASN15169
(GOOGLE, US),
- Reverse DNS
- Software
-
sffe /
- Resource Hash
- 2bbe4d4e1a168926c878be73ce8e09b71e70f3823575de43e0623a4e2dfb609d
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
view
securepubads.g.doubleclick.net/pcs/
Frame B656
|
0
62 B
|
30ms
29ms
|
Image
image/gif |
172.217.22.2
GOOGLE
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjssKmjW9ox4KFw0T4twBYL4nrAOh_oSr5iMvHX2z0ZCIuQf0zm33p_VqFcPRmlcP2PXGud9MdEGRAbOsN2JDNDkNbaL_aU18Pb9C8L-u6O3mzq2Rt-74_KHfqb7tcgEKto8JUeMwVLtflQdeMfSnMhUTu0KXs0gFiMhaFtkR6oSmZUW_7eY1Ub5gExOgUZumpKMpPRa-_q-A-fHN4jC1IKFdP5mRO0LMrmY4oGGcyd5X6bQi3NWF5p2rZFM6xIplfSNOYh3eviGWRCbx1CjH&sig=Cg0ArKJSzGHt4yEMzYOlEAE&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.2
, United States,
ASN15169
(GOOGLE, US),
- Reverse DNS
- fra16s14-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- 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
|
21ms
21ms
|
XHR
application/json |
52.57.208.4
AMAZON-02
|
|
|
POST
H2
|
204
|
win
Show response
prod-ingestion.tracking.v2.yieldlove-ad-serving.net/v2/
|
0
57 B
|
20ms
20ms
|
XHR
text/plain |
35.156.162.45
AMAZON-02
|
|
|
GET
H2
|
200
|
collect
www.google-analytics.com/
|
35 B
101 B
|
6ms
6ms
|
Image
image/gif |
2a00:1450:4001:80b::200e
GOOGLE
|
|
General
- Full URL
- https://www.google-analytics.com/collect?v=1&_v=j81&aip=1&a=220990535&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.6%5D%5BUser%20Click2Play%5D&_u=6GBAAEAB~&jid=&gjid=&cid=711353851.1581912749&tid=UA-204785-4&_gid=70477273.1581912749&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=&cd9=201908&cd11=415710348&cd12=SELF&cd13=493&cd14=false&cd19=User%20Click2Play&cd38=videojs%2F7.6.6&cd44=0&cm1=1&z=1206631450
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:80b::200e
Frankfurt am Main, Germany,
ASN15169
(GOOGLE, US),
- Reverse DNS
- Software
-
Golfe2 /
- Resource Hash
- 8337212354871836e6763a41e615916c89bac5b3f1f0adf60ba43c7c806e1015
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
|
GET
H2
|
204
|
gen_204
pagead2.googlesyndication.com/pagead/
|
0
58 B
|
14ms
13ms
|
Image
image/gif |
2a00:1450:4001:81e::2002
GOOGLE
|
|
General
- Full URL
- https://pagead2.googlesyndication.com/pagead/gen_204?id=gpt_sz&pvsid=2934386896366598&r=10x20%7C10x10%7C300x250%7C34x31&w=300&h=250
- Requested by
- Host: www.giga.de
URL: https://www.giga.de/
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:81e::2002
Frankfurt am Main, Germany,
ASN15169
(GOOGLE, US),
- Reverse DNS
- Software
-
cafe /
- Resource Hash
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- 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 DB11
|
72 KB
27 KB
|
14ms
14ms
|
Script
text/javascript |
2a00:1450:4001:81f::2002
GOOGLE
|
|
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_2020013001.js?21065540
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:81f::2002
Frankfurt am Main, Germany,
ASN15169
(GOOGLE, US),
- Reverse DNS
- Software
-
sffe /
- Resource Hash
- 2bbe4d4e1a168926c878be73ce8e09b71e70f3823575de43e0623a4e2dfb609d
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
view
securepubads.g.doubleclick.net/pcs/
Frame DB11
|
0
62 B
|
30ms
29ms
|
Image
image/gif |
172.217.22.2
GOOGLE
|
|
General
- Full URL
- https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjsubm6WXi5pCE4Zj07152Qcd2BTsSA9N5zPJq9IulOM4eYnLZYAclp7nneTmrCiqQxzx81PGpRdyrU2UtajgkzMkzZtFB3Jab6lE7RvjWSzJHAMjD5Ijm9yKy5nd4aGyZY1WvYpbo7bEJZd1vN8L6YCkTBgNLcyeqtPzTv5Yyy9aFpPkMitVuq81HBr1Va34DcDkF6F-iP1nkzFohAy1HKHiIeJ4SmKI5ZrqaiD4eJLUBpZ-w0fOb7lL99vO3gW0K3d1cydWDE61obQ_gSzj&sig=Cg0ArKJSzLPmS9lGLXqYEAE&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.2
, United States,
ASN15169
(GOOGLE, US),
- Reverse DNS
- fra16s14-in-f2.1e100.net
- Software
-
cafe /
- Resource Hash
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- 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
|
20ms
20ms
|
XHR
application/json |
52.57.208.4
AMAZON-02
|
|
|
POST
H2
|
204
|
win
Show response
prod-ingestion.tracking.v2.yieldlove-ad-serving.net/v2/
|
0
57 B
|
20ms
20ms
|
XHR
text/plain |
35.156.162.45
AMAZON-02
|
|
|
GET
H/1.1
|
200
OK
|
submit
lb100.s400.meetrics.net/bb-mx/
|
43 B
291 B
|
352ms
28ms
|
Image
image/gif |
136.243.2.136
HETZNER-AS
|
|
General
- Full URL
- https://lb100.s400.meetrics.net/bb-mx/submit?/LVOrBRAAAzwhFo0F0wFz6BvvA33F3uBnpFnhFukElvBfpyF+k2FoywAx5AtxAxtAy1AtxAx6Aw4At2A35A2wAwtAyuAxxA1uAytAkzB0zAlkFimFL2wFBLl1FC/2xFZCylFx1FlzF0mF1sFszFjyFllFugBm1FssFzjFylFluFluFhiFslFkgB3pFukFv3Ff3FliFrpF0yFlxF1lFz0FhuFptFh0FpvFumFyhFtlFg3EpuFkvF3fF3lFirFp0FjhFujFlsFhuFptFh0FpvFumFyhFtlFg3EpuFkvF3fF3lFirFp0Fz0FvyFhnFlpFumFvgBjzFzfF3lFirFp0FgjEw1FfxB2gAyhFtfF4BEOprFw6lCOqwFw6lClqwF23A52AwwALkmFBTkzFsFAAAAAAAZwSW1BPAAAAAAAAAOAAAAGAAAAAAAZwSW1BBRksFAQtjFrx9tSA
- 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.2.136
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- h220.meetrics.de
- Software
-
nginx /
- Resource Hash
- 548f2d6f4d0d820c6c5ffbeffcbd7f0e73193e2932eefe542accc84762deec87
|
GET
H/1.1
|
200
OK
|
data
lb100.s400.meetrics.net/
|
43 B
308 B
|
375ms
23ms
|
Image
image/gif |
136.243.2.136
HETZNER-AS
|
|
|
GET
H2
|
200
|
nuggad
ih.adscale.de/
|
49 B
282 B
|
114ms
20ms
|
Image
image/gif |
3.124.132.187
AMAZON-02
|
|
|
GET
H/1.1
|
200
OK
|
container
Show response
tracking.m6r.eu/pixel/
|
3 KB
2 KB
|
41ms
41ms
|
Script
text/javascript |
104.111.215.171
AKAMAI-AS
|
|
General
- Full URL
- https://tracking.m6r.eu/pixel/container?pixelId=eaa843f7-840a-4a36-8fdd-3b79df0d4fa0&n127=0&n121=1&n116=0&n104=1&n15=3&n155=0&n106=1&n153=0&n11=1&n120=2&n154=1&n125=1&n8=2&n2=3&n137=0&n101=1&n108=1&n54=0&n110=1&n87=0&n149=1&n76=1&n66=1&n60=1&n139=1&n160=0&n107=0&n21=1&n117=4&n86=0&n147=4&n64=0&n119=1&n22=1&n18=1&n161=1&n126=0&n92=2&n57=1&n77=0&n83=0&n102=1&n105=0&n159=0&n20=1&n80=0&n12=0&n141=0&n157=0&n99=1&n128=1&n118=3&n85=0&n9=3&n6=2&n63=0&n138=0&n140=0&n94=2&n111=0&n136=0&n79=0&n93=4&n90=1&n55=1&n142=0&n7=1&n103=0&n158=0&n124=0&n75=0&n91=1&n114=1&n69=0&n47=1&n10=2&n3=2&n82=1&n84=1&n5=3&n48=1&n109=0&n122=1&n67=1&n115=1&n89=1&n123=1&n17=1&n78=0&n44=1&n81=1&n88=1&n39=1&n156=1&n148=0
- Requested by
- Host: tracking.m6r.eu
URL: https://tracking.m6r.eu/sync/api?checkcookies=true
- Protocol
- HTTP/1.1
- Security
- TLS 1.3,
, AES_256_GCM
- Server
-
104.111.215.171
, Netherlands,
ASN16625
(AKAMAI-AS, US),
- Reverse DNS
- a104-111-215-171.deploy.static.akamaitechnologies.com
- Software
-
nginx /
- Resource Hash
- 6b98fce0eb532919d1253967cf09517ca857f295c4190062c719c411af6d8a97
|
GET
H/1.1
|
200
OK
|
api
Show response
cdn.m6r.eu/sync/
|
1 KB
1 KB
|
19ms
19ms
|
Script
application/javascript |
2.18.234.72
AKAMAI-AS
|
|
|
GET
H2
|
200
|
ForumViewTopicContentAD.Cj3s-YOGFGen4.png
www.giga.de/special/gutscheine/
|
71 B
273 B
|
40ms
40ms
|
Image
image/png |
178.19.72.10
HGCOMP-ASN
|
|
|
GET
H/1.1
|
200
OK
|
pixel
tracking.m6r.eu/consent/
|
44 B
209 B
|
58ms
58ms
|
Image
image/gif |
104.111.215.171
AKAMAI-AS
|
|
|
GET
H2
|
200
|
publishertag.prebid.js
Show response
static.criteo.net/js/ld/
|
49 KB
16 KB
|
19ms
18ms
|
Script
text/javascript |
2a02:2638::3
ASN-CRITEO-EUROPE
|
|
|
GET
H2
|
200
|
/
Show response
track.adform.net/Serving/Cookie/
|
73 B
494 B
|
27ms
27ms
|
Script
text/javascript |
37.157.5.142
ADFORM
|
|
General
- Full URL
- https://track.adform.net/Serving/Cookie/?adfaction=getjs;adfcookname=uid
- Requested by
- Host: js.stroeermediabrands.de
URL: https://js.stroeermediabrands.de/metaTag.min.e78e84f1fc22d8fe11e60ceb8e9e0880.js
- Protocol
- H2
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
37.157.5.142
, Denmark,
ASN198622
(ADFORM, DK),
- Reverse DNS
- Software
-
nginx /
- Resource Hash
- 5d9e8cfd13ab9f3cb184ee716c93c4c007837b001ab17f762269a64b2d8958cc
- Security Headers
-
Name |
Value |
Strict-Transport-Security |
max-age=31536000; includeSubDomains |
|
GET
H/1.1
|
200
OK
|
config.json
Show response
gocp.stroeermediabrands.de/absconf/www.giga.de/
|
21 KB
22 KB
|
148ms
74ms
|
Fetch
application/json |
188.40.16.106
HETZNER-AS
|
|
|
GET
H2
|
200
|
sodar
Show response
pagead2.googlesyndication.com/getconfig/
|
6 KB
5 KB
|
28ms
16ms
|
XHR
application/json |
2a00:1450:4001:81e::2002
GOOGLE
|
|
General
- Full URL
- https://pagead2.googlesyndication.com/getconfig/sodar?sv=200&tid=gpt&tv=2020013001&st=env
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2020013001.js?21065540
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:81e::2002
Frankfurt am Main, Germany,
ASN15169
(GOOGLE, US),
- Reverse DNS
- Software
-
cafe /
- Resource Hash
- 96b1d1548fe57c3a7dca28190b937e18966f7682642b967ea4281f3bd700f73f
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
syncframe
gum.criteo.com/
Frame E770
|
0
0
|
42ms
14ms
|
Document
text/html |
2a02:2638:1::13
ASN-CRITEO-EUROPE
|
|
General
- Full URL
- https://gum.criteo.com/syncframe?topUrl=www.giga.de
- Requested by
- Host: static.criteo.net
URL: https://static.criteo.net/js/ld/publishertag.prebid.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a02:2638:1::13
, France,
ASN44788
(ASN-CRITEO-EUROPE, FR),
- Reverse DNS
- Software
-
Microsoft-IIS/10.0 /
ASP.NET
- Resource Hash
- Security Headers
-
Name |
Value |
Strict-Transport-Security |
max-age=31536000 |
|
GET
H2
|
200
|
120hz-rcm625x352.jpg
static.giga.de/wp-content/uploads/2020/01/
|
48 KB
49 KB
|
42ms
41ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
120hz-rcm275x155.jpg
static.giga.de/wp-content/uploads/2020/01/
|
14 KB
14 KB
|
42ms
42ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
battleroyale-thumb-rcm275x155.jpg
static.giga.de/wp-content/uploads/2020/01/
|
16 KB
17 KB
|
55ms
55ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
|
GET
H2
|
200
|
tr
www.facebook.com/
|
44 B
253 B
|
6ms
6ms
|
Image
image/gif |
2a03:2880:f12d:83:face:b00c:0:25de
FACEBOOK
|
|
|
GET
H/1.1
|
200
OK
|
t.png
gocp.stroeermediabrands.de/
|
98 B
355 B
|
26ms
26ms
|
Image
image/png |
188.40.16.106
HETZNER-AS
|
|
|
GET
H/1.1
|
200
OK
|
map.js
Show response
js.adscale.de/
|
21 KB
6 KB
|
312ms
20ms
|
Script
text/javascript |
2.18.234.72
AKAMAI-AS
|
|
|
GET
H2
|
200
|
adex.js
Show response
dmp.theadex.com/d/285/5184/s/
|
39 KB
14 KB
|
1329ms
16ms
|
Script
application/javascript |
89.163.159.103
MYLOC-AS
|
|
|
GET
H/1.1
|
200
OK
|
ibb_map.js
Show response
bbcdn-bbnaut.ibillboard.com/library/
|
1 KB
1 KB
|
1462ms
44ms
|
Script
application/javascript |
62.168.44.119
GTSCE GTS Central...
|
|
|
GET
H2
|
200
|
default.js
Show response
ups.xplosion.de/loader/69511/
|
2 KB
2 KB
|
1110ms
30ms
|
Script
text/javascript |
34.252.231.90
AMAZON-02
|
|
|
GET
H2
|
200
|
learn
de-gmtdmp.mookie1.com/t/v2/
|
43 B
580 B
|
1571ms
28ms
|
Image
image/gif |
35.186.238.175
GOOGLE
|
|
|
GET
H2
|
200
|
sodar2.js
Show response
tpc.googlesyndication.com/sodar/
|
21 KB
8 KB
|
14ms
14ms
|
Script
text/javascript |
2a00:1450:4001:81e::2001
GOOGLE
|
|
General
- Full URL
- https://tpc.googlesyndication.com/sodar/sodar2.js
- Requested by
- Host: securepubads.g.doubleclick.net
URL: https://securepubads.g.doubleclick.net/gpt/pubads_impl_rendering_2020013001.js?21065540
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:81e::2001
Frankfurt am Main, Germany,
ASN15169
(GOOGLE, US),
- Reverse DNS
- Software
-
sffe /
- Resource Hash
- 9d6757384f86ea93a46cf05a185da797dd19a39053a0cc6e64759598f2bc05c0
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
200
|
runner.html
tpc.googlesyndication.com/sodar/sodar2/206/
Frame 0833
|
0
0
|
6ms
6ms
|
Document
text/html |
2a00:1450:4001:81e::2001
GOOGLE
|
|
General
- Full URL
- https://tpc.googlesyndication.com/sodar/sodar2/206/runner.html
- Requested by
- Host: tpc.googlesyndication.com
URL: https://tpc.googlesyndication.com/sodar/sodar2.js
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:81e::2001
Frankfurt am Main, Germany,
ASN15169
(GOOGLE, US),
- Reverse DNS
- Software
-
sffe /
- Resource Hash
- Security Headers
-
Name |
Value |
X-Content-Type-Options |
nosniff |
X-Xss-Protection |
0 |
|
GET
H2
|
204
|
gen_204
pagead2.googlesyndication.com/pagead/
|
0
58 B
|
14ms
13ms
|
Image
image/gif |
2a00:1450:4001:81e::2002
GOOGLE
|
|
General
- Full URL
- https://pagead2.googlesyndication.com/pagead/gen_204?id=sodar2&v=206&t=2&li=gpt_2020013001&jk=2934386896366598&bg=!UFOlU0tYtUk8wTC6dqMCAAAAM1IAAAAHmQFAjl6q9UoxSHION3TufWIq0edXbhcOV4IfwYMU0mYKSYNKd0uXSoiyX_qlNHFU79sLVqYig6xRo2mCCWsCCmNpqGgvre3jOVZLfpUAoC4lWLGGfFJz1nH977Ct3-0rGiVdLjcuaasiAdEwiUKZE6WZsCjs-4oKVbPpDpqyw86U_3HCS4RtEr3dNh1doJykkZ6g1AP2jqmDBTIoY8T4W_bJ5rR0O7zv2-r7UDGGFBudFHu9ykWrU_KfCVWI_JvjBjSadMlFiyvJc33k6v1HuoKYbll1WlasI7Sx_remgD8rfP5mF4NbqXtCL5OYeXEa1-1sl-Vtny14B6xs3a40cga6QiKs-B5X3Fi_bDMZdo7BajnGJj5f1o_edhBX8vKYvRmKi_mzGEWMvK-OVz8Zcz_9vFweAtnZP99iPs0EFoHsizw
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
2a00:1450:4001:81e::2002
Frankfurt am Main, Germany,
ASN15169
(GOOGLE, US),
- Reverse DNS
- Software
-
cafe /
- Resource Hash
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- 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
|
22ms
21ms
|
XHR
application/json |
52.57.208.4
AMAZON-02
|
|
|
GET
H2
|
200
|
launcher.js
Show response
sak.userreport.com/sdm/
|
64 KB
20 KB
|
132ms
31ms
|
Script
application/javascript |
13.225.78.6
AMAZON-02
|
|
|
GET
H2
|
200
|
map
ih.adscale.de/
Frame 8435
|
0
0
|
21ms
20ms
|
Document
text/html |
3.124.132.187
AMAZON-02
|
|
|
GET
BLOB
|
200
OK
|
fd2644b4-b70a-46f7-9a2d-2c0060f64400
https://videos.giga.de/
Frame A003
|
31 B
0
|
|
Other
application/javascript |
|
|
|
GET
H2
|
200
|
800e09cb4371013cf06be8ebc1_ciA5NTADOTE4ZWMzMGM2OGM=.jpg
files.giga-video.de/96/b1/b4/
Frame A003
|
65 KB
65 KB
|
106ms
39ms
|
Image
image/jpeg |
178.19.70.100
HGCOMP-ASN
|
|
General
- Full URL
- https://files.giga-video.de/96/b1/b4/800e09cb4371013cf06be8ebc1_ciA5NTADOTE4ZWMzMGM2OGM=.jpg
- Requested by
- Host: videos.giga.de
URL: https://videos.giga.de/dist/js/embed/bundle/videojs-c972511a.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
- a9cc3aa5da89c156ec96838148a04d96c95e9345ba63cad4022b71a435f34348
- 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 A003
|
53 B
703 B
|
103ms
30ms
|
XHR
application/json |
52.219.72.243
AMAZON-02
|
|
|
GET
H2
|
200
|
giga-ssl.json
Show response
videos.giga.de/homad/
Frame A003
|
265 B
436 B
|
32ms
32ms
|
XHR
application/json |
109.71.25.30
HGCOMP-ASN
|
|
|
GET
H/1.1
|
200
OK
|
config.json
Show response
hgc-cf-cache-1.svonm.com/www.giga.de/
Frame A003
|
754 B
1 KB
|
132ms
20ms
|
XHR
application/json |
143.204.94.91
AMAZON-02
|
|
|
GET
H/1.1
|
200
OK
|
hd-main.js
Show response
hgc-cf-cache-1.svonm.com/
Frame A003
|
200 KB
58 KB
|
21ms
21ms
|
XHR
application/javascript |
143.204.94.91
AMAZON-02
|
|
|
GET
DATA
|
200
OK
|
truncated
Show response
/
Frame A003
|
200 KB
0
|
|
Script
text/javascript |
|
|
|
GET
H2
|
200
|
4863977886
Show response
api.yieldlove-ad-serving.net/v1/bl/4444/
|
2 B
206 B
|
21ms
20ms
|
XHR
application/json |
52.57.208.4
AMAZON-02
|
|
|
GET
H2
|
200
|
segments
Show response
api.theadex.com/v0.9/pub/
|
56 B
126 B
|
53ms
16ms
|
Script
text/plain |
89.163.159.119
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
-
89.163.159.119
Cloppenburg, 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:e000:1c:8c89:a300:93a1
AMAZON-02
|
|
|
GET
H2
|
200
|
data
Show response
ups.xplosion.de/
|
4 KB
3 KB
|
31ms
31ms
|
Script
text/javascript |
34.252.231.90
AMAZON-02
|
|
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(X11%3B%20Ubuntu%3B%20Linux%20x86_64%3B%20rv%3A50.0)%20Gecko%2F20100101%20Firefox%2F50.0&userLang=en-US&color=24&os=Linux%20x86_64&timezone=-1&screen=1200x1600&mbr=2ba216d3b5db0656ad467a27b213907e&event_id=page_view&_sid=69511&_ver=0.2.18&_seg=jsonp&_=654952343639
- 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
-
34.252.231.90
Dublin, Ireland,
ASN16509
(AMAZON-02, US),
- Reverse DNS
- ec2-34-252-231-90.eu-west-1.compute.amazonaws.com
- Software
-
/
- Resource Hash
- 77b62b3c25e5c9d7247821fe1b68a1eb686ae38980c01c0f7ca9aac94f68366d
|
GET
H/1.1
|
200
OK
|
adrtxtag.min.js
Show response
cdn.adrtx.net/
|
840 B
849 B
|
119ms
30ms
|
Script
application/javascript |
18.200.89.230
AMAZON-02
|
|
|
GET
H2
|
200
|
usersync
uss.xplosion.de/
Frame D7AA
Redirect Chain
-
https://xpl.theadex.com/d/327/i/2.gif?axd_pid=22&axd_fuid=BSa3BSb-BDR0BDB8WiUkWsfABifABSfABSfABifABifABfrr&cb=https%3A%2F%2Fuss.xplosion.de%2Fusersync%3Fsid%3D65966%26fpid%3D%7B%7BUUID%7D%7D
-
https://uss.xplosion.de/usersync?sid=65966&fpid=4218314854120219072
|
42 B
660 B
|
31ms
30ms
|
Image
image/gif |
34.252.231.90
AMAZON-02
|
|
|
GET
H/1.1
|
200
OK
|
activation
adstax-match.adrtx.net/
Frame F790
|
0
0
|
127ms
33ms
|
Document
text/html |
176.34.153.100
AMAZON-02
|
|
|
GET
H2
|
200
|
usersync
uss.xplosion.de/
|
42 B
660 B
|
32ms
32ms
|
Image
image/gif |
34.252.231.90
AMAZON-02
|
|
|
GET
H2
|
200
|
4863977886
Show response
api.yieldlove-ad-serving.net/v1/bl/4444/
|
2 B
206 B
|
20ms
20ms
|
XHR
application/json |
52.57.208.4
AMAZON-02
|
|
|
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 A003
|
53 B
703 B
|
32ms
32ms
|
XHR
application/json |
52.219.72.243
AMAZON-02
|
|
General
- Full URL
- https://s3.eu-central-1.amazonaws.com/homad-global-configs-eu-fra.schneevonmorgen.com/global_config.json?cache=2675100648
- Requested by
- Host: text
URL: data:text/javascript;base64,dmFyIGFlbmdhU2VlYWhHaGllemk9YWVuZ2FTZWVhaEdoaWV6aXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBiYSgpe3cubmZ8fCh3Lm5mPTApO3cubmYrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXcudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZ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TP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
52.219.72.243
Frankfurt am Main, Germany,
ASN16509
(AMAZON-02, 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 A003
|
265 B
436 B
|
32ms
32ms
|
XHR
application/json |
109.71.25.30
HGCOMP-ASN
|
|
General
- Full URL
- https://videos.giga.de/homad/giga-ssl.json?cache=2432977897
- Requested by
- Host: text
URL: data:text/javascript;base64,dmFyIGFlbmdhU2VlYWhHaGllemk9YWVuZ2FTZWVhaEdoaWV6aXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBiYSgpe3cubmZ8fCh3Lm5mPTApO3cubmYrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXcudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2U9dy52aWRlb3BrZ0ludGVyZmFjZSk7MTA+dy5uZiYmd2luZG93LnNldFRpbWVvdXQoYmEsNTAwKX1mdW5jdGlvbiBBKCl7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoImtleWRvd24iLEEpO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZW1vdmUiLEEpO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZWRvd24iLEEpO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJjbGljayIsQSk7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoInRvdWNoc3RhcnQiLEEpO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJ0b3VjaGVuZCIsQSk7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoInRvdWNobW92ZSIsQSk7Y2E9ITA7Zm9yKHZhciBjPT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pb24oYSl7dGhpcy5NZC0tO2EmJnRoaXMuc2YucHVzaChhKTswPj10aGlzLk1kJiZ0aGlzLlRoKCl9LFltOmZ1bmN0aW9uKGEpe2Zvcih2YXIgYz0iIixkPTA7ZDx0aGlzLnNmLmxlbmd0aDtkKyspYz10aGlzLnNmW2RdLGE9YS5yZXBsYWNlKGMubWFjcm8sYy5wbGFjZWhvbGRlcik7cmV0dXJuIGF9fX0pKGMpO3ZhciBmYT1jLkxpfHxmYSxRPSExLG1hPSExO2M9Y3x8e307KGZ1bmN0aW9uKGMpe2Z1bmN0aW9uIGEoKXt9Yy5hbD1hO2EucHJvdG90eXBlPXt9fSkoYyk7dmFyIHRjPWMuYWx8fHRjO25ldyB0YygxLG5ldyBEYXRlLDIsTWF0aC5yYW5kb20oKSwKInRydWUiLG5hdmlnYXRvciwibC1rZXkiLCExLE1hdGguYWJzKC0xKSwidGYiLCJaKFRURFpUUlIiKX0pLmNhbGwoYWVuZ2FTZWVhaEdoaWV6aSxhZW5nYVNlZWFoR2hpZXppKTsK
- 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 A003
|
754 B
1 KB
|
20ms
20ms
|
XHR
application/json |
143.204.94.91
AMAZON-02
|
|
General
- Full URL
- https://hgc-cf-cache-1.svonm.com/www.giga.de/config.json?cache=5910834100
- Requested by
- Host: text
URL: data:text/javascript;base64,dmFyIGFlbmdhU2VlYWhHaGllemk9YWVuZ2FTZWVhaEdoaWV6aXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBiYSgpe3cubmZ8fCh3Lm5mPTApO3cubmYrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2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YWVuZ2FTZWVhaEdoaWV6aSxhZW5nYVNlZWFoR2hpZXppKTsK
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
143.204.94.91
Seattle, United States,
ASN16509
(AMAZON-02, US),
- Reverse DNS
- server-143-204-94-91.fra50.r.cloudfront.net
- Software
-
AmazonS3 /
- Resource Hash
- b82931be1bcd802496f9e5a0cecc716b764b332d41dc3f91bb273c9c2a87addb
|
POST
H/1.1
|
200
OK
|
/
Show response
ssl.2.damoh.giga.de/c65afd68e936e33a6a8dd9d9996ae99f62434871/
Frame A003
|
807 B
2 KB
|
166ms
79ms
|
XHR
application/json |
46.4.80.60
HETZNER-AS
|
|
General
- Full URL
- https://ssl.2.damoh.giga.de/c65afd68e936e33a6a8dd9d9996ae99f62434871/
- Requested by
- Host: text
URL: data:text/javascript;base64,dmFyIGFlbmdhU2VlYWhHaGllemk9YWVuZ2FTZWVhaEdoaWV6aXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBiYSgpe3cubmZ8fCh3Lm5mPTApO3cubmYrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXcudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2U9dy52aWRlb3BrZ0ludGVyZmFjZSk7MTA+dy5uZiYmd2luZG93LnNldFRpbWVvdXQoYmEsNTAwKX1mdW5jdGlvbiBBKCl7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoImtleWRvd24iLEEpO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZW1vdmUiLEEpO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJtb3VzZWRvd24iLEEpO3dpbmRvdy5yZW1vdmVFdmVudExpc3RlbmVyKCJjbGljayIsQSk7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoInRvdWNoc3RhcnQiLEEpO3dpbmRvdy5yZW1vdmVFdmV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tmb3IoYT0wO2E8dGhpcy5MZC5sZW5ndGg7YSsrKXRoaXMuTGRbYV1bImZ1bmN0aW9uIl0odGhpcy55bi5iaW5kKHRoaXMpKX0seW46ZnVuY3Rpb24oYSl7dGhpcy5NZC0tO2EmJnRoaXMuc2YucHVzaChhKTswPj10aGlzLk1kJiZ0aGlzLlRoKCl9LFltOmZ1bmN0aW9uKGEpe2Zvcih2YXIgYz0iIixkPTA7ZDx0aGlzLnNmLmxlbmd0aDtkKyspYz10aGlzLnNmW2RdLGE9YS5yZXBsYWNlKGMubWFjcm8sYy5wbGFjZWhvbGRlcik7cmV0dXJuIGF9fX0pKGMpO3ZhciBmYT1jLkxpfHxmYSxRPSExLG1hPSExO2M9Y3x8e307KGZ1bmN0aW9uKGMpe2Z1bmN0aW9uIGEoKXt9Yy5hbD1hO2EucHJvdG90eXBlPXt9fSkoYyk7dmFyIHRjPWMuYWx8fHRjO25ldyB0YygxLG5ldyBEYXRlLDIsTWF0aC5yYW5kb20oKSwKInRydWUiLG5hdmlnYXRvciwibC1rZXkiLCExLE1hdGguYWJzKC0xKSwidGYiLCJaKFRURFpUUlIiKX0pLmNhbGwoYWVuZ2FTZWVhaEdoaWV6aSxhZW5nYVNlZWFoR2hpZXppKTsK
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
46.4.80.60
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- static.60.80.4.46.clients.your-server.de
- Software
-
AmazonS3 /
- Resource Hash
- c894038ee188c223e93dd1d92a606be67b9590fb3e4a6a0dc484bf3ae961c6ed
|
GET
H/1.1
|
200
OK
|
hic_qos
Show response
ssl.1.damoh.giga.de/
Frame A003
|
24 B
409 B
|
125ms
23ms
|
XHR
application/octet-stream |
144.76.115.247
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,dmF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mFyIHRjPWMuYWx8fHRjO25ldyB0YygxLG5ldyBEYXRlLDIsTWF0aC5yYW5kb20oKSwKInRydWUiLG5hdmlnYXRvciwibC1rZXkiLCExLE1hdGguYWJzKC0xKSwidGYiLCJaKFRURFpUUlIiKX0pLmNhbGwoYWVuZ2FTZWVhaEdoaWV6aSxhZW5nYVNlZWFoR2hpZXppKTsK
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
144.76.115.247
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- static.247.115.76.144.clients.your-server.de
- Software
-
openresty/1.15.8.2 /
- Resource Hash
- ae8f9dd465ab424d0dd4f81f7ba9ec5029f6736e090c3f33b5f0fa0c0ecc47dc
|
GET
DATA
|
200
OK
|
truncated
Show response
/
Frame C351
|
241 B
0
|
|
Script
text/javascript |
|
|
|
POST
H/1.1
|
200
OK
|
/
Show response
ssl.2.damoh.giga.de/8dbd6d2d3a8d3a980b6801a278e8f2fa33e8661b/
Frame A003
|
108 B
670 B
|
91ms
26ms
|
XHR
application/json |
46.4.80.60
HETZNER-AS
|
|
General
- Full URL
- https://ssl.2.damoh.giga.de/8dbd6d2d3a8d3a980b6801a278e8f2fa33e8661b/
- Requested by
- Host: text
URL: data:text/javascript;base64,dmFyIGFlbmdhU2VlYWhHaGllemk9YWVuZ2FTZWVhaEdoaWV6aXx8e307CihmdW5jdGlvbihjKXtmdW5jdGlvbiBiYSgpe3cubmZ8fCh3Lm5mPTApO3cubmYrKzt3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2UhPXcudmlkZW9wa2dJbnRlcmZhY2UmJih3aW5kb3cudmlkZW9wa2dJbnRlcmZhY2U9dy52aWRlb3BrZ0ludGVyZmFjZSk7MTA+dy5uZiYmd2luZG93LnNldFRpbWVvdXQoYmEsNTAwKX1mdW5jdGlvbiBBKCl7d2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIoImtleWRvd24iLEEpO3dpbmRvdy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ZSl9KX0pLmNhbGwodGhpcyxhW2NdLnVybCxhW2NdLnBsYWNlaG9sZGVyLGFbY10uYWxpYXMsCmFbY10ubWFjcm8pfXRoaXMuTWQ9dGhpcy5MZC5sZW5ndGh9LHBtOmZ1bmN0aW9uKCl7dmFyIGE9ITE7MDx0aGlzLk1kJiYoYT0hMCk7cmV0dXJuIGF9LFNuOmZ1bmN0aW9uKGEpe3RoaXMuVGg9YTtmb3IoYT0wO2E8dGhpcy5MZC5sZW5ndGg7YSsrKXRoaXMuTGRbYV1bImZ1bmN0aW9uIl0odGhpcy55bi5iaW5kKHRoaXMpKX0seW46ZnVuY3Rpb24oYSl7dGhpcy5NZC0tO2EmJnRoaXMuc2YucHVzaChhKTswPj10aGlzLk1kJiZ0aGlzLlRoKCl9LFltOmZ1bmN0aW9uKGEpe2Zvcih2YXIgYz0iIixkPTA7ZDx0aGlzLnNmLmxlbmd0aDtkKyspYz10aGlzLnNmW2RdLGE9YS5yZXBsYWNlKGMubWFjcm8sYy5wbGFjZWhvbGRlcik7cmV0dXJuIGF9fX0pKGMpO3ZhciBmYT1jLkxpfHxmYSxRPSExLG1hPSExO2M9Y3x8e307KGZ1bmN0aW9uKGMpe2Z1bmN0aW9uIGEoKXt9Yy5hbD1hO2EucHJvdG90eXBlPXt9fSkoYyk7dmFyIHRjPWMuYWx8fHRjO25ldyB0YygxLG5ldyBEYXRlLDIsTWF0aC5yYW5kb20oKSwKInRydWUiLG5hdmlnYXRvciwibC1rZXkiLCExLE1hdGguYWJzKC0xKSwidGYiLCJaKFRURFpUUlIiKX0pLmNhbGwoYWVuZ2FTZWVhaEdoaWV6aSxhZW5nYVNlZWFoR2hpZXppKTsK
- Protocol
- HTTP/1.1
- Security
- TLS 1.2,
ECDHE_RSA, AES_128_GCM
- Server
-
46.4.80.60
, Germany,
ASN24940
(HETZNER-AS, DE),
- Reverse DNS
- static.60.80.4.46.clients.your-server.de
- Software
-
TornadoServer/5.0 /
- Resource Hash
- cb7e66221bf747b3a565b2e72bb9ccbf6cb0df25ed9a1fa3726d21ac100fa961
|
GET
H/1.1
|
200
OK
|
usync.html
eus.rubiconproject.com/
Frame 4131
|
0
0
|
97ms
31ms
|
Document
text/html |
23.37.55.184
AKAMAI-AS
|
|
|
GET
H2
|
200
|
index.html
cdn.districtm.io/ids/
Frame C9C2
|
0
0
|
1138ms
105ms
|
Document
text/html |
104.16.68.69
CLOUDFLARENET
|
|
General
- Full URL
- https://cdn.districtm.io/ids/index.html
- Requested by
- Host: cdn-a.yieldlove.com
URL: https://cdn-a.yieldlove.com/yieldlove-bidder-stroeer.js?giga.de
- Protocol
- H2
- Security
- TLS 1.3,
, AES_128_GCM
- Server
-
104.16.68.69
, United States,
ASN13335
(CLOUDFLARENET, US),
- Reverse DNS
- Software
-
cloudflare /
- Resource Hash
- Security Headers
-
Name |
Value |
Strict-Transport-Security |
max-age=31536000; includeSubDomains; preload |
|
GET
H2
|
200
|
pd
u.openx.net/w/1.0/
Frame 03C8
Redirect Chain
-
https://u.openx.net/w/1.0/pd
-
https://u.openx.net/w/1.0/pd?cc=1
|
0
0
|
34ms
33ms
|
Document
text/html |
34.95.120.147
GOOGLE
|
|
|
GET
H/1.1
|
200
OK
|
showad.js
ads.pubmatic.com/AdServer/js/
Frame 29D5
|
0
0
|
24ms
24ms
|
Document
text/html |
2.18.233.180
AKAMAI-AS
|
|
|
GET
H/1.1
|
200
OK
|
async_usersync.html
acdn.adnxs.com/ib/static/usersync/v3/
Frame 24C0
|
0
0
|
816ms
21ms
|
Document
text/html |
2.18.232.130
AKAMAI-AS
|
|
|
GET
H/1.1
|
200
OK
|
data
lb100.s400.meetrics.net/
|
43 B
308 B
|
24ms
23ms
|
Image
image/gif |
136.243.2.136
HETZNER-AS
|
|
|
GET
H/1.0
|
200
OK
|
o.gif
go.giga-abs.de/
|
35 B
355 B
|
27ms
26ms
|
Image
image/gif |
178.19.72.20
HGCOMP-ASN
|
|
|