Issues with Adobe Analytics integration with PDF Embed API
Hey all! I'm working to integrate analytics tracking for PDFs for one of my clients, and am having some difficulties with the Adobe Analytics integration that's part of the view-sdk module.
- First issue: I often see multiple calls getting sent for the same thing (e.g. "viewed page 1 of the doc") even when I haven't scrolled or moved my position in the doc at all.
- Second (and much bigger) issue: The ViewSDKInterface.js code (where the Analytics integration actually lives) is hardcoded to use s.t(), which is an Analytics-specific call to send data and mark it as a page view. This is problematic, because these are non-page-view events, and so using a page view call to track them (especially with the API being as verbose as it is with its tracking) will cause some pretty bad inflation of page view metrics in Adobe Analytics. There needs to, at the very least, be an option to use an s.tl() call instead (and this should probably be the default).
I would be happy to submit a pull request to resolve the above concerns, but I couldn't find the ViewSDK module anywhere in Github. Is this available in Github or anywhere else publicly at the moment where I could submit a pull request? Alternatively, who can I perhaps work with at Adobe to get this resolved? In its current state it's virtually unusable for any Analytics tracking in a production environment.
Thanks in advance for your help!
-Shawn
