Welcome To Snipplr


Everyone's Recent Snippets Tagged google



1 ... 4 5 6 7 8
Simple example of using Google's API for contacts to display the contact name and phone number. More info in the comments.
0 38 posted 10 years ago by PhilK
In order to track links out Google requires you add this snippet of JavaScript to your anchor(a) tag. Replace /G1/example.com with whatever you want to use to identify the link.
1 57 posted 10 years ago by smoothdzion
1 71 posted 10 years ago by chrisaiv
0 54 posted 10 years ago by sspitler01
0 28 posted 10 years ago by almazom
Must be inside <body> tag
0 57 posted 10 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 66 posted 10 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 102 posted 10 years ago by brettbergeron
Make sure you change the variable v_ga_track near the end of the script.
0 44 posted 10 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 42 posted 10 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 72 posted 10 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 59 posted 10 years ago by halotis
returns URL that's an I'm feeling lucky search on wikipedia. Handy when paired with a database of names of things.
2 27 posted 10 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 45 posted 10 years ago by zartgesotten
1 36 posted 11 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 267 posted 11 years ago by blackf0rk
1 54 posted 11 years ago by kokikr
I convert the google pr fetch code from php to actionscript.
2 45 posted 11 years ago by zhengrenchi
3 39 posted 11 years ago by petterdr
1 ... 4 5 6 7 8