This is a discussion on New Google Analytics Code... within the Webmaster Discussion forums, part of the Webmaster Help category; Just spotted this in Google Analytics while adding a new profile. There's now a legacy code and a new tracking ...
| |||||||
| Register | Forum Rules | FAQ | Donate | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Just spotted this in Google Analytics while adding a new profile. There's now a legacy code and a new tracking code. When applying the old urchin code, google says: "Refer to this tracking code if your site already has urchin.js installed. Please note that urchin.js will not receive feature updates and is not compatible with new features." And if you want the new code it says: "Use this tracking code to gain access to a wide range of exciting new features as they become available." Does that mean that you can't use the new code on old sites? I'll be adding new code by default now though but would like to upgrade older ones.
__________________ David Behan Web Design | Mortgages | Memorial Websites | Digital Printing | Golf Holidays Portugal | Conservatories |
| |||||
| yes you can change the code manually yourself. the old code used to be: Code: <script type="text/javascript"> _uacct = "UA-xxxxx-x"; urchinTracker(); </script> Code: <script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "Web hosting Ireland, hosting ireland / irish web site hosting Ireland / domain registration, dedicated servers, colocation - Blacknight Solutions: Blacknight Solutions.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-xxxxx-x");
pageTracker._initData();
pageTracker._trackPageview();
</script>
__________________ :. Web Design & Development Web Design Ireland :. Search Engines Optimization Search Engines Optimization :. Directory Submission Directory Submission :. News & Press Release Ireland GiveItSocks.com :. Used Cars Ireland, Car Parts & Car Audio Cars For Sale, Car Parts & Accessories :. I Have 2 Find It Directory SEF Directory |
| ||||
| Yeah, I'll have to dive in and update all the sites I manage! That'll be a fun half hour! |
| |||||
| Also you can get the code from Google website: Log into your analytics account Click on Edit link than at the top right corner there is a link "Check Status" - click on it than select the tab "New Tracking Code (ga.js) " |
| |||||
| the accounts show both codes now ------------ Code: <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-XXXX-X"; urchinTracker(); </script> replaced by Quote:
__________________ my sites : irish poker / irish jobs / seo faq / advertise jobs free / green card / skiing |
| |||||
| Well this has just answered a question I had about someone using some strange JS for their analytics code in another thread
__________________ Forbairt Media | Web Design & Development Galway / Dublin, Ireland - coming soon ... ( vague but descriptive isn't it ) Recent Work: Safari Club African Safari Holidays - South Africa Safaris Other Stuff: FluffyLinkulator Rapid Inclusion Service Tools |
| Tags |
| analytics, code, google |
| Thread Tools | |
| Display Modes | |
|
|
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Avoid the Google Sandbox | Cormac | Webmaster Articles | 26 | 18-02-2008 04:38 AM |
| Integrating with Google Analytics? | dereko | Server / Technical Administration Tips and Queries | 4 | 07-08-2007 03:16 PM |
| IE7 + google analytics causing "Error on page" | lostie | Webmaster Discussion | 4 | 18-06-2007 09:27 AM |
| Tracking AdSense in Google Analytics | frakilk | Google Adsense | 3 | 22-12-2006 11:00 AM |
| Google analytics [part 2]? | richardo | Pay Per Click Advertising (PPC) | 15 | 23-11-2006 02:17 PM |