Expand my Community achievements bar.

Announcement: Calling all learners and mentors! Applications are now open for the Adobe Analytics 2024 Mentorship Program! Come learn from the best to prepare for an official certification in Adobe Analytics.
SOLVED

Print Button Tracking Challenge When Invoking Browser Print Function

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
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.

View solution in original post

1 Reply

Avatar

Correct answer by
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.