Skip to content

Instantly share code, notes, and snippets.

@dangrossman
Created January 16, 2011 02:15
Show Gist options
  • Save dangrossman/781476 to your computer and use it in GitHub Desktop.
Save dangrossman/781476 to your computer and use it in GitHub Desktop.
verbose php arrays
$dashboard = array(
5 => array(
'title' => 'Dashboard',
'description' => 'A high-level overview of your website\'s usage — traffic levels, most popular content and top sources leading new traffic to your site.'
),
6 => array(
'title' => 'Summary',
'description' => 'A historical summary of traffic to your site on a daily, weekly or monthly basis. View the unique visits, return visits and page view counts for your site over any date range.'
),
29 => array(
'title' => 'FeedBurner Stats',
'description' => 'Track readership of your RSS feeds with FeedBurner, and view your latest circulation, reach and feed item hits in W3Counter as well'
)
);
$live = array(
7 => array(
'title' => 'Recent Visitors',
'description' => 'A real-time spy for your website — see the recent visitors to your site, their IP address and computer information, and follow their path through your site.'
),
8 => array(
'title' => 'Recent Referrers',
'description' => 'See what sites are sending you traffic today with a list of the most recent referring URLs.'
),
9 => array(
'title' => 'Recent Searches',
'description' => 'Recent searches shows exactly what keywords people are searching for when they find your site.'
),
10 => array(
'title' => 'Twitter Mentions',
'description' => 'Find out who\'s talking about you on Twitter. We automatically monitor Twitter for mentions of your website URL in tweets around the world.'
)
);
$visitors = array(
11 => array(
'title' => 'Locations Map',
'description' => 'Discover where your website visitors are located with this top countries report and Google Maps of recent visitors\' locations.'
),
12 => array(
'title' => 'Time Zones',
'description' => 'Make better decisions about when to publish new content and discover when your site is more active with this map showing the time zone distribution of your traffic.'
),
13 => array(
'title' => 'Languages',
'description' => ''
),
14 => array(
'title' => 'Web Browsers',
'description' => ''
),
15 => array(
'title' => 'Operating Systems',
'description' => ''
),
16 => array(
'title' => 'Screen Resolutions',
'description' => ''
),
17 => array(
'title' => 'Color Depths',
'description' => ''
),
18 => array(
'title' => 'JavaScript Support',
'description' => ''
)
);
$content = array(
19 => array(
'title' => 'Top Pages',
'description' => ''
),
20 => array(
'title' => 'Entrance Pages',
'description' => ''
),
21 => array(
'title' => 'Exit Pages',
'description' => ''
)
);
$navigation = array(
22 => array(
'title' => 'Click Overlay',
'description' => ''
),
23 => array(
'title' => 'Click List',
'description' => ''
),
24 => array(
'title' => 'Visit Length',
'description' => ''
),
25 => array(
'title' => 'Visit Depth',
'description' => ''
)
);
$sources = array(
26 => array(
'title' => 'Top Referrers',
'description' => ''
),
27 => array(
'title' => 'Top Search Engines',
'description' => ''
),
28 => array(
'title' => 'Top Searches',
'descriptoin' => ''
)
);
$features = array(
'Dashboard: Your High Level Overview' => $dashboard,
'Live View: The Latest Activity On Your Website' => $live,
'Visitors: Get to Know Your Audience' => $visitors,
'Content: What Engages Your Visitors' => $content,
'Navigation: See How Visitors Move Through Your Site' => $navigation,
'Sources: How Visitors Find Your Site' => $sources
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment