Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/wp-conte.../plugins/accelera.../includes/features/analytic...
File: analytics-options.php
'class' => 'child_opt',
[500] Fix | Delete
'id' => 'ppas-advanced-tracking-code',
[501] Fix | Delete
'type' => 'ace_editor',
[502] Fix | Delete
'title' => esc_html__('Analytics Code in JSON Format', 'accelerated-mobile-pages'),
[503] Fix | Delete
'required' => array(
[504] Fix | Delete
array('ampforwp-Piwik-Pro-switch', '=' , '1'),
[505] Fix | Delete
array('ppas-advanced-tracking', '=' , '1')
[506] Fix | Delete
),
[507] Fix | Delete
'mode' => 'javascript',
[508] Fix | Delete
'theme' => 'monokai',
[509] Fix | Delete
'desc' => '',
[510] Fix | Delete
'default' => (' {
[511] Fix | Delete
"vars": {
[512] Fix | Delete
"host": "##instance_domain##",
[513] Fix | Delete
"website_id": "##app_id##",
[514] Fix | Delete
"website_hash": "##tracker_hash##"
[515] Fix | Delete
},
[516] Fix | Delete
"triggers": {
[517] Fix | Delete
"exampleEvent": {
[518] Fix | Delete
"selector": "#mybutton",
[519] Fix | Delete
"on": "click",
[520] Fix | Delete
"request": "customevent",
[521] Fix | Delete
"vars": {
[522] Fix | Delete
"event_category": "buttons",
[523] Fix | Delete
"event_action": "click",
[524] Fix | Delete
"event_name": "testButton"
[525] Fix | Delete
}
[526] Fix | Delete
}
[527] Fix | Delete
}
[528] Fix | Delete
}')
[529] Fix | Delete
),
[530] Fix | Delete
// Quantcast
[531] Fix | Delete
array(
[532] Fix | Delete
'id' => 'ampforwp-Quantcast-switch',
[533] Fix | Delete
'type' => 'switch',
[534] Fix | Delete
'title' => 'Quantcast Measurement',
[535] Fix | Delete
'default' => ampforwp_get_default_analytics('4'),
[536] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[537] Fix | Delete
esc_html__('Enable this option to track quantcast analytics in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-quantcast-measurement-analytics-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[538] Fix | Delete
),
[539] Fix | Delete
array(
[540] Fix | Delete
'id' =>'amp-quantcast-analytics-code',
[541] Fix | Delete
'type' => 'text',
[542] Fix | Delete
'title' => esc_html__('p-code','accelerated-mobile-pages'),
[543] Fix | Delete
'default' => '',
[544] Fix | Delete
'required' => array(
[545] Fix | Delete
array('ampforwp-Quantcast-switch', '=' , '1')),
[546] Fix | Delete
),
[547] Fix | Delete
// comScore
[548] Fix | Delete
array(
[549] Fix | Delete
'id' => 'ampforwp-comScore-switch',
[550] Fix | Delete
'type' => 'switch',
[551] Fix | Delete
'title' => esc_html__('comScore','accelerated-mobile-pages'),
[552] Fix | Delete
'default' => ampforwp_get_default_analytics('5'),
[553] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[554] Fix | Delete
esc_html__('Enable this option to track comScore analytics in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-comscore-analytics-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[555] Fix | Delete
),
[556] Fix | Delete
array(
[557] Fix | Delete
'id' =>'amp-comscore-analytics-code-c1',
[558] Fix | Delete
'type' => 'text',
[559] Fix | Delete
'title' => esc_html__('C1','accelerated-mobile-pages'),
[560] Fix | Delete
'default' => '',
[561] Fix | Delete
'required' => array(
[562] Fix | Delete
array('ampforwp-comScore-switch', '=' , '1')),
[563] Fix | Delete
),
[564] Fix | Delete
array(
[565] Fix | Delete
'id' =>'amp-comscore-analytics-code-c2',
[566] Fix | Delete
'type' => 'text',
[567] Fix | Delete
'title' => esc_html__('C2','accelerated-mobile-pages'),
[568] Fix | Delete
'default' => '',
[569] Fix | Delete
'required' => array(
[570] Fix | Delete
array('ampforwp-comScore-switch', '=' , '1')),
[571] Fix | Delete
),
[572] Fix | Delete
// Effective Measure
[573] Fix | Delete
array(
[574] Fix | Delete
'id' => 'ampforwp-Effective-switch',
[575] Fix | Delete
'type' => 'switch',
[576] Fix | Delete
'title' => 'Effective Measure',
[577] Fix | Delete
'default' => ampforwp_get_default_analytics('6'),
[578] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[579] Fix | Delete
esc_html__('Enable this option to track effective measure analytics in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-effective-measure-analytics-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[580] Fix | Delete
),
[581] Fix | Delete
array(
[582] Fix | Delete
'id' => 'eam-feild',
[583] Fix | Delete
'type' => 'text',
[584] Fix | Delete
'title' => esc_html__( 'Effective Measure Analytics', 'accelerated-mobile-pages' ),
[585] Fix | Delete
'required' => array(
[586] Fix | Delete
array('ampforwp-Effective-switch', '=' , '1')
[587] Fix | Delete
),
[588] Fix | Delete
'desc' => esc_html__( 'Example: https://s.effectivemeasure.net/d/6/i?pu=CANONICAL_URL&ru=DOCUMENT_REFERRER&rnd=RANDOM', 'accelerated-mobile-pages' ),
[589] Fix | Delete
'tooltip-subtitle' => esc_html__('Enter your Effective Measure URL.', 'accelerated-mobile-pages' ),
[590] Fix | Delete
'default' => '#',
[591] Fix | Delete
),
[592] Fix | Delete
// StatCounter
[593] Fix | Delete
array(
[594] Fix | Delete
'id' => 'ampforwp-StatCounter-switch',
[595] Fix | Delete
'type' => 'switch',
[596] Fix | Delete
'title' => 'StatCounter',
[597] Fix | Delete
'default' => ampforwp_get_default_analytics('7'),
[598] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[599] Fix | Delete
esc_html__('Enable this option to track statcounter analytics in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-statcounter-analytics-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[600] Fix | Delete
),
[601] Fix | Delete
array(
[602] Fix | Delete
'id' => 'sc-feild',
[603] Fix | Delete
'type' => 'text',
[604] Fix | Delete
'title' => esc_html__( 'StatCounter', 'accelerated-mobile-pages' ),
[605] Fix | Delete
'required' => array(
[606] Fix | Delete
array('ampforwp-StatCounter-switch', '=' , '1')
[607] Fix | Delete
),
[608] Fix | Delete
'desc' => esc_html__( 'Example: https://c.statcounter.com/PROJECT_ID/0/SECURITY_CODE/1/', 'accelerated-mobile-pages' ),
[609] Fix | Delete
'tooltip-subtitle' => esc_html__('Enter your StatCounter URL.', 'accelerated-mobile-pages' ),
[610] Fix | Delete
'default' => '#',
[611] Fix | Delete
),
[612] Fix | Delete
// Histats Analytics
[613] Fix | Delete
array(
[614] Fix | Delete
'id' => 'ampforwp-Histats-switch',
[615] Fix | Delete
'type' => 'switch',
[616] Fix | Delete
'title' => esc_html__('Histats Analytics','accelerated-mobile-pages'),
[617] Fix | Delete
'default' => ampforwp_get_default_analytics('8'),
[618] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[619] Fix | Delete
esc_html__('Enable this option to track histats analytics in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-get-histats-analytics-id/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[620] Fix | Delete
),
[621] Fix | Delete
array(
[622] Fix | Delete
'id' => 'histats-field',
[623] Fix | Delete
'type' => 'text',
[624] Fix | Delete
'title' => esc_html__( 'Histats Analytics', 'accelerated-mobile-pages' ),
[625] Fix | Delete
'required' => array(
[626] Fix | Delete
array('ampforwp-Histats-switch', '=' , '1')
[627] Fix | Delete
),
[628] Fix | Delete
'tooltip-subtitle' => esc_html__( 'Enter your Histats Analytics ID.', 'accelerated-mobile-pages' ),
[629] Fix | Delete
'desc' => 'Tutorial: <a href="https://ampforwp.com/tutorials/how-to-get-histats-analytics-id/">How to get Histats Analytics ID for AMP?</a>',
[630] Fix | Delete
'default' => ampforwp_get_setting('histats-feild'),
[631] Fix | Delete
),
[632] Fix | Delete
[633] Fix | Delete
// Adobe
[634] Fix | Delete
[635] Fix | Delete
array(
[636] Fix | Delete
'id' => 'ampforwp-adobe-switch',
[637] Fix | Delete
[638] Fix | Delete
'type' => 'switch',
[639] Fix | Delete
[640] Fix | Delete
'title' => 'Adobe Analytics',
[641] Fix | Delete
[642] Fix | Delete
'default' => 0,
[643] Fix | Delete
[644] Fix | Delete
// 'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[645] Fix | Delete
[646] Fix | Delete
// esc_html__('Enable this option to track Adobe analytics in AMP and', 'accelerated-mobile-pages'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[647] Fix | Delete
[648] Fix | Delete
),
[649] Fix | Delete
array(
[650] Fix | Delete
'id' => 'ampforwp-adobe-type',
[651] Fix | Delete
[652] Fix | Delete
'type' => 'select',
[653] Fix | Delete
[654] Fix | Delete
'class' => 'child_opt_arrow',
[655] Fix | Delete
[656] Fix | Delete
'title' => esc_html__('Analytics Type', 'accelerated-mobile-pages'),
[657] Fix | Delete
[658] Fix | Delete
'options' => array('adobeanalytics'=>'Adobe Analytics' , 'adobeanalytics_nativeConfig'=>'Adobe Analytics Native Config'),
[659] Fix | Delete
[660] Fix | Delete
'default' => ampforwp_get_setting('ampforwp-adobe-type'),
[661] Fix | Delete
[662] Fix | Delete
'required'=>array('ampforwp-adobe-switch','=','1'),
[663] Fix | Delete
[664] Fix | Delete
// 'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[665] Fix | Delete
[666] Fix | Delete
// esc_html__('Enable this option to track Adobe analytics in AMP and', 'accelerated-mobile-pages'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[667] Fix | Delete
[668] Fix | Delete
),
[669] Fix | Delete
array(
[670] Fix | Delete
'id' => 'ampforwp-adobe-orgid',
[671] Fix | Delete
[672] Fix | Delete
'type' => 'text',
[673] Fix | Delete
[674] Fix | Delete
'title' => __( 'Organisation ID', 'accelerated-mobile-pages' ),
[675] Fix | Delete
[676] Fix | Delete
'required' => array(
[677] Fix | Delete
[678] Fix | Delete
array('ampforwp-adobe-type', '=' , 'adobeanalytics_nativeConfig')
[679] Fix | Delete
),
[680] Fix | Delete
[681] Fix | Delete
'tooltip-subtitle' => __( 'Enter the Adobe organization id ', 'accelerated-mobile-pages' ),
[682] Fix | Delete
'default' => '',
[683] Fix | Delete
'desc' => __( 'For example: 224GYJDWUW4GV345JHB@AdobeOrg', 'accelerated-mobile-pages' ),
[684] Fix | Delete
),
[685] Fix | Delete
[686] Fix | Delete
array(
[687] Fix | Delete
'id' => 'ampforwp-adobe-subdomain',
[688] Fix | Delete
[689] Fix | Delete
'type' => 'text',
[690] Fix | Delete
[691] Fix | Delete
'title' => __( 'Subdomain for tracking', 'accelerated-mobile-pages' ),
[692] Fix | Delete
[693] Fix | Delete
'required' => array(
[694] Fix | Delete
[695] Fix | Delete
array('ampforwp-adobe-type', '=' , 'adobeanalytics_nativeConfig')
[696] Fix | Delete
),
[697] Fix | Delete
[698] Fix | Delete
'tooltip-subtitle' => __( 'Enter the Subdomain for tracking', 'accelerated-mobile-pages' ),
[699] Fix | Delete
'default' => '',
[700] Fix | Delete
'desc' => ' You need to create a subdomain which will be pointing to the root of your website. This is required otherwise tracking will not work. For example: adobestat.yourwebsite.com',
[701] Fix | Delete
),
[702] Fix | Delete
[703] Fix | Delete
array(
[704] Fix | Delete
'id' => 'ampforwp-adobe-host',
[705] Fix | Delete
[706] Fix | Delete
'type' => 'text',
[707] Fix | Delete
[708] Fix | Delete
'title' => __( 'Tracking Server', 'accelerated-mobile-pages' ),
[709] Fix | Delete
[710] Fix | Delete
'required' => array(
[711] Fix | Delete
[712] Fix | Delete
array('ampforwp-adobe-switch', '=' , '1')
[713] Fix | Delete
),
[714] Fix | Delete
[715] Fix | Delete
'tooltip-subtitle' => __( 'Enter the Adobe tracking server', 'accelerated-mobile-pages' ),
[716] Fix | Delete
'default' => '',
[717] Fix | Delete
'desc' => 'For example: metrics.example.com',
[718] Fix | Delete
),
[719] Fix | Delete
[720] Fix | Delete
array(
[721] Fix | Delete
[722] Fix | Delete
'id' => 'ampforwp-adobe-reportsuiteid',
[723] Fix | Delete
[724] Fix | Delete
'type' => 'text',
[725] Fix | Delete
[726] Fix | Delete
'title' => __( 'ReportSuite ID', 'accelerated-mobile-pages' ),
[727] Fix | Delete
[728] Fix | Delete
'required' => array(
[729] Fix | Delete
array('ampforwp-adobe-switch', '=' , '1')
[730] Fix | Delete
),
[731] Fix | Delete
[732] Fix | Delete
'tooltip-subtitle' => __( 'Enter the ReportSuite ID', 'accelerated-mobile-pages' ),
[733] Fix | Delete
'default' => '',
[734] Fix | Delete
'desc' => 'For example: reportSuiteID1, reportSuiteID2',
[735] Fix | Delete
),
[736] Fix | Delete
// Yandex Metrika
[737] Fix | Delete
array(
[738] Fix | Delete
'id' => 'ampforwp-Yandex-switch',
[739] Fix | Delete
'type' => 'switch',
[740] Fix | Delete
'title' => esc_html__('Yandex Metrika','accelerated-mobile-pages'),
[741] Fix | Delete
'default' => ampforwp_get_default_analytics('9'),
[742] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[743] Fix | Delete
esc_html__('Enable this option to track yandex metrika analytics in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-yandex-metrika-analytics-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[744] Fix | Delete
),
[745] Fix | Delete
array(
[746] Fix | Delete
'id' =>'amp-Yandex-Metrika-analytics-code',
[747] Fix | Delete
'type' => 'text',
[748] Fix | Delete
'title' => esc_html__('Yandex Metrika Analytics ID','accelerated-mobile-pages'),
[749] Fix | Delete
'default' => '',
[750] Fix | Delete
'required' => array(
[751] Fix | Delete
array('ampforwp-Yandex-switch', '=' , '1')),
[752] Fix | Delete
'tooltip-subtitle' => esc_html__( 'Enter your Counter ID.', 'accelerated-mobile-pages' ),
[753] Fix | Delete
),
[754] Fix | Delete
// Chartbeat Analytics
[755] Fix | Delete
array(
[756] Fix | Delete
'id' => 'ampforwp-Chartbeat-switch',
[757] Fix | Delete
'type' => 'switch',
[758] Fix | Delete
'title' => esc_html__('Chartbeat Analytics','accelerated-mobile-pages'),
[759] Fix | Delete
'default' => ampforwp_get_default_analytics('10'),
[760] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[761] Fix | Delete
esc_html__('Enable this option to track chartbeat analytics in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-chartbeat-analytics-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[762] Fix | Delete
),
[763] Fix | Delete
[764] Fix | Delete
array(
[765] Fix | Delete
'id' =>'amp-Chartbeat-analytics-code',
[766] Fix | Delete
'type' => 'text',
[767] Fix | Delete
'title' => esc_html__('Chartbeat Analytics ID','accelerated-mobile-pages'),
[768] Fix | Delete
'default' => '',
[769] Fix | Delete
'required' => array(
[770] Fix | Delete
array('ampforwp-Chartbeat-switch', '=' , '1')),
[771] Fix | Delete
'tooltip-subtitle' => esc_html__( 'Enter your Account ID.', 'accelerated-mobile-pages' ),
[772] Fix | Delete
),
[773] Fix | Delete
// Alexa Metrics
[774] Fix | Delete
array(
[775] Fix | Delete
'id' => 'ampforwp-Alexa-switch',
[776] Fix | Delete
'type' => 'switch',
[777] Fix | Delete
'title' => esc_html__('Alexa Metrics', 'accelerated-mobile-pages' ),
[778] Fix | Delete
'default' => ampforwp_get_default_analytics('11'),
[779] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[780] Fix | Delete
esc_html__('Enable this option to track alexa metrics analytics in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/add-alexa-metrics-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[781] Fix | Delete
),
[782] Fix | Delete
array(
[783] Fix | Delete
'id' => 'ampforwp-alexa-account',
[784] Fix | Delete
'type' => 'text',
[785] Fix | Delete
'title' => esc_html__( 'Alexa Metrics Account', 'accelerated-mobile-pages' ),
[786] Fix | Delete
'required' => array(
[787] Fix | Delete
array('ampforwp-Alexa-switch', '=' , '1')
[788] Fix | Delete
),
[789] Fix | Delete
'tooltip-subtitle' => esc_html__( 'Enter Account Number given by Alexa Metrics', 'accelerated-mobile-pages' ),
[790] Fix | Delete
'default' => '',
[791] Fix | Delete
),
[792] Fix | Delete
array(
[793] Fix | Delete
'id' => 'ampforwp-alexa-domain',
[794] Fix | Delete
'type' => 'text',
[795] Fix | Delete
'title' => esc_html__( 'Alexa Metrics Domain', 'accelerated-mobile-pages' ),
[796] Fix | Delete
'required' => array(
[797] Fix | Delete
array('ampforwp-Alexa-switch', '=' , '1')
[798] Fix | Delete
),
[799] Fix | Delete
'tooltip-subtitle' => esc_html__( 'Enter the domain', 'accelerated-mobile-pages' ),
[800] Fix | Delete
'default' => '',
[801] Fix | Delete
),
[802] Fix | Delete
// AFS Analytics
[803] Fix | Delete
array(
[804] Fix | Delete
'id' => 'ampforwp-afs-analytics-switch',
[805] Fix | Delete
'type' => 'switch',
[806] Fix | Delete
'title' => 'AFS Analytics',
[807] Fix | Delete
'default' => ampforwp_get_default_analytics('12'),
[808] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[809] Fix | Delete
esc_html__('Enable this option to track afs analytics in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-afs-analytics-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[810] Fix | Delete
),
[811] Fix | Delete
array(
[812] Fix | Delete
'id' => 'ampforwp-afs-siteid',
[813] Fix | Delete
'type' => 'text',
[814] Fix | Delete
'title' => esc_html__( 'Website ID', 'accelerated-mobile-pages' ),
[815] Fix | Delete
'required' => array(
[816] Fix | Delete
array('ampforwp-afs-analytics-switch', '=' , '1')
[817] Fix | Delete
),
[818] Fix | Delete
'tooltip-subtitle' => esc_html__( 'Enter the Website ID', 'accelerated-mobile-pages' ),
[819] Fix | Delete
'default' => '',
[820] Fix | Delete
'desc' => 'example: 00000003',
[821] Fix | Delete
),
[822] Fix | Delete
//Clicky Analytics
[823] Fix | Delete
array(
[824] Fix | Delete
[825] Fix | Delete
'id' =>'amp-clicky-switch',
[826] Fix | Delete
'type' => 'switch',
[827] Fix | Delete
'title' => esc_html__('Clicky Analytics','accelerated-mobile-pages'),
[828] Fix | Delete
'default' => 0,
[829] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[830] Fix | Delete
esc_html__('Enable this option to track clicky analytics in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-clicky-analytics-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[831] Fix | Delete
),
[832] Fix | Delete
array(
[833] Fix | Delete
'id' => 'clicky-site-id',
[834] Fix | Delete
'type' => 'text',
[835] Fix | Delete
'title' => esc_html__( 'Clicky Site ID', 'accelerated-mobile-pages' ),
[836] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[837] Fix | Delete
esc_html__( 'Enter your Clicky Analytics Site ID. If you dont have account in Clicky, Please click','accelerated-mobile-pages'),
[838] Fix | Delete
esc_url('https://clicky.com/help/faq/common/site-preferences'),
[839] Fix | Delete
esc_html__('here','accelerated-mobile-pages'),
[840] Fix | Delete
esc_html__( 'to create an account.','accelerated-mobile-pages' )
[841] Fix | Delete
),
[842] Fix | Delete
'required' => array(
[843] Fix | Delete
array('amp-clicky-switch', '=' , '1')
[844] Fix | Delete
),
[845] Fix | Delete
'placeholder' => esc_html__('YOUR_SITE_ID_HERE','accelerated-mobile-pages'),
[846] Fix | Delete
),
[847] Fix | Delete
//Call Rail Analytics
[848] Fix | Delete
array(
[849] Fix | Delete
'id' =>'ampforwp-callrail-switch',
[850] Fix | Delete
'type' => 'switch',
[851] Fix | Delete
'title' => esc_html__('Call Rail Analytics','accelerated-mobile-pages'),
[852] Fix | Delete
'default' => 0,
[853] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[854] Fix | Delete
esc_html__('Enable this option to track callrail analytics in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-callrail-analytics-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[855] Fix | Delete
),
[856] Fix | Delete
array(
[857] Fix | Delete
'id' => 'ampforwp-callrail-config-url',
[858] Fix | Delete
'type' => 'text',
[859] Fix | Delete
'title' => esc_html__( 'Config URL', 'accelerated-mobile-pages' ),
[860] Fix | Delete
'tooltip-subtitle' => esc_html__( 'Enter your Call Rail Analytics Site Config URL','accelerated-mobile-pages'),
[861] Fix | Delete
'desc'=>sprintf( '<a href="https://ampforwp.com/tutorials/article/how-to-add-callrail-analytics-in-amp/" target="_blank">%s</a>',esc_html__('View integration tutorial','accelerated-mobile-pages' )),
[862] Fix | Delete
'required' => array('ampforwp-callrail-switch', '=' , '1')
[863] Fix | Delete
),
[864] Fix | Delete
array(
[865] Fix | Delete
'id' => 'ampforwp-callrail-number',
[866] Fix | Delete
'type' => 'text',
[867] Fix | Delete
'title' => esc_html__( 'Tell Number', 'accelerated-mobile-pages' ),
[868] Fix | Delete
'tooltip-subtitle' => esc_html__( 'Enter your Tell Number for Call Rail Analytics','accelerated-mobile-pages'),
[869] Fix | Delete
'required' => array('ampforwp-callrail-switch', '=' , '1')
[870] Fix | Delete
),
[871] Fix | Delete
array(
[872] Fix | Delete
'id' => 'ampforwp-callrail-analytics-url',
[873] Fix | Delete
'type' => 'text',
[874] Fix | Delete
'title' => esc_html__( 'Analytics Config URL', 'accelerated-mobile-pages' ),
[875] Fix | Delete
'tooltip-subtitle' => esc_html__( 'Enter your Analytics Config URL','accelerated-mobile-pages'),
[876] Fix | Delete
'required' => array('ampforwp-callrail-switch', '=' , '1')
[877] Fix | Delete
),
[878] Fix | Delete
//iotechnologies Analytics
[879] Fix | Delete
array(
[880] Fix | Delete
'id' =>'ampforwp-iotech-switch',
[881] Fix | Delete
'type' => 'switch',
[882] Fix | Delete
'title' => esc_html__('IO Technologies Analytics','accelerated-mobile-pages'),
[883] Fix | Delete
'default' => 0,
[884] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[885] Fix | Delete
esc_html__('Enable this option to track io technologies analytics in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-iotechnologies-analytics-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[886] Fix | Delete
),
[887] Fix | Delete
array(
[888] Fix | Delete
'id' => 'ampforwp-iotech-projectid',
[889] Fix | Delete
'type' => 'text',
[890] Fix | Delete
'title' => esc_html__( 'Project ID', 'accelerated-mobile-pages' ),
[891] Fix | Delete
'tooltip-subtitle' => esc_html__( 'Enter Your Project ID Here','accelerated-mobile-pages'),
[892] Fix | Delete
'required' => array('ampforwp-iotech-switch', '=' , '1')
[893] Fix | Delete
),
[894] Fix | Delete
//Dotmetrics Analytics
[895] Fix | Delete
array(
[896] Fix | Delete
'id' =>'ampforwp-dotmetrics-switch',
[897] Fix | Delete
'type' => 'switch',
[898] Fix | Delete
'title' => esc_html__('Dotmetrics Analytics','accelerated-mobile-pages'),
[899] Fix | Delete
'default' => 0,
[900] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[901] Fix | Delete
esc_html__('Enable this option to track dotmetrics analytics in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-dotmetrics-analytics-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[902] Fix | Delete
),
[903] Fix | Delete
array(
[904] Fix | Delete
'id' => 'ampforwp-dotmetrics-id',
[905] Fix | Delete
'type' => 'text',
[906] Fix | Delete
'title' => esc_html__( 'User ID', 'accelerated-mobile-pages' ),
[907] Fix | Delete
'tooltip-subtitle' => esc_html__( 'Enter Your User ID Here','accelerated-mobile-pages'),
[908] Fix | Delete
'required' => array('ampforwp-dotmetrics-switch', '=' , '1')
[909] Fix | Delete
),
[910] Fix | Delete
[911] Fix | Delete
//Top.Mail.Ru Analytics
[912] Fix | Delete
array(
[913] Fix | Delete
'id' =>'ampforwp-topmailru-switch',
[914] Fix | Delete
'type' => 'switch',
[915] Fix | Delete
'title' => esc_html__('Top Mail Ru Analytics','accelerated-mobile-pages'),
[916] Fix | Delete
'default' => 0,
[917] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[918] Fix | Delete
esc_html__('Enable this option to track topmailru analytics in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-topmailru-analytics-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[919] Fix | Delete
),
[920] Fix | Delete
array(
[921] Fix | Delete
'id' => 'ampforwp-topmailru-id',
[922] Fix | Delete
'type' => 'text',
[923] Fix | Delete
'title' => esc_html__( 'Counter ID', 'accelerated-mobile-pages' ),
[924] Fix | Delete
'tooltip-subtitle' => esc_html__( 'Enter Your Counter ID Here','accelerated-mobile-pages'),
[925] Fix | Delete
'required' => array('ampforwp-topmailru-switch', '=' , '1')
[926] Fix | Delete
),
[927] Fix | Delete
[928] Fix | Delete
//Plausible Analytics
[929] Fix | Delete
array(
[930] Fix | Delete
'id' =>'ampforwp-plausible-switch',
[931] Fix | Delete
'type' => 'switch',
[932] Fix | Delete
'title' => esc_html__('Plausible Analytics','accelerated-mobile-pages'),
[933] Fix | Delete
'default' => 0,
[934] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[935] Fix | Delete
esc_html__('Enable this option to track plausible analytics in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-plausible-analytics-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[936] Fix | Delete
),
[937] Fix | Delete
// AT internet Analytics
[938] Fix | Delete
array(
[939] Fix | Delete
'id' =>'amp-atinternet-switch',
[940] Fix | Delete
'type' => 'switch',
[941] Fix | Delete
'title' => esc_html__('AT internet Analytics','accelerated-mobile-pages'),
[942] Fix | Delete
'default' => 0,
[943] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[944] Fix | Delete
esc_html__('Enable this option to track AT internet analytics in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-atinternet-analytics-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[945] Fix | Delete
),
[946] Fix | Delete
array(
[947] Fix | Delete
'id' => 'amp-atinternet-site-id',
[948] Fix | Delete
'type' => 'text',
[949] Fix | Delete
'title' => esc_html__( 'Site ID', 'accelerated-mobile-pages' ),
[950] Fix | Delete
'tooltip-subtitle' =>
[951] Fix | Delete
esc_html__( 'Enter your AT internet Analytics Site ID here','accelerated-mobile-pages'),
[952] Fix | Delete
'required' => array(
[953] Fix | Delete
array('amp-atinternet-switch', '=' , '1')
[954] Fix | Delete
),
[955] Fix | Delete
'placeholder' => esc_html__('YOUR_SITE_ID_HERE','accelerated-mobile-pages'),
[956] Fix | Delete
),
[957] Fix | Delete
//Publytics
[958] Fix | Delete
array(
[959] Fix | Delete
'id' =>'ampforwp-publytics-switch',
[960] Fix | Delete
'type' => 'switch',
[961] Fix | Delete
'title' => esc_html__('Publytics','accelerated-mobile-pages'),
[962] Fix | Delete
'default' => 0,
[963] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[964] Fix | Delete
esc_html__('Enable this option to track publytics in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[965] Fix | Delete
),
[966] Fix | Delete
array(
[967] Fix | Delete
'id' => 'ampforwp-publytics-track-code',
[968] Fix | Delete
'type' => 'text',
[969] Fix | Delete
'title' => esc_html__( 'Domain/Tracking Code', 'accelerated-mobile-pages' ),
[970] Fix | Delete
'tooltip-subtitle' =>
[971] Fix | Delete
esc_html__( 'Enter your publytics Tracking ID here','accelerated-mobile-pages'),
[972] Fix | Delete
'required' => array(
[973] Fix | Delete
array('ampforwp-publytics-switch', '=' , '1')
[974] Fix | Delete
),
[975] Fix | Delete
'placeholder' => esc_html__('ADD_CODE_HERE','accelerated-mobile-pages'),
[976] Fix | Delete
),
[977] Fix | Delete
// Marfeel Analytics
[978] Fix | Delete
array(
[979] Fix | Delete
'id' =>'amp-marfeel-pixel',
[980] Fix | Delete
'type' => 'switch',
[981] Fix | Delete
'title' => esc_html__('Marfeel Pixel','accelerated-mobile-pages'),
[982] Fix | Delete
'default' => 0,
[983] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[984] Fix | Delete
esc_html__('Enable this option to track marfeel pixel in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-facebook-pixel-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[985] Fix | Delete
),
[986] Fix | Delete
array(
[987] Fix | Delete
'id' =>'amp-marfeel-account-id',
[988] Fix | Delete
'type' => 'text',
[989] Fix | Delete
'title' => esc_html__('Marfeel Account ID','accelerated-mobile-pages'),
[990] Fix | Delete
'default' => '0',
[991] Fix | Delete
'desc' => 'Example: 153246987501548',
[992] Fix | Delete
'required' => array(
[993] Fix | Delete
array('amp-marfeel-pixel', '=' , '1')),
[994] Fix | Delete
),
[995] Fix | Delete
)
[996] Fix | Delete
)
[997] Fix | Delete
);
[998] Fix | Delete
}
[999] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function