-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
target attribute being broken #19
Comments
It definitely was when it was added. The problem was that the way Google was logging events, there was a slight delay because of some pre-processing, and the href part of the link would be followed and you'd leave the page before the javascript to trigger the event actually happened. The URL linked in the comment used to actually warn of this problem, but now it looks like they've updated their docs to show the proper way to do this with their new Univeral Analytics. It looks like if we use those we can eliminate the need for the delay. I'm not sure about the standard ga.js stuff that's currently being used. I haven't tested it in quite a while. We could probably change our selector for this from |
Hi, Aaron, thanks a lot. |
Hi, Aaron,
Hope this is useful. |
This breaks 'target' attribute of links (a link with target '_blank' will be opened in the same window):
Is it really necessary to add that delay?
The text was updated successfully, but these errors were encountered: