vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Statistics Modifications - JJs Piwik tracking code integration (https://vborg.vbsupport.ru/showthread.php?t=231615)

jj 12-29-2009 10:00 PM

JJs Piwik tracking code integration
 
1 Attachment(s)
This product will add the javascript tracking code for your very own Piwik installation. In short Piwik is an open source alternative to Google Analytics where the collected data is yours, and yours alone. If you want to learn more about Piwik, you can visit their project homepage at http://piwik.org.

As widely suggested, the code is added right before the closing body tag of the forum, cms and blog. I didn't check if the code was on the cms pages, but on the forum and the blog it just works fine.

Tested on:
vBulletin 4.0.0 PL1

Uses Piwik tracking code from:
Piwik 0.5.4
(I don't think there have been much changes in the tracking code, before :))

Installation:
  1. Install the product xml file.
  2. Go to the settings group "JJs Piwik tracking code integration" and set it up.
  3. Remember to activate the integration.
  4. Important: It will not activate, if the website id wasn't specified and isn't greater than 0!

Changelog:
  • 1.0.0 - Initial release

No need to say to mark it installed, if you use it ;)

Welshy2008 12-29-2009 10:56 PM

** Tag **

Alfa1 12-29-2009 11:27 PM

This will become very interesting. Hopefully top entry / exit pages will be added to Piwik.

UpFriends 12-29-2009 11:59 PM

Looking forward to trying this one

Alecsmith 12-30-2009 06:11 AM

Installed look really good :)

VonDoom 12-30-2009 06:17 AM

Tagged, looks interesting will look further into this more when time becomes available..

garretbyrne 01-05-2010 02:19 PM

I've installed this but it doesn't work for me, it's installed properly and so is piwik but yet when I go into piwik nothing is showing up as in no activity nothing... I don't know what else to do...

Can anyone help?? Cheers

jj 01-06-2010 07:34 AM

1 Attachment(s)
Hi, I've just checked it again. If you set up your piwik installation and the websites config correctly (including the urls) and the settings in vb it should run. Be sure to take the id from your configured website from piwik and enter the value in the settings dialog.

I've attached some screenshots of my development example setup with the stats counted immediately after a call to a vb page (forum.php and blog.php).

garretbyrne 01-06-2010 11:26 PM

1 Attachment(s)
Hi jj thanks for your reply but sadly that doesn't work for me... I've attached photos of my setup..

Cheers for your help..

Garret:up:

jj 01-07-2010 07:25 PM

Hi garretbyrne,

just as stated in the description of the Piwik URL. Do not enter the protocol there. Enter "www.irishparanormal.org/piwik" and it should run correctly.

garretbyrne 01-08-2010 07:59 AM

Cheers jj I've made the changes and will see what happens..

Garret

Skyrider 01-08-2010 08:04 AM

Or use irishparanormal.org/piwik which should also work fine. Best not to use www with subdomains :). Since this isn't one, it doesn't really matter.

garretbyrne 01-08-2010 10:38 AM

Cheers FF I've changed that so the www. is also now removed

garretbyrne 01-08-2010 04:48 PM

How long does piwik normally take to update its self?

jj 01-08-2010 05:17 PM

Hi garretbyrne,

I've checked your page with Firebug (FF-Extension). The piwik code is inserted correctly but doesn't run actually. The updates in Piwik are instant.

You have a javascript error on your page, which prevents any javascript execution after the point of the error.

Quote:

unterminated string literal
http://www.irishparanormal.org/forum...Investigations
Line 900
You should install the extension and check the console messages to get rid of any errors in your page.

The line mentioned in the error message is
HTML Code:

google_color_bg = ";
and there is missing a closing " in your Google Adsense Code.

zeroality 01-08-2010 07:03 PM

Hmm, what's wrong with just inserting the code yourself in the footer? That'd make it on all pages.

I mean, what is the benefit of this MOD, if anyone could explain it?

jj 01-08-2010 09:47 PM

Actually the point is that you do not need to modify a template.

garretbyrne 01-09-2010 10:40 AM

Hey.. I got it working had to disable google adsense... was causing lots of problems.. cheers looks fantastic

denman75 01-09-2010 12:01 PM

got a question , i downloaded a package from piwik and uploaded it to my site
is this necessary ? i mean ,do i need the zip file from piwik and your mod to work ?

zeroality 01-09-2010 12:05 PM

Quote:

Originally Posted by jj (Post 1950719)
Actually the point is that you do not need to modify a template.

Ah I see.

jj 01-09-2010 05:33 PM

Quote:

Originally Posted by denman75 (Post 1951075)
got a question , i downloaded a package from piwik and uploaded it to my site
is this necessary ? i mean ,do i need the zip file from piwik and your mod to work ?

You need a fully functional piwik installation to have a use of this mod.

denman75 01-09-2010 05:36 PM

Quote:

Originally Posted by jj (Post 1951291)
You need a fully functional piwik installation to have a use of this mod.

thank you its working great ,have a good evening :up:

onehost 08-16-2010 05:39 AM

where do i place the tracking code? in the header template?

Thanks

fireglow305 02-08-2011 09:08 AM

Great, ist works on vB 4.1.1 ;)

sross 05-20-2011 02:38 AM

Thank you! Working great on 4.1.3

pitt34 06-26-2011 06:31 PM

Could you add Custom Variables with the option of getting information about user status (registered or guest) and username (if registered)?

muz5wraw23ru 05-14-2012 08:37 PM

Thanks for this great addon! But I have a problem with mobile style. After activating the addon, the mobile style shows a blank page. I tested all my other plugins and every works fine with mobile style. I have vB 4.1.12 running. Could you check this and fix it?
Thanks for your support.

gOOvER 06-03-2012 03:11 AM

Quote:

Originally Posted by muz5wraw23ru (Post 2329403)
Thanks for this great addon! But I have a problem with mobile style. After activating the addon, the mobile style shows a blank page. I tested all my other plugins and every works fine with mobile style. I have vB 4.1.12 running. Could you check this and fix it?
Thanks for your support.

Can't confirm this. For me it works, also with Mobile Style.

chatpalace24 10-27-2012 08:36 AM

Works nice with 4.2.0 Suite . Great Job

Markco 12-03-2012 10:15 AM

I search a similar plug - in for VB 3.8.x
Thank you

markoroots 05-04-2015 09:38 AM

Quote:

Originally Posted by jj (Post 1951291)
You need a fully functional piwik installation to have a use of this mod.

Hi guys,
please can someone tell me what is the meaning for "fully functionality"?
What are the packages we have to install??
This plugin ok, and then?

markoroots 05-04-2015 06:51 PM

Thanks maybe I find out.
The only strange think is that this plugin is about 50 Mb.
What must do to be so heavy????

SaN-DeeP 05-04-2015 06:56 PM

Interesting alternative to basic awstats for webmasters who do not care about analytics data.. (like me ;))

But if can host piwik on my server (where vbulletin site is hosted), do i really need to install this addon..
I am going to try this now..

Manoel J?nior 05-04-2015 11:39 PM

Thanks. I test now

markoroots 05-06-2015 09:31 AM

Hi guys,
please is there some one that can tell me if with Piwik is possible to track also code like this:

<!-- Begin CigClick Network Code -->
<script language="javascript"><!--//
var server_client_id = 1189;
var server_ad_channel = 1;
var server_publisher_channels = "";
var server_media_types = "text,hybrid";
var server_integrate_media_types = 0;
var server_ad_width = 728;
var server_ad_height = 90;
var server_ad_style = "728x90_as";
var server_code_version = "4";
var server_ad_color_border = "7E8AA2";
var server_ad_color_background = "F7FAE0";
var server_ad_color_headline = "7E8AA2";
var server_ad_color_body = "000000";
var server_ad_color_url = "666EBA";
var server_ad_random = 1;
//--></script>
<script type="text/javascript" src="http://adsby.cigclick.com/ads/display_ads.php">
</script>
<!-- End CigClick Network Code -->

And if yes can you please tell me how?

Thanks in advance.

thetechgenius 05-09-2015 06:06 PM

This definitely does work, and it works really well. I have Piwik installed on a subdomain (stats.thetechgenius.net) and it tracks my main forum domain (thetechgenius.net). It has been working really well without any issues at all.

Thank you for this!

-INSTALLED-

markoroots 05-12-2015 06:32 AM

No help for this plugin??

bosanci28 05-15-2015 09:43 PM

Works for me.

dwkerr 12-14-2015 03:34 PM

trying this on vb 4.2.3 and after more than a day no data is received by piwik. piwik is installed in its own sub domain, and am using it on many websites, the only one that is not receiving data from is from the forums site, I am using your plugin on the forums site.

dwkerr 12-14-2015 03:40 PM

one thing I should mention is that the forums site is using ssl / https and forced to go https by .htaccess


All times are GMT. The time now is 10:45 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04244 seconds
  • Memory Usage 1,808KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete