Forum Discussion
Thanks for your detailed answer! I tried all the examples, but none have worked just yet. The very last thing you said was to run the 2nd example, and attach a listener to every <a> element, every time the auto complete results are generated. I think that sounds like the best bet, but what would you recommend using as a trigger? What can I listen for that will trigger my script every time the autocomplete results are generated and appear in the DOM?
Also, none of my events have shown up on Google Analytics just yet, despite successful in-browser testing. It can take a few hours to show up sometimes, but just in case, if your LDN folks know anything about GA events inside Lithium, I'd love any info they have.
Thanks again!
The data from our new Ask a Question Search component is starting to come in: http://screencast.com/t/TvtOhUutF0U.
Explaining the screenshot:
Focus = when a user focuses on the input to search
postByClick = when a user clicks the "Ask the Community" button, thereby creating a post
postByKey = when a user keys "Return" from the input, thereby creating a post
The major data point missing is how many ClickThroughs to suggested content! Tips welcomed. In lieu of native Lithium event tracking, it would be great to get this figured out.
As an interim solution, it would be great if we could tell in the Lithium Admin Metrics when the "Auto-suggest click-throughs" are coming through the Ask a Question Search component vs. the nav bar search component (screenshot of 2 components).
Thanks in advance, Lithium!
Related Content
- 3 months ago
- 11 years ago