PDA

View Full Version : Do you guys/girls use Google Analytics or plan to?


BBR-APBT
12-01-2009, 07:51 PM
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
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
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
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
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
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:
$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
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
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.