skip to main | skip to sidebar

soft and program

Thursday, July 30, 2009

[jQuery] Re: Cross-domain (for analytics)

Google Analytics does it by passing their parameters on the src URI of
an image call which doesn't hit cross domain problems:

http://www.google-analytics.com/__utm.gif?utmwv=4.3.1&utmn=187577837&utmhn=prism.talis.com&utmcs=UTF-8&utmsr=1440x900&utmsc=24-bit&utmul=en-us&utmje=1&utmfl=10.0%20r22&utmdt=Catalogue%20Home&utmhid=1819877514&utmr=-&utmp=/sandbox-gov/&utmac=undefined&utmcc=__utma%3D122530634.1390897904446935800.1247157196.1248795639.1248960807.19%3B%2B__utmz%3D122530634.1247157196.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B

The code to dynamicly insert the <img> coming from the analytics
script http://google-analytics.com/ga.js

Posted by sexcat at 6:44 AM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2025 (1)
    • ►  March (1)
  • ►  2024 (48)
    • ►  December (1)
    • ►  September (1)
    • ►  August (5)
    • ►  July (3)
    • ►  June (1)
    • ►  April (3)
    • ►  February (19)
    • ►  January (15)
  • ►  2023 (263)
    • ►  December (10)
    • ►  November (15)
    • ►  October (13)
    • ►  September (20)
    • ►  August (24)
    • ►  July (28)
    • ►  June (13)
    • ►  May (17)
    • ►  April (20)
    • ►  March (39)
    • ►  February (30)
    • ►  January (34)
  • ►  2022 (330)
    • ►  December (45)
    • ►  November (51)
    • ►  October (50)
    • ►  September (60)
    • ►  August (40)
    • ►  July (14)
    • ►  June (4)
    • ►  May (2)
    • ►  April (4)
    • ►  March (7)
    • ►  February (6)
    • ►  January (47)
  • ►  2021 (575)
    • ►  December (27)
    • ►  November (40)
    • ►  October (47)
    • ►  September (47)
    • ►  August (26)
    • ►  July (35)
    • ►  June (73)
    • ►  May (64)
    • ►  April (54)
    • ►  March (37)
    • ►  February (55)
    • ►  January (70)
  • ►  2020 (814)
    • ►  December (65)
    • ►  November (52)
    • ►  October (56)
    • ►  September (71)
    • ►  August (61)
    • ►  July (58)
    • ►  June (101)
    • ►  May (88)
    • ►  April (68)
    • ►  March (75)
    • ►  February (59)
    • ►  January (60)
  • ►  2019 (756)
    • ►  December (70)
    • ►  November (73)
    • ►  October (63)
    • ►  September (67)
    • ►  August (67)
    • ►  July (51)
    • ►  June (50)
    • ►  May (66)
    • ►  April (62)
    • ►  March (56)
    • ►  February (61)
    • ►  January (70)
  • ►  2018 (858)
    • ►  December (67)
    • ►  November (79)
    • ►  October (81)
    • ►  September (75)
    • ►  August (70)
    • ►  July (73)
    • ►  June (67)
    • ►  May (56)
    • ►  April (93)
    • ►  March (74)
    • ►  February (53)
    • ►  January (70)
  • ►  2017 (755)
    • ►  December (65)
    • ►  November (56)
    • ►  October (61)
    • ►  September (45)
    • ►  August (59)
    • ►  July (64)
    • ►  June (56)
    • ►  May (71)
    • ►  April (56)
    • ►  March (85)
    • ►  February (70)
    • ►  January (67)
  • ►  2016 (814)
    • ►  December (70)
    • ►  November (62)
    • ►  October (71)
    • ►  September (60)
    • ►  August (60)
    • ►  July (68)
    • ►  June (46)
    • ►  May (84)
    • ►  April (78)
    • ►  March (67)
    • ►  February (73)
    • ►  January (75)
  • ►  2015 (786)
    • ►  December (71)
    • ►  November (59)
    • ►  October (48)
    • ►  September (49)
    • ►  August (58)
    • ►  July (52)
    • ►  June (80)
    • ►  May (62)
    • ►  April (64)
    • ►  March (89)
    • ►  February (86)
    • ►  January (68)
  • ►  2014 (423)
    • ►  December (68)
    • ►  November (74)
    • ►  October (61)
    • ►  September (49)
    • ►  August (5)
    • ►  July (6)
    • ►  June (6)
    • ►  May (12)
    • ►  April (4)
    • ►  March (15)
    • ►  February (56)
    • ►  January (67)
  • ►  2013 (29)
    • ►  December (6)
    • ►  November (15)
    • ►  October (8)
  • ►  2010 (1405)
    • ►  February (149)
    • ►  January (1256)
  • ▼  2009 (17509)
    • ►  December (1372)
    • ►  November (1395)
    • ►  October (1448)
    • ►  September (1452)
    • ►  August (1468)
    • ▼  July (1493)
      • [jQuery] Re: dialog within tab
      • comp.lang.c++ - 25 new messages in 11 topics - digest
      • [jQuery] Re: Superfish z-index problem with google...
      • [jQuery] Re: Select Boxes - Pulling the currently ...
      • [jQuery] Re: jQuery Modal script needed...
      • [jQuery] Re: Cycle Lite not working in IE
      • [jQuery] Re: Ajax sometimes not executing callback...
      • [jQuery] Re: What am i doing wrong????
      • [jQuery] Re: What am i doing wrong????
      • [jQuery] How to change message while the page is b...
      • [jQuery] Multiple Jqueries, multiple <ul> elements...
      • [jQuery] Re: jquery blocks javascript?
      • [jQuery] Re: jQuery lagging
      • [jQuery] Re: Superfish z-index problem with google...
      • comp.lang.c++ - 26 new messages in 13 topics - digest
      • [jQuery] Re: jQuery lagging
      • [jQuery] Superfish z-index problem with googlemap ...
      • [jQuery] left side Slide on hover
      • comp.lang.c++ - 25 new messages in 12 topics - digest
      • [jQuery] Re: Is it possible to hide the destinatio...
      • [jQuery] Access an object
      • [jQuery] Re: jquery blocks javascript?
      • [jQuery] jquery form plugin ajaxSubmit / fieldvalu...
      • [jQuery] Re: flickering issue when using animate()...
      • [jQuery] Re: jquery.ajax with async=false is not s...
      • [jQuery] Re: jquery.ajax with async=false is not s...
      • [jQuery] Re: Is it possible to hide the destinatio...
      • [jQuery] Re: Does IE support live?
      • [jQuery] Re: Does IE support live?
      • comp.programming.threads - 3 new messages in 2 top...
      • [jQuery] Does IE support live?
      • [jQuery] Re: call ajax on ENTER key press
      • [jQuery] Re: jquery blocks javascript?
      • comp.lang.c++ - 25 new messages in 11 topics - digest
      • [jQuery] Re: Is it possible to hide the destinatio...
      • [jQuery] Re: jquery blocks javascript?
      • [jQuery] Re: Is it possible to hide the destinatio...
      • [jQuery] Re: Is it possible to hide the destinatio...
      • [jQuery] Re: How to show a div upon a validation e...
      • [jQuery] Re: call ajax on ENTER key press
      • [jQuery] Re: call ajax on ENTER key press
      • [jQuery] call ajax on ENTER key press
      • [jQuery] Re: My new website AllJobsXChange.com dev...
      • [jQuery] Re: jquery blocks javascript?
      • [jQuery] Re: A few novice questions on Datepicker
      • comp.programming.threads - 25 new messages in 4 to...
      • [jQuery] Re: jQuery and the 'this' keyword
      • [jQuery] Re: getting started with superfish -- ins...
      • [jQuery] Re: simplemodal scroll problems
      • comp.lang.c++ - 25 new messages in 5 topics - digest
      • [jQuery] Re: Detect ajax with file uploads
      • [jQuery] Is it possible to hide the destination UR...
      • [jQuery] Re: Cross-domain (for analytics)
      • [jQuery] Re: jquery blocks javascript?
      • [jQuery] What is the point of the "status" param t...
      • [jQuery] Download
      • [jQuery] Re: jquery blocks javascript?
      • [jQuery] A few novice questions on Datepicker
      • [jQuery] Re: jquery blocks javascript?
      • [jQuery] Re: Simple calculation
      • [jQuery] Help with jquery Navbar rollovers.
      • [jQuery] Re: Cross-domain (for analytics)
      • [jQuery] Re: Jquery Ajax Postbacks
      • [jQuery] Re: Cross-domain (for analytics)
      • [jQuery] Re: Cross-domain (for analytics)
      • [jQuery] jCarousel and ThickBox
      • [jQuery] Re: Cross-domain (for analytics)
      • [jQuery] Re: div at child of body does not work
      • [jQuery] Re: Basic questions about jQuery validati...
      • [jQuery] Re: File size of jQuery.min.js != 19KB
      • [jQuery] Facing Error in Jquery!!
      • [jQuery] Re: Unresponsive Javascript Error
      • [jQuery] Re: Unresponsive Javascript Error
      • [jQuery] External Script Not Firinf in IE
      • comp.lang.c++ - 26 new messages in 13 topics - digest
      • [jQuery] Looking for assistance implementing jQuer...
      • [jQuery] Extensions success
      • [jQuery] Re: Bug? -- toggle() of TR broke in IE8
      • [jQuery] Re: Can't change padding using animate() ...
      • [jQuery] Cross-domain (for analytics)
      • [jQuery] Re: Use my plugin fn without $('') selector
      • [jQuery] Use my plugin fn without $('') selector
      • comp.lang.c++ - 26 new messages in 17 topics - digest
      • [jQuery] Re: jqm and livequery issue
      • [jQuery] (validate) Show Element instead of js
      • [jQuery] Re: fn question
      • comp.programming.threads - 10 new messages in 5 to...
      • comp.lang.c++ - 25 new messages in 11 topics - digest
      • [jQuery] File size of jQuery.min.js != 19KB
      • [jQuery] Re: jquery blocks javascript?
      • [jQuery] Re: jquery blocks javascript?
      • [jQuery] Re: jquery blocks javascript?
      • [jQuery] Re: fn question
      • [jQuery] Re: small problem
      • [jQuery] Re: Problems with getJSON between browsers
      • [jQuery] Re: Linkselect Plugin Woes
      • [jQuery] fn question
      • [jQuery] Table sorter 2.0 Date format issue
      • [jQuery] Re: Unresponsive Javascript Error
      • [jQuery] Re: jQuery Nesting Tables
    • ►  June (1453)
    • ►  May (1509)
    • ►  April (1483)
    • ►  March (1512)
    • ►  February (1388)
    • ►  January (1536)
  • ►  2008 (5289)
    • ►  December (1451)
    • ►  November (1491)
    • ►  October (1499)
    • ►  September (848)

About Me

sexcat
View my complete profile