Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 131971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T06:11:21+00:00 2026-05-11T06:11:21+00:00

I am using different analytics tags in one of our web applications. Most of

  • 0

I am using different analytics tags in one of our web applications. Most of them call a javascript code for tracking.

Some tags have url of gif image with querystrings.

Example : http://www.google-analytics.com/__utm.gif?utmwv=45.542

What exactly does this url do? How do they get the values from querystring?

Update: (After reading some answers) I know every browser will load the gif which is 1×1 pixel. But how are they getting the values from query string? in the above case how can they retrieve the value of utmwv? Any code samples ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T06:11:22+00:00Added an answer on May 11, 2026 at 6:11 am

    Basically, you write a script in your preferred language, and map that script to yourtrackingscript.gif. ..jpg, png even.

    Have done this in asp.net using a http handler.

    The script reads the querystring like any other dynamic page (aspnet, asp, php, anything really), then writes it to a db or log file, or does whatever else you want to do with it.

    Then set the content-type header appropriately e.g ‘image/gif’, and send back a 1 pixel image, or any other sized image you like.

    For just a 1 pixel image, I have opened up a 1 pixel spacer.gif type image in a hex editor, and hard coded it as a byte array to send out as the response, will save a little IO overhead if it gets hit a lot, alernatively, you can read a file from disk or DB and send that back instead.

    This is a commonly used trick in email newsletters to track open rates etc.
    Often the hardest bit about it is when you don’t have enough rights to map the url to the script on a shared machine, but you can develop it as a normal script/program, then get the mapping sorted out once you have it working.

    Most modern browsers will respond to a an aspx or php (.etc…) url as an image if it sends the right headers, it’s older browsers, browser nanny plugins, and email clients that are the most pernickety about it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Some of my script are using different encoding, and when I try to combine
I have a thread that downloads some images from internet using different proxies. Sometimes
I am using Google analytics and wish to differentiate between two different cases on
I am using Flurry for analytics in my android app, and for one event
I have been using the older version of analytics code and used the following
I am using google analytics and have a filter for one of the websites
My MySQL database contains several tables using different storage engines (specifically myisam and innodb).
I work on a variety of projects using different languages and platforms. Parts of
I need to create an array using a object using different format/structure I have:
If i had two different application running under the same solution but using different

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.