Piwik Web Analytics Essentials

Piwik Web Analytics Essentials
eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $71.98    Print cover: $44.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Track customers on your websites and apps and improve conversion rates right away
  • Customize your tracking for every application and situation
  • Embed Piwik’s tracking capabilities in other applications

Book Details

Language : English
Paperback : 326 pages [ 235mm x 191mm ]
Release Date : October 2012
ISBN : 1849518483
ISBN 13 : 9781849518482
Author(s) : Stephan A. Miller
Topics and Technologies : All Books, Big Data and Business Intelligence, Open Source, Web Development

Table of Contents

Chapter 1: Installation and Setup
Chapter 2: Using Piwik's Interface and Reports
Chapter 3: Tracking Visitors with Piwik
Chapter 4: Setting Up and Tracking Goals
Chapter 5: Tracking Marketing Campaigns
Chapter 6: Tracking Events
Chapter 7: E-commerce Tracking
Chapter 8: Piwik Website and User Administration
Chapter 9: Advanced Tracking and Development
Chapter 10: Piwik Integration
Appendix A: Tracking API Reference
Appendix B: Analytics API Reference
  • Chapter 1: Installation and Setup
    • Meeting system requirements
    • Downloading Piwik
    • Downloading Piwik with SSH
    • Uploading to a web hosting account
      • Uploading using cPanel or other file managers
      • Uploading using FTP
    • Creating a database for your installation
      • Creating a user and database for Piwik in cPanel
      • Creating a user and database for Piwik with phpMyAdmin
      • Creating a user and database for Piwik with SSH
    • Using the Piwik installation wizard
    • Securing Piwik
    • Backing up Piwik
    • Updating Piwik
    • Using Piwik for high traffic websites
      • Dedicated server
      • Adding RAM
      • PHP caching
      • Nginx or lighttpd
      • Cron your archiving
      • Disabling real-time reports
      • Deleting old logs
      • Load balancers and multiple servers
      • Limiting tracked URLs
    • Summary
    • Chapter 2: Using Piwik's Interface and Reports
      • Navigating the Piwik interface
        • Using Piwik's Menus
          • The Sign In menu
          • The top bar
          • The main menu
      • Customizing the dashboard
        • Changing the dashboard layout
        • Setting a date range
        • Adding widgets to the dashboard
        • Moving and removing widgets
      • Finding the right report widget for the job
        • Visitors
        • Actions
        • Referrers
        • SEO
        • Visitor settings
        • Goals
        • Visits Summary
        • Live!
      • Reading a Piwik report
      • Customizing graph metrics
      • Managing e-mail reports
      • Summary
      • Chapter 3: Tracking Visitors with Piwik
        • Using the Piwik JavaScript tracking code
        • Functioning of default JavaScript
        • Triggering page views manually
        • Customizing page names
        • Customizing tracking URLs
        • Configuring Piwik's tracking cookies
        • Setting up download and outlink tracking
          • Disabling link tracking
          • Triggering link tracking
          • Downloading file extensions
          • The download/outlink pause timer
        • Using other Piwik JavaScript API methods
          • setRequestMethod(method)
          • discardHashTag(bool)
          • setCountPreRendered(bool)
          • setDoNotTrack(bool)
          • killFrame()
          • redirectFile(url)
          • setHeartBeatTimer(minumumVisitLength,heartBeatDelay)
          • getVisitorId()
          • getVisitorInfo()
        • Using multiple trackers
        • Using asynchronous tracking
        • Summary
        • Chapter 4: Setting Up and Tracking Goals
          • Defining goals
            • Desired actions
            • Conversions and conversion rate
          • Setting up goals in Piwik
          • Setting up revenue tracking
          • Triggering conversions manually
          • Viewing Goals overview reports
          • Using goal detail reports
          • Analysing reports
          • Summary
          • Chapter 5: Tracking Marketing Campaigns
            • Tracking campaigns using URL parameters
            • Tracking paid searches
              • Using Google ValueTrack
              • Using Microsoft Ad Center dynamic text
              • Using Yahoo! Search Marketing's URL tagging
            • Creating campaign URLs the easy way
            • Tracking social media campaigns
            • Campaign tagging and tracking tips
            • Attributing visits to the correct campaign
            • Customizing campaign parameters
            • Viewing campaign reports
            • Summary
            • Chapter 6: Tracking Events
              • Tracking events with Piwik
              • Tracking social engagement
                • Tracking content sharing
                • Tracking blog comments
              • Tracking e-commerce events
              • Tracking Flash events
                • Tracking events with ActionScript 2
                • Tracking events with ActionScript 3
              • Tracking page load time
              • Reading custom variable reports
              • Other uses for custom variables
              • Summary
              • Chapter 7: E-commerce Tracking
                • Enabling e-commerce tracking for your website
                • Tracking orders and products purchased
                • Tracking shopping carts and items in them
                • Tracking product and category page views
                • Adding Piwik e-commerce tracking to ZenCart
                  • Creating functions in PHP to mirror Piwik's functions
                  • Mixing PHP and JavaScript
                • Reading and using Piwik's e-commerce reports
                • A note about SSL
                • Summary
                • Chapter 8: Piwik Website and User Administration
                  • Changing your Super User settings
                  • Creating users in Piwik
                  • Managing website access
                    • Who is a Super User?
                    • What are admin permissions?
                    • What are view permissions?
                  • Managing websites
                    • Adding a website
                    • Editing or deleting a website
                    • Editing the global website settings
                    • Tracking multiple domains or subdomains with one website account
                    • Setting up an intranet as a website in Piwik
                  • Turning Piwik into a white label analytics solution
                  • Allowing user sign up with the Piwik Signup plugin
                    • Installing a Piwik plugin
                    • How the user Signup plugin works
                  • Summary
                  • Chapter 9: Advanced Tracking and Development
                    • Tracking visitors with image tracking
                      • Simple image tracking
                        • Image tracking limitations
                      • Advanced image tracking
                        • Adding page titles to eBay auction tracking
                        • Tracking a goal with an image
                    • Tracking visitors with the PHP tracking API
                      • Generating the image tracker
                      • Making an HTTP request to the tracker
                    • Tracking visitors with other programming languages
                      • Java
                      • Python
                      • Silverlight
                      • Flash
                      • Using Piwik's tracking API directly
                    • Debugging your tracking code
                    • Piwik plugins
                      • How Piwik works
                      • The anatomy of a plugin
                      • Writing a simple Piwik plugin
                    • Summary
                    • Chapter 10: Piwik Integration
                      • CMS plugins
                      • Piwik Mobile
                      • Embedding Piwik widgets
                        • Give your anonymous user rights
                        • Choosing your widget
                          • The Dashboard widget
                          • The All Websites widget
                          • Choose your own widget
                      • Accessing Piwik's data
                        • How to call the analytics API
                          • Calling the analytics API using REST
                          • Calling the analytics API locally
                        • Including graphs
                        • Using the Live! API
                        • Segmentation
                      • Creating a change log for your website with analytics feedback
                      • Summary
                      • Appendix A: Tracking API Reference
                        • The Piwik tracking API
                          • Variables
                          • Methods
                            • Constructor __construct
                            • addEcommerceItem
                            • disableCookieSupport
                            • doTrackAction
                            • doTrackEcommerceCartUpdate
                            • doTrackEcommerceOrder
                            • doTrackGoal
                            • doTrackPageView
                            • enableBulkTracking
                            • doBulkTrack
                            • getAttributionInfo
                            • getBaseUrl
                            • getCustomVariable
                            • getRequestTimeout
                            • getTimestamp
                            • getUrlTrackAction
                            • getUrlTrackGoal
                            • getUrlTrackPageView
                            • getVisitorId
                            • setAttributionInfo
                            • setBrowserHasCookies
                            • setBrowserLanguage
                            • setCustomVariable
                            • setDebugStringAppend
                            • setEcommerceView
                            • setForceVisitDateTime
                            • setIp
                            • setLocalTime
                            • setPlugins
                            • setRequestTimeout
                            • setResolution
                            • setTokenAuth
                            • setUrl
                            • setUrlReferrer
                            • setUserAgent
                            • setVisitorId
                        • Appendix B: Analytics API Reference
                          • The Piwik analytics API
                            • Module API
                            • Module Actions
                            • Module CustomVariables
                            • Module ExampleAPI
                            • Module Goals
                            • Module ImageGraph
                            • Module LanguagesManager
                            • Module Live!
                            • Module MultiSites
                            • Module PDFReports
                            • Module Provider
                            • Module Referers
                            • Module SEO
                            • Module SitesManager
                            • Module UserCountry
                            • Module UserSettings
                            • Module UsersManager
                            • Module VisitFrequency
                            • Module VisitTime
                            • Module VisitorInterest
                            • Module VisitsSummary

                          Stephan A. Miller

                          Stephan A. Miller is a web and app developer, SEO expert, and blogger who lives in Kansas City, Missouri. He was head developer at All About Doors and Windows in Kansas City for six years and was a freelance developer and SEO expert for eight years. In his career, he has worked with Wordpress, Drupal, Magento, osCommerce, ZenCart, and many other online applications, as well as developing sites from scratch in PHP and MySQL or using the Lithium PHP framework. But this is not all. Because his business was at times a one man show, he knows Linux, Apache, and Nginx well and has developed desktop applications in Python where PHP just won't work. He also knows search engine optimization techniques, web analytics software, and search engine marketing which he uses to promote his own handful of sites. He blogs semi-regularly at http://www.stephanmiller.com about his work.
                          Sorry, we don't have any reviews for this title yet.

                          Code Downloads

                          Download the code and support files for this book.

                          Submit Errata

                          Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                          Sample chapters

                          You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                          Frequently bought together

                          Piwik Web Analytics Essentials +    Implementing VMware Horizon View 5.2 =
                          50% Off
                          the second eBook
                          Price for both: £24.65

                          Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                          What you will learn from this book

                          • Install Piwik on a web server
                          • Add Piwik tracking to websites
                          • Customize Piwik JavaScript tracking code
                          • Track goals and marketing campaigns
                          • Track events using Piwik
                          • Track ecommerce sales, lost sales, and conversion rates
                          • Integrate Piwik with your application
                          • Customize Piwik to provide your own web analytics service to clients or customers

                          In Detail

                          Without web analytics, you are blind on the internet. In order to improve conversions and revenue on your web- site, you need to know what is going on. Piwik gives you this data and unlike Google Analytics, gives you total control over its usage. Unlike Google analytics where the data can be read by Google, Piwik maintains complete confidentiality of your website data. By harnessing the power of your tracked data, you can raise the conversion rates on your website to new heights.

                          "Piwik Web Analytics Essentials" will show you how to install Piwik Open Source Analytics and have you tracking your website’s visitors within an hour after you pick up the book! After that, you will learn how to track custom events and programmatically trigger tracking events. The book continues with ecommerce tracking and advanced Piwik API usage.

                          This book will take you from installing Piwik on your web server to writing custom tracking code for your apps.

                          You will learn goal and event tracking techniques and how to add them to your standard tracking to fine tune your analytics results. Nothing is untrackable using Piwik: ecommerce shopping carts, web apps, phone apps, and more can make use of Piwik tracking capabilities.

                          "Piwik Web Analytics Essentials" will walk you through every step with detailed screenshots and plenty of example code.


                          Packed with code and the necessary screenshots, this is a step-by-step comprehensive tutorial which will help you learn about Piwik quickly and easily.

                          Who this book is for

                          This book is for everyone ranging from a reader who is new to web analytics to a seasoned coding expert wanting to switch to Piwik from another analytics tool. If you are a newbie, you will learn to install Piwik, install tracking, and customize the JavaScript for their custom needs, as well as why they need to track their visitors. If you are an advanced reader, you will learn to mix JavaScript with PHP, Flash, and other languages in order to write plugins for custom software.

                          Code Download and Errata
                          Packt Anytime, Anywhere
                          Register Books
                          Print Upgrades
                          eBook Downloads
                          Video Support
                          Contact Us
                          Awards Voting Nominations Previous Winners
                          Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                          Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software