Anyone successfully installed wp piwik?

11 replies
  • SEO
  • |
Hello Warriors,
I've just installed wp piwik as against google analytics as I need to compare analytics results with others.

Since installing it through the plugin provided, it's asking for a site id and a code...has anyone gotten around this? Please share your guide.

Thanks
Tim
#installed #piwik #successfully
  • Profile picture of the author pacesetter007
    can anyone please provide some help with this?
    {{ DiscussionBoard.errors[3819599].message }}
  • Profile picture of the author Tom Lazenby
    I second this...I tried installing last night and just ended up confused. Any Piwik users out there?
    Signature

    YES IT IS STILL POSSIBLE
    !
    Not Only That, It's Perfectly Legal & Whitehat!
    CLICK HERE
    FOR DETAILS
    {{ DiscussionBoard.errors[3820276].message }}
  • Profile picture of the author pacesetter007
    anyone still willingly to share?
    {{ DiscussionBoard.errors[3840404].message }}
  • Profile picture of the author east_coast_alex
    Originally Posted by pacesetter007 View Post

    Hello Warriors,
    I've just installed wp piwik as against google analytics as I need to compare analytics results with others.

    Since installing it through the plugin provided, it's asking for a site id and a code...has anyone gotten around this? Please share your guide.

    Thanks
    Tim
    Tim,

    I don't know a thing about WP Piwik, but I just installed PIWIK for one of my WordPress sites a couple of days ago. Took me about an hour. Could do it in 10-15 minutes now, so it's not that hard. It has a nice interface with some cool features like real-time traffic updates and SEO stats for the site.

    The installation steps follow.

    PIWIK HostGator Installation for HostGator

    NOTE: For full detail, see the installation instructions at: Installing Piwik - Piwik.

    1. Download PIWIK from: Piwik - Web analytics - Open source and unzip it to your hard drive.

    2. Copy the PIWIK folder from your hard drive to the domain folder. (NOTE: Your PIWIK folder must go in the domain folder for the site you are tracking because of Hostgator security restrictions. There is another option for getting around the HostGator issues, but that involves contacting them and getting them to change the settings on your account. Just refer to the installation instructions the details.)

    3. Type in www.your-domain-name.com/piwik/. This will bring up the PIWIK installation screen. This screen will guide you through the installation process.

    4. Database Setup
    This was the most involved screen for the PIWIK setup.

    4.1 First use the HostGator CPanel to create the database and user. Use a STRONG password. (I first tried having PIWIK create the database, but that did not work.)

    4.2 Fill out the Database Setup screen in PIWIK. This is the 2nd screen of the installation process. Fill out as follows:

    (1) Database server: leave as-is

    (2) Login: Input the database username you created preceded by the prefix for the site, e.g. accountname_username.

    (3) Password: Use the password you made for the database.

    (4) Database name: Use the database name preceded by the prefix for the site, e.g. accountname_mypiwikdatabase.

    (5) Table prefix: piwik_

    (6) Adapter: PDO_MYSQL


    5. Super User Setup
    This part is easy and self explanatory. Just make sure you use a strong password.


    6. JavaScript Tracking Code
    This is the tracking code you put on your WordPress blog, just as you would Google Analytics code or that for any other analytics software.

    For HostGator you have to revise the JavaScript code per the instructions at:
    Troubleshooting - Piwik
    (Look under: How do I configure Piwik when mod_security is enabled?)

    These instructions essentially tell you to add the following line of code:
    piwikTracker.setRequestMethod('POST');

    BEFORE this line of code:
    piwikTracker.trackPageView();

    So you just have to copy and paste the JavaScript code to Notepad, copy and paste the line of code as described above, and then copy and paste the revised tracking code into your blog.

    When you are done, you'll be able to log into your PIWIK admin console and check out your stats.

    Hope that helps.

    Alex
    {{ DiscussionBoard.errors[3931591].message }}
    • Originally Posted by east_coast_alex View Post

      Tim,

      These instructions essentially tell you to add the following line of code:
      piwikTracker.setRequestMethod('POST');

      BEFORE this line of code:
      piwikTracker.trackPageView();

      Hope that helps.

      Alex
      Hey Alex,

      Thanks so much for the tip. I set up a database, installed Piwik, pasted the tracking code into the footer.php and… nothing. No data in the Piwik dashboard at all.

      That’s how I found this thread, and I thank you all for your input.

      I tried a number of things. Some have said they got their Piwik “Last visits graph”, and other data, to show up by wrapping the tracking code in {literal} {/literal} tags. Others got it working by using the Piwik Analytics WP Plugin. Another guy said one needs to go to the Piwik tmp folder and change the permissions to 777 on the tmp folder and the, templates_c, and cache folders located inside the tmp folder.

      I tried all of the above, and more, but none of this worked for me. I had HostGator whitelist my account, which allowed installation, but Piwik wouldn’t return data.

      I followed your piwikTracker.setRequestMethod('POST'); tip and that seems to have done the trick. You are blessed among Warriors, and I thank you.

      Here are a couple tips for those who are planning to install Piwik.

      Here’s a great tutorial on installing Piwik How to Install Piwik for WordPress and Drupal, real time web analytics

      If you encounter a 404 error in the first stage of setting Piwik up try this. Instead of entering www . YourWebSite . com try YourWebSite . com without the www (spaces in these examples intentionally provided to keep these from becoming links). That resolved the 404 error for me.

      Thanks again, Alex. You’re the GREATEST!

      John
      {{ DiscussionBoard.errors[5085975].message }}
    • Profile picture of the author pienisieni
      Thanks so much Alex. Furthermore I would add to those instructions that you should chmod all the files to 755, that was the missing clue from my installation process at least
      {{ DiscussionBoard.errors[7175881].message }}
    • Profile picture of the author deuces81
      Originally Posted by east_coast_alex View Post

      Tim,

      For HostGator you have to revise the JavaScript code per the instructions at:
      Troubleshooting - Piwik
      (Look under: How do I configure Piwik when mod_security is enabled?)

      These instructions essentially tell you to add the following line of code:
      piwikTracker.setRequestMethod('POST');

      BEFORE this line of code:
      piwikTracker.trackPageView();

      So you just have to copy and paste the JavaScript code to Notepad, copy and paste the line of code as described above, and then copy and paste the revised tracking code into your blog.



      Alex
      What folder is "piwikTracker.trackPageView()" in?

      I'm trying to figure out where to copy/paste to?
      {{ DiscussionBoard.errors[7560671].message }}
  • Profile picture of the author Ehsan_am
    Just install Piwik in a directory on your website and insert the code in your footer.php page manually. Works like a charme.
    {{ DiscussionBoard.errors[3932293].message }}
  • Profile picture of the author blueorca17
    I've installed Piwik on one of my domains and compare the results with Google Analytics. Piwik is much better because it shows you the ips of visitors, where they go, what links they exit through, what the exact referer is when they come from another site....it has all kinds of cool features that Google Analytics doesn't. I don't have it on WP, but installed it using php5 on godaddy. Was really easy to install. I also like how Piwik allows you to use multiple urls/domains for one tracking code. I don't think GA does that, but I've never really tried it. Don't think it does though.
    Signature

    {{ DiscussionBoard.errors[3932317].message }}
  • Profile picture of the author simplyben
    I also use Piwik but ran into problems when installing it on a site hosted by Hostgator. I now have it installed on a different server and it works great. I have been using it for over a year.
    {{ DiscussionBoard.errors[7561526].message }}
  • Profile picture of the author AntoineM
    Hi everyone,

    Anyone succeed to track clickbank hops? It seems piwik remove the /?hop=affiliate at the end of the url, thus I can't see any difference between direct link to my page and traffic sent from affiliates.
    Thanks.
    Signature
    52techniques.com - a blog about business development.
    Ultimatecoldcalls.com - eliminate your fear of cold calling.
    {{ DiscussionBoard.errors[7892558].message }}

Trending Topics