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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T17:54:55+00:00 2026-06-08T17:54:55+00:00

I have added event tracking to my site, I am receiving a 200 response

  • 0

I have added event tracking to my site, I am receiving a 200 response and everything looks in a working conditions. I am using the following method I coded :

function track(event, action) {
        _gaq.push(['_trackEvent', 'Website Name and Section', event, action]);
    }

And binding it come click event to call the method passing through values like this :

track("Facebook Share", "click");

BUT on Google Analytics only display the amount of events logged (21,549), but not showing up in the break down??? See the screenshot below:

enter image description here

Please let me know what I can do to fix this issue… coz it clearly logs it, but not displaying it and making it available to view the event info.

  • 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-08T17:54:56+00:00Added an answer on June 8, 2026 at 5:54 pm

    I fixed it by making sure the latest GA Script was used, grabbing it from the Google Analytics console, and adding it before the closing </head> tag.

    <script type="text/javascript">
    
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'XX-XXXXXXX-X']); //Place correct account id
      _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>
    

    And my existing tracking event code worked 100%!

    function track(event, action) {
            _gaq.push(['_trackEvent', 'Website Name and Section', event, action]);
        }
    

    Usage :

    track("Facebook Share", "click");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have added a plugin called scrollpaper to a site I'm working on. The
In the adapter class of Listview i have added setOnClickListener event for each of
I have an XmlSerializer object, and I have added 2 event handlers to the
I have added an EventHandler for the Click-event to a picturebox but on runtime
I have select inputs dynamically added to form by $(selector).append(html) I'm using live('change',handler) to
If I have added Event.ENTER_FRAME listeners to different components, how can I set or
I am using Event Tracking on our conversion form to pass the values of
I have added an event to a user control, and I call the event
I have a ComboBox with several items. I have added an event handler to
I have a ListView control and I have added a DataBound event (don't know

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.