Skip to content

Commit

Permalink
Update README and synopsis
Browse files Browse the repository at this point in the history
  • Loading branch information
nwellnhof committed Mar 21, 2016
1 parent e022d92 commit 0bab943
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions README.pod
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ I<dzil>:
dzil test
dzil build

=head2 SSL support

This distribution requires LWP with SSL support. For LWP version 6.00 or
newer, you should install LWP::Protocol::https. For older versions,
Crypt::SSLeay or IO::Socket::SSL is required.

=head2 Copyright

This software is copyright (C) by Nick Wellnhofer.
Expand Down
8 changes: 4 additions & 4 deletions lib/Net/Google/Analytics.pm
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@ the legacy v2 API.
use Net::Google::Analytics;
use Net::Google::Analytics::OAuth2;
# Insert your numeric Analytics profile ID here. You can find it under
# profile settings. DO NOT use your account or property ID (UA-nnnnnn).
my $profile_id = "1234567";
# Insert your numeric Analytics view ID here. You can find it under
# view settings. DO NOT use your account or property ID (UA-nnnnnn).
my $view_id = "1234567";
# See GETTING STARTED for how to get a client id, client secret, and
# refresh token
Expand All @@ -212,7 +212,7 @@ the legacy v2 API.
# Build request
my $req = $analytics->new_request(
ids => "ga:$profile_id",
ids => "ga:$view_id",
dimensions => "ga:medium,ga:source",
metrics => "ga:bounces,ga:visits",
filters => "ga:medium==referral",
Expand Down

0 comments on commit 0bab943

Please sign in to comment.