Welcome To Snipplr


Everyone's Recent Snippets Tagged google



1 ... 4 5 6 7 8
0 442 posted 14 years ago by almazom
Must be inside <body> tag
0 656 posted 14 years ago by crs
XHTML 1.0 Strict deprecates the use of iframes in favor of objects. While this has gotten a lot of flack, iframes were never truly a part of HTML, just a proprietary element in Internet Explorer that eventually got universal support. Objects are a mo...
0 720 posted 14 years ago by chrisdpratt
Below are two functions I've been using to make event tracking a little easier in CodeIgniter. Two functions are available, google_analytics() & track_event(). google_analytics() takes one argument and uses it as the UA code for your tracking p...
5 1120 posted 14 years ago by brettbergeron
Make sure you change the variable v_ga_track near the end of the script.
0 544 posted 14 years ago by chrisjlee
Detects all external/outgoing links, adds class, & adds target = _blank. When using a strict doctype, this method is valid when using target manipulation.
1 519 posted 14 years ago by dsntos
Include this in any page you want to track for Google bot crawls. Adapt it to your needs (eg: MySQL log instead of e-mail announcement, etc).
9 622 posted 14 years ago by NyX
lookup the google page rank of a website from python. Uses the same interface that the Google Toolbar uses to get the value.
0 836 posted 14 years ago by halotis
0 503 posted 14 years ago by erichus
returns URL that's an I'm feeling lucky search on wikipedia. Handy when paired with a database of names of things.
2 508 posted 14 years ago by mocha0range
This is to prevent duplicate content when your provider directs your http://domain.com to the same place as http://www.domain.com
1 553 posted 14 years ago by zartgesotten
1 521 posted 14 years ago by kokikr
Use inType=0 and feed in a specific Google Maps URL to parse out the GeoCoords from the URL e.g. http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=53154&sll=37.0625,-95.677068&sspn=52.505328,80.507812&ie=UTF8&ll=42.858224,-88.000832&spn=0....
4 2306 posted 14 years ago by blackf0rk
1 646 posted 14 years ago by kokikr
I convert the google pr fetch code from php to actionscript.
2 650 posted 14 years ago by zhengrenchi
3 556 posted 15 years ago by petterdr
This function will parse out the Google Maps coordinates from a Google Maps link url like this one: http://maps.google.com/?ie=UTF8&ll=43.068888,-87.978516&spn=23.565589,33.925781&t=h&z=5. The coordinates in this URL are 43.068888,-87.978516.
0 834 posted 15 years ago by blackf0rk
Simple jQuery snippet for cleanly and automatically setting up your google analytics
4 700 posted 15 years ago by garside
1 ... 4 5 6 7 8