thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: Google Analytics  (Read 3247 times)

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Google Analytics
« on: June 02, 2014, 08:24:39 PM »
Description :
This plugin sends 'page view' events to your Google Analytics account.
This will allow you to easily track which game types or maps your user like the most.


Download

Offline Gryphus_1

  • Newbie
  • *
  • Posts: 3
    • Net-Jam
Re: Google Analytics
« Reply #1 on: September 12, 2014, 06:26:52 AM »
Is there any special configuration for my Analytics account? The plugin is up and running with my tracking ID, but I'm not getting any data.

G1

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Re : Google Analytics
« Reply #2 on: September 12, 2014, 01:30:10 PM »
It needs to be a GA account for a website, if it is for a mobile app it won't work.
Do you have any trace in the b3.log file that would give you any hint?

Offline Fakie

  • Full Member
  • ***
  • Posts: 69
    • Bandit Company
Re: Google Analytics
« Reply #3 on: September 15, 2014, 10:26:36 AM »
Thanks for this! I've just set it up on our server. Going to give it a week before checking how it's working out. We recently just added a map vote plugin to our CoD4 server so this will be pretty interesting to see.

Offline Gryphus_1

  • Newbie
  • *
  • Posts: 3
    • Net-Jam
Re: Google Analytics
« Reply #4 on: September 15, 2014, 11:28:38 AM »
Code: [Select]
140915 01:41:15	BOT    	'Loading Plugin #25 ga [/home/admin/bot/b3/conf/plugin_ga.ini]'
140915 01:41:15 INFO 'ga is not a built-in plugin (No module named ga)'
140915 01:41:15 INFO 'trying external plugin directory : /home/admin/bot/b3/extplugins'
140915 01:41:15 BOT    'GaPlugin: Loading config /home/admin/bot/b3/conf/plugin_ga.ini for GaPlugin'
140915 01:41:15 INFO 'GaPlugin: loaded "google analytics/tracking ID": UA-4******4-3'
140915 01:41:15 DEBUG 'Register Event: Stop Process: GaPlugin'
140915 01:41:15 DEBUG 'Register Event: Program Exit: GaPlugin'
140915 01:41:15 BOT    'Plugin ga (1.0 - Courgette) loaded'

Above is the only reference to the GA plugin in the log. My Analytics account is set up with the server as a new web property and the default URL as the the server IP (no port).

G1

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Google Analytics
« Reply #5 on: September 15, 2014, 02:38:20 PM »
I gave a test to the plugin and I got it working with my GA account. I have no idea what goes wrong in your case

Offline Gryphus_1

  • Newbie
  • *
  • Posts: 3
    • Net-Jam
Re: Google Analytics
« Reply #6 on: September 15, 2014, 04:48:04 PM »
Do I need to open a port? Are there any settings that need changed Google side?

G1

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Google Analytics
« Reply #7 on: September 15, 2014, 06:14:16 PM »
the machine where B3 is running on must allow B3 to reach the outside world on ports 80 and 443.

 


Rate this page +1 at Google Search

anything