| @@ -218,14 +218,14 @@ | ||
| 218 | 218 | /* translators: %s: Approx. time to response after ticket submission. */ |
| 219 | 219 | $notification = sprintf( esc_html__( 'You will receive an email notification from "[email protected]" in your inbox within %s.', 'disco' ), $twenty4Hours ); |
| 220 | 220 | $followUp = esc_html__( 'Please Follow the email and Disco Support Team will get back with you shortly.', 'disco' ); |
| 221 | 221 | $response .= sprintf( '<p>%s %s %s</p>', $ticketSubmitted, $notification, $followUp ); |
| 222 | - $docLink = sprintf( '<a class="disco-notice-primary-button" href="https://discoplugin.com/docs/" target="_blank"><span class="dashicons dashicons-media-document" aria-hidden="true"></span> %s</a>', esc_html__( 'Documentation', 'disco' ) ); | |
| 222 | + $docLink = sprintf( '<a class="disco-notice-primary-button" href="https://discoplugin.com/docs/?utm_source=disco-plugin&utm_medium=in-plugin&utm_campaign=support-ticket-notice&utm_content=docs-button" target="_blank"><span class="dashicons dashicons-media-document" aria-hidden="true"></span> %s</a>', esc_html__( 'Documentation', 'disco' ) ); | |
| 223 | 223 | $vidLink = sprintf( '<a class="disco-notice-primary-button" href="https://www.youtube.com/c/WebAppick" target="_blank"><span class="dashicons dashicons-video-alt3" aria-hidden="true"></span> %s</a>', esc_html__( 'Video Tutorials', 'disco' ) ); |
| 224 | 224 | $response .= sprintf( '<p>%s %s</p>', $docLink, $vidLink ); |
| 225 | 225 | $response .= '<br><br><br>'; |
| 226 | - $toc = sprintf( '<a class="disco-notice-link-text" href="https://discoplugin.com/terms-and-condition/" target="_blank">%s</a>', esc_html__( 'Terms & Conditions', 'disco' ) ); | |
| 227 | - $pp = sprintf( '<a class="disco-notice-link-text" href="https://discoplugin.com/privacy-policy/" target="_blank">%s</a>', esc_html__( 'Privacy Policy', 'disco' ) ); | |
| 226 | + $toc = sprintf( '<a class="disco-notice-link-text" href="https://discoplugin.com/terms-and-condition/?utm_source=disco-plugin&utm_medium=in-plugin&utm_campaign=support-ticket-notice&utm_content=terms-link" target="_blank">%s</a>', esc_html__( 'Terms & Conditions', 'disco' ) ); | |
| 227 | + $pp = sprintf( '<a class="disco-notice-link-text" href="https://discoplugin.com/privacy-policy/?utm_source=disco-plugin&utm_medium=in-plugin&utm_campaign=support-ticket-notice&utm_content=privacy-link" target="_blank">%s</a>', esc_html__( 'Privacy Policy', 'disco' ) ); | |
| 228 | 228 | /* translators: 1: Link to the Trams And Condition Page, 2: Link to the Privacy Policy Page */ |
| 229 | 229 | $policy = sprintf( esc_html__( 'Please read our %1$s and %2$s', 'disco' ), $toc, $pp ); |
| 230 | 230 | $response .= sprintf( '<p style="font-size: 12px;">%s</p>', $policy ); |
| 231 | 231 | return $response; |
| @@ -346,9 +346,9 @@ | ||
| 346 | 346 | global $plugin_page; |
| 347 | 347 | $user_id = get_current_user_id(); |
| 348 | 348 | $nonce = wp_create_nonce( 'disco_pro_notice_nonce' ); |
| 349 | 349 | $pluginName = sprintf( '<b>%s</b>', esc_html__( 'Disco', 'disco' ) ); |
| 350 | - $proLink = sprintf( '<b><a href="https://discoplugin.com/" target="_blank">%s</a></b>', esc_html__( 'Premium', 'disco' ) ); | |
| 350 | + $proLink = sprintf( '<b><a href="https://discoplugin.com/?utm_source=disco-plugin&utm_medium=in-plugin&utm_campaign=review-notice&utm_content=premium-link" target="_blank">%s</a></b>', esc_html__( 'Premium', 'disco' ) ); | |
| 351 | 351 | $has_notice = false; |
| 352 | 352 | |
| 353 | 353 | //submit review notice form data |
| 354 | 354 | $this->disco_save_review_notice(); |