vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Do you guys/girls use Google Analytics or plan to? (https://vborg.vbsupport.ru/showthread.php?t=229277)

BBR-APBT 12-01-2009 07:51 PM

Do you guys/girls use Google Analytics or plan to?
 
I am thinking of making a Product for this and would like to know if you guys are using it?

I can simply copy and paste the code my self and make it easy but if more then me will use it I will code it up.

If you don't know what it is read here: http://www.google.com/analytics/


Mod Released: https://vborg.vbsupport.ru/showthread.php?t=229347

isatice 12-02-2009 06:50 AM

of course every website using google analytics , no doubt

ragtek 12-02-2009 07:02 AM

I'm using piwik.

Paul M 12-02-2009 11:39 AM

A product to do what exactly ?

BBR-APBT 12-02-2009 12:41 PM

1 Attachment(s)
Quote:

Originally Posted by Paul M (Post 1923942)
A product to do what exactly ?

The mod will auto add the code to the footer.

All you do is go to options activate it and enter your Google Analytics ID.

And thats all the edit you will have to do.

I have it all done but am having a problem auto adding it just above the body tag.
Problem post here: https://vborg.vbsupport.ru/showthread.php?t=229305

All this does it help keep your templates default, makes it easier upgrading with less template edits.

Vaupell 12-02-2009 12:51 PM

ofcourse not, my webhost got its own service, which i known for years,
why would i change suddenly..

BBR-APBT 12-02-2009 12:55 PM

Quote:

Originally Posted by Vaupell (Post 1923999)
ofcourse not, my webhost got its own service, which i known for years,
why would i change suddenly..

I wasn't asking you to change your provider.

I was asking you if you would use this mod before I took my time to code it.
Others seem to like the idea it is 99% coded now. Just didn't want to waist my time.

Vaupell 12-02-2009 01:03 PM

Quote:

Originally Posted by BBR-APBT (Post 1924003)
I wasn't asking you to change your provider.

I was asking you if you would use this mod before I took my time to code it.
Others seem to like the idea it is 99% coded now. Just didn't want to waist my time.

i didnt respond anything about changeing my provider, i said my
host got its own service.. which means the host have its own
analytics service wery wery similar to google analytics.
and therefor i wouldnt see a need for haveing 2 of the same services.

BBR-APBT 12-02-2009 01:05 PM

Quote:

Originally Posted by Vaupell (Post 1924009)
i didnt respond anything about changeing my provider, i said my
host got its own service.. which means the host have its own
analytics service wery wery similar to google analytics.
and therefor i wouldnt see a need for haveing 2 of the same services.

I wasn't asking you to change or use them both.

I was asking if you would use this mod if I took my time to code it.
It was a simple question.

VonDoom 12-02-2009 02:03 PM

Bring it. lol would love a plugin as opposed to manually editing templates for every upgrade.

BBR-APBT 12-02-2009 02:06 PM

Quote:

Originally Posted by VonDoom (Post 1924072)
Bring it. lol would love a plugin as opposed to manually editing templates for every upgrade.

I have a working code but it shows in the template hook footer_links.
By Google's recommendations it should show just above the closing </body> tag.
I am having trouble making it be auto inserted in the correct place with out a manual template edit which I am trying to not have no manual edits.

Lynne 12-02-2009 02:20 PM

I have always put this in the template ad_footer_end which happens to be inserted right above the div at the end of the footer. Have you tried just using that hook? I'm not sure it will work, but:
PHP Code:

$ad_location['ad_footer_end'] .= your stuff

Or, I think you can insert it right above the copyright, so do a str_replace on "<div id="footer_copyright"" and insert your code above it (or above the cron stuff right below the copyright).

BBR-APBT 12-02-2009 02:36 PM

I tried that Lynne doesn't seem to show up in the source with that.

I hope you get paid well Lynn you are so helpful.

Brandon Sheley 12-02-2009 02:41 PM

I've used it for years, but I don't need another plugin to add it to the footer :D

BBR-APBT 12-02-2009 03:22 PM

Almost got it.

Lynne 12-02-2009 03:26 PM

Quote:

Originally Posted by BBR-APBT (Post 1924100)
I tried that Lynne doesn't seem to show up in the source with that.
.....

I hope you get paid well Lynn you are so helpful.

When something doesn't work, you can't just post the code - you NEED to tell us the hook location also. It could be that the code is fine, but you are using a hook that is too late, or sometimes too early, to do what you want.

And I don't get paid a thing - the mods are volunteers on this site.

BBR-APBT 12-02-2009 03:38 PM

That was My whole problem was hook location Lynne.

I just got it working.

I was joking on the paid thing. But you are surely very helpful. I looked at your additional.CSS mod and got it all working.

Thanks so much.
Again its members like you that make vb.org pleasurable and give me inspiration to code these things up and release them for every one to use.

Mod Released: https://vborg.vbsupport.ru/showthread.php?t=229347

StonePilot 12-02-2009 03:55 PM

It would be hard to build a big-board w/o Google Analytics. I forget if I've got it manually in the footer template or if it's plugged in from Google AdManager.

ragtek 12-02-2009 04:09 PM

You can also just put it into the footer ad_template (ACP-STYLES & TEMPLATES);)

BBR-APBT 12-02-2009 04:16 PM

Quote:

Originally Posted by ragtek (Post 1924148)
You can also just put it into the footer ad_template (ACP-STYLES & TEMPLATES);)

I wanted no manual template edits for upgrades with template changes.

Works like a charm now.


All times are GMT. The time now is 05:19 PM.

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.01174 seconds
  • Memory Usage 1,758KB
  • 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_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete