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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:37:54+00:00 2026-06-04T19:37:54+00:00

I am using Google Analytic’s event tagging on a somewhat complicated code base. Instead

  • 0

I am using Google Analytic’s event tagging on a somewhat complicated code base. Instead of going through every file and finding where all of the necessary events are, I was thinking of creating new events using jQuery’s on method to delegate them. Should I be concerned about any potential performance issues by going along this route?

  • 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-04T19:37:55+00:00Added an answer on June 4, 2026 at 7:37 pm

    In a general note (I’m assuming because I’m just going with what you’ve shared), you shouldn’t be worried at all about performance when using delegates over binds. There are even arguments that delegate is better than bind on a level playing field, but I won’t go into details about that.

    The most prominent performance pitfall you’ll find with delegates, though, is that by the nature of how they work, your events will have to bubble up to the delegated element before the actual event fires.

    Now, if your code is complicated enough (as you seem to suggest), and if your DOM tree is deep enough (which I’m assuming since you’re considering using a delegate as a catch-all), your event will have to bubble up quite a good distance before the event fires.

    Is the trigger delay significant enough for you to be worried about? Will it affect the asynchronous ordering of other events in your code (if that even matters)? You know your code, so you can tell it best.

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

Sidebar

Related Questions

I want track offline event using Google Analytic and Local Storage. this is my
I am looking for code, examples, library, components for using google analytics event tracking
Is there anyway, using google analytics, to track a user's journey/selections through a long
What I want to do is use google analytic's custom event tracking from within
I am trying to get the entrance source from Google Analytic by using Gattica
I am using Google Analytics Asynchronous tracking code and trying to track clicks on
When using Google Analytics and using the newer ga.js file, is the __utm.gif file
I'm using the code in the following post: Google Analytics API - Programmatically fetch
I am using google analytics event tracking to track 2 Facebook canvas application. (they
Currently using Google Analytics as a supplement to our paid tracking software, but neither

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.