Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.js |
— | — | @@ -3069,6 +3069,7 @@ |
3070 | 3070 | params.articleFeedbackv5_ct_token = $.cookie( 'clicktracking-session' ); |
3071 | 3071 | params.articleFeedbackv5_bucket_id = $.articleFeedbackv5.bucketId; |
3072 | 3072 | params.articleFeedbackv5_cta_id = $.articleFeedbackv5.ctaId; |
| 3073 | + params.articleFeedbackv5_f_link_id = $.articleFeedbackv5.floatingLinkId; |
3073 | 3074 | params.articleFeedbackv5_link_id = $.articleFeedbackv5.submittedLinkId; |
3074 | 3075 | params.articleFeedbackv5_location = $.articleFeedbackv5.inDialog ? 'overlay' : 'bottom'; |
3075 | 3076 | } |
Index: trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.hooks.php |
— | — | @@ -397,6 +397,7 @@ |
398 | 398 | $tracking = $request->getVal( 'articleFeedbackv5_click_tracking' ); |
399 | 399 | $bucketId = $request->getVal( 'articleFeedbackv5_bucket_id' ); |
400 | 400 | $ctaId = $request->getVal( 'articleFeedbackv5_cta_id' ); |
| 401 | + $flinkId = $request->getVal( 'articleFeedbackv5_f_link_id' ); |
401 | 402 | $location = $request->getVal( 'articleFeedbackv5_location' ); |
402 | 403 | $token = $request->getVal( 'articleFeedbackv5_ct_token' ); |
403 | 404 | $ctEvent = $request->getVal( 'articleFeedbackv5_ct_event' ); |
— | — | @@ -404,6 +405,7 @@ |
405 | 406 | $editPage->editFormTextAfterContent .= Html::hidden( 'articleFeedbackv5_click_tracking', $tracking ); |
406 | 407 | $editPage->editFormTextAfterContent .= Html::hidden( 'articleFeedbackv5_bucket_id', $bucketId ); |
407 | 408 | $editPage->editFormTextAfterContent .= Html::hidden( 'articleFeedbackv5_cta_id', $ctaId ); |
| 409 | + $editPage->editFormTextAfterContent .= Html::hidden( 'articleFeedbackv5_f_link_id', $flinkId ); |
408 | 410 | $editPage->editFormTextAfterContent .= Html::hidden( 'articleFeedbackv5_location', $location ); |
409 | 411 | $editPage->editFormTextAfterContent .= Html::hidden( 'articleFeedbackv5_ct_token', $token ); |
410 | 412 | $editPage->editFormTextAfterContent .= Html::hidden( 'articleFeedbackv5_ct_event', $ctEvent ); |
— | — | @@ -469,6 +471,7 @@ |
470 | 472 | $version = $wgArticleFeedbackv5Tracking['version']; |
471 | 473 | $bucketId = $request->getVal( 'articleFeedbackv5_bucket_id' ); |
472 | 474 | $ctaId = $request->getVal( 'articleFeedbackv5_cta_id' ); |
| 475 | + $flinkId = $request->getVal( 'articleFeedbackv5_f_link_id' ); |
473 | 476 | $location = $request->getVal( 'articleFeedbackv5_location' ); |
474 | 477 | $token = $request->getVal( 'articleFeedbackv5_ct_token' ); |
475 | 478 | $ctEvent = $request->getVal( 'articleFeedbackv5_ct_event' ); |
— | — | @@ -477,7 +480,7 @@ |
478 | 481 | $trackingId = $ctEvent . '-' . $event; |
479 | 482 | } else { |
480 | 483 | $trackingId = 'ext.articleFeedbackv5@' . $version |
481 | | - . '-option' . $bucketId |
| 484 | + . '-option' . $bucketId . $flinkId |
482 | 485 | . '-cta_' . ( isset( $ctas[$ctaId] ) ? $ctas[$ctaId] : 'unknown' ) |
483 | 486 | . '-' . $event |
484 | 487 | . '-' . $location; |