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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:28:10+00:00 2026-06-16T00:28:10+00:00

I found this script that will track the page zoom. I’ve tested it with

  • 0

I found this script that will track the page zoom. I’ve tested it with a consol.log() to confirm the results are accurate and that script is working. When I add that value in my google event tracking code I don’t see it coming into google analytics. Is there something wrong with how i’m tracking my event?

// Track page zoom level
var zoomLevel = DetectZoom.zoom();

$(document).ready(function() {
    _gaq.push(['_trackEvent', 'Site Info', 'Zoom Level', zoomLevel]);
});
  • 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-16T00:28:11+00:00Added an answer on June 16, 2026 at 12:28 am

    The optional label parameter for _trackEvent is supposed to be a string, and can cause _trackEvent to fail silently if it’s an int. Try

    _gaq.push(['_trackEvent', 'Site Info', 'Zoom Level', zoomLevel.toString()]);
    

    Also, I’d suggest using the optional nonenteraction parameter so the _trackEvent call doesn’t affect your bounce rate:

    _gaq.push(['_trackEvent', 'Site Info', 'Zoom Level', zoomLevel.toString(), undefined, true]);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found this script on pastebin that is an IRC bot that will find
I found this script that gives you the username in Windows, but I get
I found this script attached to a modified index page. This looks like some
I found this random page script which is in PHP file. I'm a bit
I am looking for some help. I have found this script that sort of
I found an interesting Bash script that will test if a variable is numeric/integer.
I found this script: <script language=Javascript TYPE=text/javascript> var container = document.getElementById('dl'); var seconds =
Hi i'm building a webapp. To remove the onclick delay i found this script
I've found this login script and I'm trying to implement it into my website
I found this RGB to HSL script over at http://www.mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript . I can't find

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.