Hi All
i had installed this module
and while i am running code
#!/usr/bin/perl -w
use strict;
use WWW::Analytics::MultiTouch;
my $username = 'sandeep@autoworldindia.com';
my $password = '*******';
my $analytics_id = '******';
#Simple, all-in-one approach
# WWW::Analytics::MultiTouch->process(user => "$username",
# pass => "$password",
# id => "$analytics_id",
# start_date => '2010-01-01',
# end_date => '2010-02-01');
# Or step by step
my $mt = WWW::Analytics::MultiTouch->new(user => $username,
pass => $password,
id => $analytics_id);
$mt->get_data(start_date => '2012-01-01',
end_date => '2012-05-20');
$mt->summarise(window_length => 45);
$mt->report(filename => 'report-45day.xls');
$mt->summarise(window_length => 30);
$mt->report(filename => 'report-30day.xls');
it is flashing this error msg
Can't locate object method "data_feed" via package "Net::Google::Analytics" at /usr/lib/perl5/site_perl/5.8.8/WWW/Analytics/MultiTouch.pm line 95.
I am also confused about "analytics_id" , plz make me sure for which id it is asking
eg. profile id OR UA-25658907-1
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.