File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -424,6 +424,11 @@ private function get_tabs() {
424424 ];
425425 }
426426
427+ $ tabs [] = [
428+ 'textContent ' => esc_html__ ( 'Tracking ' , 'newspack-plugin ' ),
429+ 'href ' => admin_url ( 'edit.php?post_type= ' . Newspack_Newsletters::NEWSPACK_NEWSLETTERS_CPT . '&page= ' . $ this ->slug . '#/tracking ' ),
430+ ];
431+
427432 return $ tabs ;
428433 }
429434
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ class NewslettersWizard extends Component {
3131 path : '/' ,
3232 } ,
3333 {
34- label : __ ( 'Tracking' , 'newspack-plugin' ) ,
34+ label : __ ( 'Ads Tracking' , 'newspack-plugin' ) ,
3535 path : '/tracking' ,
3636 } ,
3737 ] ;
Original file line number Diff line number Diff line change @@ -52,17 +52,17 @@ export default withWizardScreen( () => {
5252
5353 return (
5454 < >
55- < h1 > { __ ( 'Tracking' , 'newspack-plugin' ) } </ h1 >
55+ < h1 > { __ ( 'Ads Tracking' , 'newspack-plugin' ) } </ h1 >
5656 < ActionCard
5757 title = { __ ( 'Click-tracking' , 'newspack-plugin' ) }
58- description = { __ ( 'Track the clicks on the links in your newsletter.' , 'newspack-plugin' ) }
58+ description = { __ ( 'Track the clicks on ads in your newsletter.' , 'newspack-plugin' ) }
5959 disabled = { inFlight }
6060 toggleOnChange = { handleChange ( 'click' ) }
6161 toggleChecked = { tracking . click }
6262 />
6363 < ActionCard
64- title = { __ ( 'Tracking pixel ' , 'newspack-plugin' ) }
65- description = { __ ( 'Track the opens of your newsletter.' , 'newspack-plugin' ) }
64+ title = { __ ( 'Ads impressions ' , 'newspack-plugin' ) }
65+ description = { __ ( 'Track the impressions of ads in your newsletter.' , 'newspack-plugin' ) }
6666 disabled = { inFlight }
6767 toggleOnChange = { handleChange ( 'pixel' ) }
6868 toggleChecked = { tracking . pixel }
You can’t perform that action at this time.
0 commit comments