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
Click/Load Broken #4
Comments
Hi pvolk, Thanks for the bug! I'll have a look. At the moment, I'm just seeing a single Omniture request on that page (to om.hotwire.com; verified on the Net tab). Any other steps I need to take to get the two events to fire? |
Hi again, So far I'm unable to duplicate the issue exactly. .441:
One Omniture click event (from the previous page), two GA load events .451:
One Omniture click event (from the previous page) (not shown), two GA load events The only difference between the two is in the later version, the Omniture click event from the previous page (most likely fired on form submit) is not shown, because it has expired. Telling load and click events apart is a bit tricky, because there's nothing generic in the URLs that differentiate them. Omnibug knows when the top-level page starts loading and when it finishes, and any analytics requests that come in during that time are considered I will keep investigating, but if you could please repeat your test in .448 a few times I would appreciate it. Ideally you could repeat it a couple of times on different computers -- I'm curious to know if it occurs reliably, or if it is related to timing. |
Hey Ross. Thanks for looking into this! I put together this PDF with some pictures Anyways, let me know if I can help more with this. EDIT: Looks like github doesn't like email attachments. Here's a link to the PDF in google drive. On Wed, Jul 17, 2013 at 7:25 AM, Ross Simpson notifications@github.comwrote:
|
Paul, Thanks for the extra detail, that helps clarify the steps to reproduce. I'm sorry to say that I still can't reproduce it, though. I tried on Windows 7, OS X 10.7, and Linux (Debian), all with Firefox 22. I was able to get .441 to behave as detailed in your PDF, but no matter what I try I can't get the later version(s) of Omnibug to show the load event as a click event. Just to show we're on the same page, here's what I'm seeing: To take this further, please do the following:
The above settings will enable a console where Omnibug's low-level debugging info will be printed. If you could, please run a single test which exhibits the problem (open the browser, open Firebug, navigate to www.hotwire.com, perform a cars search) and send me the full output from the console. This should help me dig deeper into what's causing the mismatched event types. I'm guessing it's a timing issue, but hard to say for sure. Cheers! |
You know, I think you are in a version test that doesn't have the issue. Can you follow the same steps doing an Airfare search (there are no tests If you still cannot reproduce using this method, I'll follow your On Fri, Jul 19, 2013 at 8:01 AM, Ross Simpson notifications@github.comwrote:
Paul Volk Mobile: +1-408-905-8489 |
Hi Paul, (Sorry for the delay -- was out of the country for a little while) I've just tried again with Airfare searches, and unfortunately still am not able to reproduce the click events. For the airfare search, I see two load events in Omnibug (pageNames air.searching and air.results), and two corresponding Omniture calls in the net tab. I am determined to fix this issue, but am a bit stumped at the moment. If you could follow those steps in my previous message, that will give me some idea of what's going on. Thanks! |
Hello Gents, Cheers |
Hi Matthew, Yes please! If you could write up a detailed set of steps to reproduce, I would very much appreciate it. Starting URL, steps, OS/browser type & versions, Omnibug versions (which do or do not exhibit the problem), etc. It's quite a frustrating bug, and it would be very helpful to have a test case that's reproducible in one of my environments. Thanks! |
Hello, Essentially, the page load event which is usually labelled in Omnibug as a blue [LOAD] event is coming up in Omnibug as a green [CLICK] event. From what I can see, the usual LOAD label appears when the omniture/sitecatalyst/adobe analytics image beacon is appears between DOMContentLoaded and Load. (using the NET panel in firebug) In fact the issue is intermittent, and largely dependant on when the the image beacon appears on the time line. |
What if we looked at the value of the 'pe' query string parameter on the image beacon? If pe is: |
Hey Ross, I finally did the console dump and have a screenshot to go with it. If you follow my original steps while searching for a flight, you'll be able to reproduce this. Screenshot attached. Here is the console dump following those steps with a flight search: 3:55:27 PM.177: destroyContext: context[25851] 3:55:27 PM.200: initContext: context[34165]; browser[22138] 3:55:28 PM.119: decodeUrl: processing key=de737955cd30f71313b06b7c8f1d76ca (don 3:55:50 PM.122: initContext: context[130]; browser[22138] 3:55:51 PM.035: decodeUrl: processing key=a558a6048a0563ea5eae5e01f0566298 (don 3:55:51 PM.159: decodeUrl: processing key=2d34be12eb81c7a12ccf61716702bfa7 (don 3:55:54 PM.373: decodeUrl: processing key=67495fcb63322361190af2975dd52bf6 (don |
Sorry for the delay responding -- I have some time set aside this weekend to tackle this problem. Paul, thanks for the details, they will be quite helpful. As I mentioned above, differentiating click and load events is a bit tricky to do in a generic fashion. In Omniture it's a little easier, because of the pe parameter. Omnibug already does check pe, and overrides the event type to 'click' when pe is present. The fact that this used to work fine (in .441 and before) makes me think that my refactoring has changed this behavior, albeit in a non-obvious way. I will spend time this weekend trying to knock this one out for good. More info to follow. |
Code in common.js will at some point be pulled back into top-level common/ dir. Fixed issue #4 relating to load events getting marked as click events (was due primarily to typo in check for Omniture `pe' param check).
Hi guys, I'm sure I already posted this last week, but it appears not. I think I've fixed this issue. It does seem to have been an issue with the code that handles the `pe' parameter. I have refactored that code a bit, both to fix the issue, and to make it testable (there are now several unit tests around this particular issue). I prepared a pre-release build which contains the fix for just this issue. If you would, please download and install the following build: http://www.rosssimpson.com/dev/tmp/omnibug-0.5.499.xpi That should fix the click/load issue, finally. Please give that version a try and let me know how it goes! |
Hello Ross, |
Hey Ross, This looks good to me. Thanks for the work getting this fixed! Out of curiosity, what did the fix end up being? |
Thanks for your help, guys. The problem, embarrassingly, was using an incorrect variable for the `pe' check (some variable names changed during a recent refactor, and I ended up checking the name of the provider, rather than the code). It looked correct, just wasn't. I've publicly released version 0.5.500, which contains this fix. Cheers! |
So I was able to confirm this bug by downgrading from 0.5.448 (the one with the bug) to 0.5.441 (no bug) on the firefox versions page.
To reproduce:
HERE'S THE BUG
Can you help fix please! Donation incoming by the way... this is the best Omniture debugger and the only one kept up to date.
The text was updated successfully, but these errors were encountered: