FirestarZA Posted August 11, 2009 Posted August 11, 2009 I'd love to see this feature so that I can literally only type in my Google Analytics code, and it will automatically integrated. I mean, this should be a VERY easy thing to add. Heck, even a place where I can enter in the whole set of code would be great. I don't know if this is being discussed as a new feature or not, but I'd sure appreciate the system just handling any template modifications for me, in stead of me having to do them. :) Thanks!
FirestarZA Posted August 11, 2009 Author Posted August 11, 2009 You're a legend! Thanks so much! To be honest, I've always wondered why paid for forum applications don't offer this as a standard thing. I mean, who would ever buy something like IPB or VBulletin and NOT want to have some sort of stats tracking on it? There are phpbb and whatever else out there for the people who don't want to spend money on something like forum software. Anyways, you should apply for a job with IPB. They need you!!! :D Thanks again!
Shogi Posted August 11, 2009 Posted August 11, 2009 Keep in mind that putting Google analytics is exactly like putting a spyware in your site.
FirestarZA Posted August 11, 2009 Author Posted August 11, 2009 [quote name='Shogi' date='11 August 2009 - 04:12 PM' timestamp='1250007140' post='1841970'] Keep in mind that putting Google analytics is exactly like putting a spyware in your site. Absolutely. We must be very careful. It's a dangerous world out there.:ph34r:
bfarber Posted August 11, 2009 Posted August 11, 2009 [quote name='FirestarZA' date='11 August 2009 - 11:46 AM' timestamp='1250005583' post='1841945'] You're a legend! Thanks so much! To be honest, I've always wondered why paid for forum applications don't offer this as a standard thing. I mean, who would ever buy something like IPB or VBulletin and NOT want to have some sort of stats tracking on it? There are phpbb and whatever else out there for the people who don't want to spend money on something like forum software. Anyways, you should apply for a job with IPB. They need you!!! :D Thanks again! Because Google Analytics license agreement does not allow it. They don't allow any other software to "generate" the analytics code from pieces of data (such as the id solely). Best we could do is give you a textarea to put in the entire JS they provide, but if we did that, why not just edit your skin?
FirestarZA Posted August 11, 2009 Author Posted August 11, 2009 Makes sense, I suppose. I just think that it's much easier putting some code that's given to you in a text area, than finding the place in the template to add it in. I know this isn't something big, and heck, I bet nobody out there would ever think about not buying IPB vs. some other software just because they offer this, but it's just something I've always missed, and thought was an oversight...
stoo2000 Posted August 11, 2009 Posted August 11, 2009 [quote name='bfarber' date='11 August 2009 - 07:58 PM' timestamp='1250017135' post='1842123'] Because Google Analytics license agreement does not allow it. They don't allow any other software to "generate" the analytics code from pieces of data (such as the id solely). Best we could do is give you a textarea to put in the entire JS they provide, but if we did that, why not just edit your skin? I was not aware of that, Guess I should go remove that code out of one of my commercial web apps..
RobertMidd Posted August 12, 2009 Posted August 12, 2009 [quote name='bfarber' date='11 August 2009 - 07:58 PM' timestamp='1250017135' post='1842123'] Because Google Analytics license agreement does not allow it. They don't allow any other software to "generate" the analytics code from pieces of data (such as the id solely). Best we could do is give you a textarea to put in the entire JS they provide, but if we did that, why not just edit your skin? Thanks Brandon, I did not know that was the case and I guess my hook is in violation of the license terms. I think I will change it to use a textarea, as you indicate. It is easier to use a hook than edit the templates, especially if you have more than one skin.
bfarber Posted August 12, 2009 Posted August 12, 2009 That is my understanding of their TOS at least. If you are unsure, you can always contact them. At the end of the day...it's doubtful Google is going to use all their vast resources to come after a modification author for a bulletin board software. If we provided the functionality out of the box, that chance would be higher, assuming my understanding of their terms of service is accurate.
Ditchmonkey Posted August 12, 2009 Posted August 12, 2009 [quote name='RobertMidd' date='11 August 2009 - 05:53 PM' timestamp='1250042020' post='1842351'] Thanks Brandon, I did not know that was the case and I guess my hook is in violation of the license terms. I think I will change it to use a textarea, as you indicate. It is easier to use a hook than edit the templates, especially if you have more than one skin. I think you are fine and this is just a case of everyone misunderstanding each other. Original poster was only asking for a field in the admin to enter the entire GA code snippet. Bfarber interpreted that as a request for a field to enter the GA account id and then IPB would generate the rest of the code - which is against the GA TOS and just not a good idea anyway. I'm guessing your hook is just a field where the entire GA code is entered which is fine. I think it makes sense to have a field to include analytics code into the global template, but since it can be easily achieved in the templates my feelings about it are neutral.
Jaggi Posted August 12, 2009 Posted August 12, 2009 [quote name='bfarber' date='12 August 2009 - 04:56 AM' timestamp='1250049395' post='1842410'] At the end of the day...it's doubtful Google is going to use all their vast resources to come after a modification author for a bulletin board software. If we provided the functionality out of the box, that chance would be higher, assuming my understanding of their terms of service is accurate. although if they do, your fcuked :P.
Teddy Rogers Posted August 12, 2009 Posted August 12, 2009 RobertMidd, excellent idea. Thank you very much! I have installed it and will check my analytics in a few days to see how it is going. Out of curiosity where exactly does it show in the source? If I go to the index page and view "source" with my browser I don't see Google's tracking code anywhere? Ted.
FirestarZA Posted August 12, 2009 Author Posted August 12, 2009 Also, which code are you using? There are two, according to analytics: New Tracking Code (ga.js) Legacy Tracking Code (urchin.js)
RobertMidd Posted August 12, 2009 Posted August 12, 2009 [quote name='Teddy Rogers' date='12 August 2009 - 11:10 AM' timestamp='1250071810' post='1842491']RobertMidd, excellent idea. Thank you very much! I have installed it and will check my analytics in a few days to see how it is going. Out of curiosity where exactly does it show in the source? If I go to the index page and view "source" with my browser I don't see Google's tracking code anywhere? Ted. Have you edited the settings in the ACP which requires you to enter your google website id. If it is still at the default then it will not show in the source. @FirestarZA it uses ga.js
Teddy Rogers Posted August 12, 2009 Posted August 12, 2009 Oops! I know what I did wrong! Seems I edited the skin template code itself and not the Analytics hook settings... :blush: Ted.
Luke Posted August 12, 2009 Posted August 12, 2009 Not only is it against the Google TOS, but even if you were to generate the code automatically and just have the user put in the account id, that code could quickly become out of date. You could just add the code in the wrapper of the skin, but wouldn't you have to do that for every skin? A hook could insert a "block of code" where it needs to be on every skin, regardless of it's edited or not. A textarea hook is a good idea.
Mat Barrie Posted August 12, 2009 Posted August 12, 2009 And then there's the "slippery slope". If they include Google Analytics out of the box, what next? Urchin? Hitslink? Statcounter? There could be no end to the input boxes for analytics IDs to enter.
FirestarZA Posted August 13, 2009 Author Posted August 13, 2009 Doesn't all these trackers work (almost?) the same? Would one single text area not allow the majority of code of these apps to be entered?
Mat Barrie Posted August 13, 2009 Posted August 13, 2009 Sort of. Some of them require their code in weird places. For example, Google asks you to put their code in the page FOOTER, whereas I've never seen Hitslink code anywhere but the header, and Statcounter code outputs a button so you put it wherever you want the button to be. You can see how this could go badly.
FirestarZA Posted August 13, 2009 Author Posted August 13, 2009 [quote name='Mat (Fusion Digital)' date='13 August 2009 - 05:30 AM' timestamp='1250141451' post='1843018'] Sort of. Some of them require their code in weird places. For example, Google asks you to put their code in the page FOOTER, whereas I've never seen Hitslink code anywhere but the header, and Statcounter code outputs a button so you put it wherever you want the button to be. You can see how this could go badly. Ok, thanks for explaining. You've got a point there. Although, if every developer were to not make an application/mod/hack due to a slippery slope, I think we won't have any developers :D
Mat Barrie Posted August 13, 2009 Posted August 13, 2009 Oh, no one's saying don't make hooks, etc. Just saying that it's not something IPS could really add to the core product without it getting to the point where you install IPB and are faced with 39,742 settings in 242 categories. Hooks/mods are the right answer for making this kind of thing easier.
FirestarZA Posted August 13, 2009 Author Posted August 13, 2009 Ok, I get your point. Makes perfect sense. Thanks!
asigno Posted August 15, 2009 Posted August 15, 2009 Has anyone got conversion/Goal tracking with Google Analytics implemented yet? I want to be able to track registrations and membership level selected on signup. What are you tracking and how? Cheers
Recommended Posts
Archived
This topic is now archived and is closed to further replies.