The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

WWW::Tracking::Data::Plugin::Headers - create WWW::Tracking::Data object from http headers

SYNOPSIS

        my $wt = WWW::Tracking->new->from(
                'headers' => {
                        'headers'     => $req->headers,
                        'request_uri' => $req->uri,
                        'remote_ip'   => $req->address,
                        'visitor_cookie_name' => '__vcid',
                },
        );      

DESCRIPTION

Parses http headers and generate WWW::Tracking::Data object from it.