Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Print Button Tracking Challenge When Invoking Browser Print Function

tkirwin
Level 1
Level 1

Applying tracking code to any button that invokes the browser print dialogue generates the adobe event after a user clicks the (Print or Cancel) button within the dialogue window.  Is there anyway to capture clicks on the button before the dialogue opens (beforePrint) as we want to gauge intent at the actual point of interaction on the button?  Perhaps changing the order in some way so the click is tracked then the browser print function is launched rather then when the user interacts with the dialogue box. There is a good discussion regarding applying tags to track print here but interaction is again tracked after a user clicks the dialogue print, cancel or save if pdf, etc.

https://www.blastanalytics.com/blog/tracking-print-page-action-google-analytics

afterPrint beforePrint Browser Print Function Print Tracking
1 Reply
yuhuisg
Community Advisor
Community Advisor

Your referenced article is written to teach you how to do exactly what you've observed: track what the user did after closing the print dialogue.

If you want to track your "Print" button clicks regardless of what the user finally did, you can use a regular "onclick" event handler with your button. Or if you're using Launch, you can use a Rule that has a Click event for that button.