Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged google



« Prev 1 2 3
  1. FAV

    Google Enabler JS

    JavaScript Google Enabler. This code should be placed in all html creatives for Google DoubleClick Studio.
    JavaScript 12 views posted 5 years ago by RodolfoMiranda
  2. FAV

    Simulate a click with javascript for WordPress and GA

    Simulates a click on a page with the name you put in the parameter in the onclick function.
    JavaScript saved by 2 people 14 views posted 5 years ago by Reiff
  3. FAV

    Calculate ticks for gChart Y axis - accommodates large ranges

    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.
    JavaScript 3 views posted 6 years ago by uberdragon
  4. FAV

    Google Map Marker Function (alternate, non-geocoding)

    * Used to create markers based solely on latitude and longitude * Replace the existing mainPoints() function in map-functions.js
    JavaScript 5 views posted 6 years ago by tymartist
  5. FAV

    Google Maps API V3 Javascript Full Example

    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...
    JavaScript 25 views posted 7 years ago by FatFolderDesigner
  6. FAV

    Google Maps API V3 Javascript Basic Example

    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.
    JavaScript 15 views posted 7 years ago by FatFolderDesigner
  7. FAV

    Google Analytics Goal Funnels for Magento One Page Checkout

    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...
    JavaScript saved by 1 person 11 views posted 7 years ago by TheJasonParker
  8. FAV

    Cross-domain Google Analytics Campaign Transposing

    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...
    JavaScript 5 views posted 7 years ago by kynatro
  9. FAV

    Cross-domain Google Analytics Campaign Transposing

    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...
    JavaScript 3 views posted 7 years ago by kynatro
  10. FAV

    Coordinate su Gmaps

    Coordinate su Gmaps
    JavaScript 4 views posted 8 years ago by kajinka13
  11. FAV

    Get DOM element via class and id selector, using Google Closure

    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...
    JavaScript 12 views posted 8 years ago by cjcenizal
  12. FAV

    Google visualization GeoMap problem

    If you use this snippet in http://code.google.com/apis/ajax/playground/?type=visualization#geo_map it shows SK - ISO3166 code for Slovakia somewhere in Canada. Although personally I wouldn't mind, it seems to be incorrect.
    JavaScript 4 views posted 8 years ago by adino
  13. FAV

    Double tracking google analytics

    tracking web with double tracking code.
    JavaScript 4 views posted 8 years ago by jretamal
  14. FAV

    Mobile - Google Maps

    JavaScript 5 views posted 8 years ago by craymond
  15. FAV

    Google Maps API3 made simple

    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...
    JavaScript saved by 3 people 8 views posted 8 years ago by FatFolderDesigner
  16. FAV

    Google Static Maps

    JavaScript 4 views posted 8 years ago by ddavidd
  17. FAV

    Google Maps v3 and JQuery Tabs (jQuery tabs google maps bug)

    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...
    JavaScript 8 views posted 8 years ago by Whiteagle
  18. FAV

    Google Spreadsheet Geolocation

    JavaScript 4 views posted 8 years ago by pmalerba
  19. FAV

    Google plus one

    JavaScript 7 views posted 8 years ago by drifterz28
  20. FAV

    Full Google maps

    A complete Google maps example with multiple markers and infowindows
    JavaScript 7 views posted 8 years ago by marzsman
  21. FAV

    google maps v3 rectangle

    JavaScript 4 views posted 8 years ago by sneaks
  22. FAV

    Add marker Google maps on click

    Add draggable markers on a Google map with a click, remove marker on click
    JavaScript 7 views posted 8 years ago by marzsman
  23. FAV

    Initialize Google maps V3

    Basic Google Maps initialize code
    JavaScript 7 views posted 8 years ago by marzsman
  24. FAV

    Zoom and fit bounds Google maps V3

    Center the map on an array of latlng values
    JavaScript 7 views posted 8 years ago by marzsman
  25. FAV

    Google Analytics tracking link click and form submit to multiple trackers

    <p>usage: <br> <code>&lt;a href="" onclick="recordOutboundLink(link, category, action, opt_label, opt_value);return false;"&gt; <br> &lt;form id="uniqueID" onsubmit="trackFormSubmit(form, category, action, opt_label, opt_value);return false;"&gt;</...
    JavaScript 11 views posted 8 years ago by freezy
  26. FAV

    Google Maps w/ multiple infoWindows

    JavaScript 5 views posted 8 years ago by Zedley
  27. FAV

    Google Analytics: Anonymize IP Adresses

    **Use this line to anonymize IP adresses in Google Analytics:** _gaq.push(['_gat._anonymizeIp']);
    JavaScript 6 views posted 9 years ago by JonasDoebertin
  28. FAV

    Integrating Google Analytics with a CRM

    JavaScript 7 views posted 9 years ago by whak
  29. FAV

    Optimised Google Analytics

    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...
    JavaScript 5 views posted 9 years ago by paul66
  30. FAV

    Load jQuery from Google CDN, but fallback to local if it fails

    JavaScript saved by 14 people 24 views posted 9 years ago by matula
« Prev 1 2 3