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 7743971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:39:59+00:00 2026-06-01T09:39:59+00:00

Inspecting _utm.gif I’ve determined the Extensible Parameter utme is not being passed. I don’t

  • 0

Inspecting _utm.gif I’ve determined the Extensible Parameter utme is not being passed. I don’t see it at all when I inspect it with Firebug. I’m trying to track an event with Google Analytics – a simple button click.

The Google code in <head>.

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-XXXXXXXX-1']);  //in reality, this ID is set correctly
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

<script type="text/javascript">
function recordOutboundLink(link, category, action) {
  try {
    var myTracker=_gat._getTrackerByName();
    _gaq.push(['myTracker._trackEvent', ' + category + ', ' + action + ']);
    setTimeout('document.location = "' + link.href + '"', 100)
  }catch(err){}
}
</script>

The code I use in the <body>

<a onClick="recordOutboundLink(this, 'button', 'clicked');return false;" href="http://someoutboundlink.com">
<img src="http://some-image.png">
</a>

What am I missing? Why aren’t my params button and clicked being passed in the _utm.gif?

  • 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. Editorial Team
    Editorial Team
    2026-06-01T09:39:59+00:00Added an answer on June 1, 2026 at 9:39 am

    Your function is wrong. Just because you named your tracker variable myTracker it’s not the internal name of the tracker. In your case you use a nameless tracker. And the correct way to fire an event for it is just calling _trackEvent.

    function recordOutboundLink(link, category, action) {
      try {
        _gaq.push(['_trackEvent', category , action ]);
        setTimeout('document.location = "' + link.href + '"', 100)
      }catch(err){}
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Inspecting what facebook is doing in my navigator, I see this code: for (;;);{t:refresh}
From inspecting latest facebook and expedia iphone app, I can see the developers have
For inspecting all events posted to the views of the window, I want to
I am inspecting the html at this site: listverse.com I see that they have
I have been inspecting some PHP source codes and I more often than not
After inspecting the information of individual fields attached to the doc.Form I see the
I tried inspecting the elements for this website, but I could not figure out
I'm sure we all have received the wonderfully vague Object reference not set to
I am inspecting some interesting behaviors of browser, I don't know it's in standard
Inspecting the image in IE8 shows that it's being rendered - but with: height:

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.