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)
-   -   Integration with vBulletin - Innovative Google Analytics - Asynchronous Version (https://vborg.vbsupport.ru/showthread.php?t=259340)

TheLastSuperman 02-22-2011 10:00 PM

Innovative Google Analytics - Asynchronous Version
 
1 Attachment(s)
This modification automatically adds in your Google Analytics Code (Asynch version) to your forum just before the </head> tag. You enable the modification and set the UA-######-# and that's it!

Please Note: This is the asynchronous version of the google analytics code. It can still be used HOWEVER there is a newer "Universal Analytics" code - this mod does not utilize the new code only the asynch code. Our newer Anayltics mod utilizes the i,s,o,g,r,a,m universal code and can be found here.

What is Google Analytics?
Google Analytics Home

Quote:

Originally Posted by Google.com
Analytics provides easy to use APIs and SDKs to send data to Google Analytics.

With the collection APIs and SDKs, you can measure how users interact with your content and marketing initiatives. Once implemented, you will be able to view user-interaction data within Google Analytics or through the Reporting APIs.

*This modification is auto-template therefor if enabled the asynch google code will always be there, no need for manual template edits in one or multiple styles as it's handled automatically via a plugin and rendered in all styles!

This modification is similar to BBR's recently retired Google Analytics Modification however it's based on the new asynchronous version of the tracking code and the modification was not too complex so it was easy enough to replicate from scratch using the documentation provided by Google for the new asynchronous version.

Installation:
  • Import the product.
  • AdminCP > Settings > Options > Google Analytics
  • Enable the modification and enter in your UA-######-# account ID number and select other options.
  • Enjoy!

Why are there three versions of this available for download?
  1. product-innovative_google_analytics.xml is the default google analytics code without additional _gaq.push settings. This is perfect for newcomers associating themselves with Google Analytics for the first time.
  2. product-innovative_google_analytics_v2.xml is the default code with option to enable multiple domain tracking. This is perfect for those using multiple domains.
  3. product-innovative_google_analytics_v3.xml is the default code with options to enable multiple domain tracking, disable campaign tracking, and split snippets regarding the code placement. This is the most robust version of the mod available, all additional options can be enabled/disabled in admincp options.

*Version 3 is the most up to date, features cleaned up code using one push instance instead of multiple and contains all features of its two predecessors.

AdminCP > Settings > Options > Google Analytics

You can reference the new code here:
Async Tracking

The Async guide:
Async Guide

Please remove ALL older Google Analytic code and/or modifications before using (if you're installing the new version of this mod _v2 listed below simply choose to overwrite the modification). You can view Google's instructions here with information as to why you should not use two codes as well:
Async Migration Examples

More information for reference:
Async Split Snippets

______________________________________

Multiple Domain Tracking

Tracking Multiple Domains or using subdomains? Install the version product-innovative_google_analytics_v2.xml instead ;).
Reference:
Tracking Multiple Domains

AdminCP > Settings > Options > Google Analytics > Subdomain Name
Example: .vbulletin.org

*Don't forget to setup filters either pre-defined or custom to differentiate between the different subdomains!
Reference: Eric Mobley Explains Filters

Why is this important?
Hufted explains it here: Why this change is important

Please note: When updating from the normal version to the new _subdomains version it may take upwards of 24hrs before new information is displayed. Please view this page for additional information: Troubleshooting Tracking Issues

You can change the date range in "reports" to "today" to see if it displays new information after updating the modification before it has been 24hrs.
______________________________________

If you like the modification please MARK AS INSTALLED.
*You can note on the top right of the mod description in the side menu, your "Installed" or "Uninstalled" status indicator.


TheLastSuperman 02-23-2011 08:34 PM

Reserved.

Dr.osamA 02-24-2011 10:11 AM

5 stars
installed

Edit: removed XML file as coder like

gamerzhut 02-24-2011 03:21 PM

Installed & voted *****

TheLastSuperman 02-24-2011 03:54 PM

Quote:

Originally Posted by Dr.osamA (Post 2166202)
5 stars
installed

translated to Arabic

plzz be nice and add xml file to 1st post

I appreciate the conversion however you've added code to the modification and branded it from what I can tell, remove that and I'll place it in the first post plus give credit.

Code:

                <phrase name="setting_alra7ba_title" date="1291589711" username="Dr.osamA"><![CDATA[???? ???????]]></phrase>
                    <phrase name="setting_alra7ba_desc" date="1291589803" username="Dr.osamA"><![CDATA[<table border="1" width="100%" id="table1" bgcolor="#0098CC" bordercolor="#000000" height="61"><tr>
                        <td style="width: 45px"><img alt="" src="http://www.alra7ba.info/alra7ba.jpg" /></td>
                <td bordercolor="#FF0000">
                <p align="center" dir="rtl">
                <font style="font-size: 8pt; font-weight: 700" face="Tahoma" color="#FF0000">
                ?????  ?? ????? <span lang="en-us">
                <a href="http://www.alra7ba.info/vb" style="text-decoration: none">
                alra7ba.net</a></span> <font style="font-size: 8pt; font-weight: 700"><br>
                ???? ??????? ???? ????? ?????? <span lang="en-us">Dr.osamA</span></font></font>
                <p align="center" dir="rtl">
                <font face="Tahoma" style="font-size: 8pt">?????? ??
                ??????? ?? ?????? ? ??????? ???? ??????</font></b></span></tr>
                <br> </table>]]></phrase>

Code:

                        <setting varname="alra7ba" displayorder="30">
                                <datatype>free</datatype>
                                <optioncode>???? ??????? ?????? ??????</optioncode>
                        </setting>

OR you can add a link to your profile here on vb.org in the description as you have already noted so in the title i.e.

Code:

        <title>Innovative Google Analytics ??? ?????? ???? ?? ????? ???? ?????? Dr.osamA</title>
        <description><![CDATA[Automatically adds Google Analytics asynchronous version code to site above </head> tag as instructed by Google - http://code.google.com/apis/analytic...cTracking.html  - Arabic translation by Dr. Osama - https://vborg.vbsupport.ru/member.php?u=61153]]></description>

I'll go for something like that but all that extra code seems to be a waste of space imo :(.

Quote:

Originally Posted by teenbay (Post 2166330)
Installed & voted *****

Thanks!

sivaganeshk 02-24-2011 04:00 PM

you are great !! SuperMan

TheLastSuperman 02-24-2011 04:31 PM

Quote:

Originally Posted by sivaganeshk (Post 2166353)
you are great !! SuperMan

Well thanks :D - I do try :o :cool:

Viddek 02-24-2011 04:43 PM

I don't understand for what the modification does? Perhaps you can explain it more. The describtion of BBR was deleted.

TheLastSuperman 02-24-2011 06:11 PM

Quote:

Originally Posted by Viddek (Post 2166373)
I don't understand for what the modification does? Perhaps you can explain it more. The describtion of BBR was deleted.

This modification automatically adds in your Google Analytics Code (Asynch version) to your forum just before the </head> tag. You enable the modification then set the UA-######-# and that's it!

*This modification is auto-template therefor if enabled the asynch google code will always be there, no need for manual template edits in one or multiple styles as it's handled automatically via a plugin and rendered in all styles!

*Updated in modification description ;).

Dr.osamA 03-06-2011 11:38 AM

1 Attachment(s)
Quote:

Originally Posted by TheLastSuperman (Post 2166351)
I appreciate the conversion however you've added code to the modification and branded it from what I can tell, remove that and I'll place it in the first post plus give credit.

Code:

                <phrase name="setting_alra7ba_title" date="1291589711" username="Dr.osamA"><![CDATA[???? ???????]]></phrase>
                    <phrase name="setting_alra7ba_desc" date="1291589803" username="Dr.osamA"><![CDATA[<table border="1" width="100%" id="table1" bgcolor="#0098CC" bordercolor="#000000" height="61"><tr>
                        <td style="width: 45px"><img alt="" src="http://www.alra7ba.info/alra7ba.jpg" /></td>
                <td bordercolor="#FF0000">
                <p align="center" dir="rtl">
                <font style="font-size: 8pt; font-weight: 700" face="Tahoma" color="#FF0000">
                ?????  ?? ????? <span lang="en-us">
                <a href="http://www.alra7ba.info/vb" style="text-decoration: none">
                alra7ba.net</a></span> <font style="font-size: 8pt; font-weight: 700"><br>
                ???? ??????? ???? ????? ?????? <span lang="en-us">Dr.osamA</span></font></font>
                <p align="center" dir="rtl">
                <font face="Tahoma" style="font-size: 8pt">?????? ??
                ??????? ?? ?????? ? ??????? ???? ??????</font></b></span></tr>
                <br> </table>]]></phrase>

Code:

                        <setting varname="alra7ba" displayorder="30">
                                <datatype>free</datatype>
                                <optioncode>???? ??????? ?????? ??????</optioncode>
                        </setting>

OR you can add a link to your profile here on vb.org in the description as you have already noted so in the title i.e.

Code:

        <title>Innovative Google Analytics ??? ?????? ???? ?? ????? ???? ?????? Dr.osamA</title>
        <description><![CDATA[Automatically adds Google Analytics asynchronous version code to site above </head> tag as instructed by Google - http://code.google.com/apis/analytic...cTracking.html  - Arabic translation by Dr. Osama - https://vborg.vbsupport.ru/member.php?u=61153]]></description>

I'll go for something like that but all that extra code seems to be a waste of space imo :(.



Thanks!

sorry man

dont add it no problem
Do not bother yourself with this
These codes mean the rights of translation for arabic member and for connect me when it is necessary
i can remove hol file if it bother you bro ... dont worry

add image for explntion this showing only in ACP
note:I do not remember I translated another your MOD ... and it seems I will not this again
https://vborg.vbsupport.ru/showpost....5&postcount=42


All times are GMT. The time now is 11:29 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.01459 seconds
  • Memory Usage 1,791KB
  • 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
  • (6)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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