Welcome To Snipplr
Everyone's Recent JavaScript Snippets Tagged google
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
JavaScript Google Enabler. This code should be placed in all html creatives for Google DoubleClick Studio.
0
1327
posted 9 years ago by RodolfoMiranda
Simulates a click on a page with the name you put in the parameter in the onclick function.
1
1319
posted 10 years ago by Reiff
This will calculate the ticks for google charts so that you can have a chart with a defined height, and still represent large data ranges with out all the vertical information getting bunched up together.
0
788
posted 11 years ago by uberdragon
* Used to create markers based solely on latitude and longitude
* Replace the existing mainPoints() function in map-functions.js
0
894
posted 11 years ago by tymartist
This javascript will create a complex google javascript map with multiple locations selected marked. The map will be centered in the middle and zoomed so that all point can be seen. It also stylizes the map making it mostly desaturated with bits of o...
0
1333
posted 12 years ago by FatFolderDesigner
This javascript will create a google map on the div with the ID "the_map" and centered on an address with a marker on it. In this example the address is for Jet City Improv. More information on setup and customization at the link.
0
1127
posted 12 years ago by FatFolderDesigner
Fooman GoogleAnalyticsPlus:
http://www.magentocommerce.com/magento-connect/fooman-googleanalyticsplus.html
The key to seeing the different steps in your checkout is ensuring a page view is triggered each time one of the sections of the checkout i...
1
1184
posted 12 years ago by TheJasonParker
This script was written to allow transposing of utm_campaign, utm_source and utm_medium query parameters from the URL of a landing page link to all of the links on that page that re-directed to the primary domain where users would actually convert. T...
0
804
posted 12 years ago by kynatro
This script was written to allow transposing of utm_campaign, utm_source and utm_medium query parameters from the URL of a landing page link to all of the links on that page that re-directed to the primary domain where users would actually convert. T...
0
798
posted 12 years ago by kynatro
The Google Closure lets you get DOM elements with getElement( id ) and getElementByClass( class ). This function combines the two to let you get elements similarly to the way jQuery does. E.g. getElement( '#home .sidebar #links') returns the elemen...
0
1126
posted 12 years ago by cjcenizal
This is a simple example of the google maps javascript API v3. If you want a map with a marker this is the minimum you need to do to get it done. Theres more talk about how it's all set up, and how to use the other static image map as well at the lin...
1
978
posted 13 years ago by FatFolderDesigner
If you are struggling against some problems with google maps and tabs be aware that, in order to avoid problems, jQuery sets the width & height of every hidden element to Zero.
To fix this problem all you have to do is trigger the resize event and...
0
904
posted 13 years ago by Whiteagle
A complete Google maps example with multiple markers and infowindows
0
824
posted 13 years ago by marzsman
Add draggable markers on a Google map with a click, remove marker on click
0
812
posted 13 years ago by marzsman
<p>usage: <br>
<code><a href="" onclick="recordOutboundLink(link, category, action, opt_label, opt_value);return false;"> <br>
<form id="uniqueID" onsubmit="trackFormSubmit(form, category, action, opt_label, opt_value);return false;"></...
0
1208
posted 13 years ago by freezy
**Use this line to anonymize IP adresses in Google Analytics:**
_gaq.push(['_gat._anonymizeIp']);
0
692
posted 13 years ago by JonasDoebertin
Google Analytics is a very popular tool for tracking your website’s user behaviour, and visits. This is simply an optimised version of Google’s asynchronous tracking snippet. To learn what has been optimised, and why it is faster than Google’s...
0
722
posted 13 years ago by paul66