Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.js |
— | — | @@ -2169,6 +2169,7 @@ |
2170 | 2170 | $.articleFeedbackv5.$holder.appear( function () { |
2171 | 2171 | if ( !$.articleFeedbackv5.isLoaded ) { |
2172 | 2172 | $.articleFeedbackv5.load( 'auto', 'bottom' ); |
| 2173 | + $.articleFeedbackv5.trackClick( $.articleFeedbackv5.bucketName() + '-impression-bottom' ); |
2173 | 2174 | } |
2174 | 2175 | } ); |
2175 | 2176 | // Keep track of links that must be removed after a successful submission |
— | — | @@ -2633,9 +2634,6 @@ |
2634 | 2635 | bucket.afterBuild(); |
2635 | 2636 | } |
2636 | 2637 | |
2637 | | - // Track the event |
2638 | | - $.articleFeedbackv5.trackClick( $.articleFeedbackv5.bucketName() + '-impression-' + from ); |
2639 | | - |
2640 | 2638 | $.articleFeedbackv5.nowShowing = 'form'; |
2641 | 2639 | }; |
2642 | 2640 | |
— | — | @@ -3076,6 +3074,9 @@ |
3077 | 3075 | $.articleFeedbackv5.$dialog.dialog( 'open' ); |
3078 | 3076 | $.articleFeedbackv5.setLinkId( $link.data( 'linkId' ) ); |
3079 | 3077 | |
| 3078 | + // Track the impression |
| 3079 | + $.articleFeedbackv5.trackClick( $.articleFeedbackv5.bucketName() + '-impression-overlay' ); |
| 3080 | + |
3080 | 3081 | // Hide the panel |
3081 | 3082 | $.articleFeedbackv5.$holder.hide(); |
3082 | 3083 | |