Changeset 2061228
- Timestamp:
- 04/01/2019 10:51:18 PM (7 years ago)
- Location:
- tracking-script-manager/trunk
- Files:
-
- 8 edited
-
js/post-edit.js (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
screenshot-1.png (modified) (previous)
-
screenshot-2.png (modified) (previous)
-
screenshot-4.png (modified) (previous)
-
templates/script-location-metabox.php (modified) (1 diff)
-
templates/script-page-metabox.php (modified) (1 diff)
-
tracking-scripts-manager.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tracking-script-manager/trunk/js/post-edit.js
r2061150 r2061228 3 3 $('.r8_tsm_page_select').select2({ 4 4 data: tsm_data, 5 placeholder: 'Select p ost(s)/page(s) where the script should appear',5 placeholder: 'Select page(s) or post(s) where the script should be output', 6 6 width: '400' 7 7 }); -
tracking-script-manager/trunk/readme.txt
r2061185 r2061228 5 5 Requires at least: 3.0.1 6 6 Tested up to: 5.1 7 Stable tag: 2.0. 27 Stable tag: 2.0.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 13 13 == Description == 14 14 15 With Tracking Script Manager you can place tracking tags and scripts globally in the header, footer, body or specifically on specific pages and posts.15 Easily add tags, scripts, and code, or manage existing tags, scripts, and code including placement, editing, updating, reordering and deactivating. 16 16 17 Easily add tags, scripts and code, or manage existing tags, scripts and code including editing, updating, reordering and deactivating. 17 Tracking Script Manager lets you can place and manage tracking tags and scripts in the header, footer or after the body tag. The script can appear globally or on specific pages or posts. (The after body tag placement may require an update to your theme files. See the plugin’s page for more information.) 18 18 19 Tracking Script Manager is especially useful for managing advertising tags, social media tracking and retargeting scripts, Facebook and adwords for example, analytic scripts including Google Analytics, and promotional scripts. 20 It can also be used to manage conversion tracking tags and scripts for marketing automation or ecommerce or any other desired action. 19 Tracking Script Manager is especially useful for managing advertising tags, social media tracking and retargeting scripts, Facebook and AdWords for example, analytic scripts including Google Analytics, and promotional scripts. It can also be used to manage conversion tracking tags and scripts for marketing automation or e-commerce or any other desired action. 21 20 22 21 == Installation == … … 46 45 `<?php do_action('wp_body_open'); ?>` 47 46 48 After that line is added to your theme, when creating or editing a script; you can select the "After <body>" script location for that script to appear.47 After that line is added to your theme, when creating or editing a script; you can select the "After `<body>`" script location for that script to appear. 49 48 50 49 == Screenshots == 51 50 52 1. Add a new Tracking Script globally to the header or footer.53 2. Add a new Tracking Script to a specific post or page (including custom post types).51 1. Control Description 52 2. Using the "After <body>" script location. 54 53 3. View your Tracking Scripts. 55 4. Using the "After <body>" script location.54 4. Add a new Tracking Script to a specific post or page (including custom post types). 56 55 57 56 == Changelog == -
tracking-script-manager/trunk/templates/script-location-metabox.php
r2061150 r2061228 6 6 7 7 <p>Note: to use the "After <body>" location, you must include: <code>do_action( 'wp_body_open' );</code> directly after the opening <code><body></code> tag in your theme. Typically this can be found in header.php but can vary theme to theme.<br /> 8 For more information on set itng this up see <a href="https://red8interactive.com/products/tracking-scripts-manager/">Tracking Script Manager's landing page</a>.</p>8 For more information on setting this up see <a href="https://red8interactive.com/products/tracking-scripts-manager/">Tracking Script Manager's landing page</a>.</p> -
tracking-script-manager/trunk/templates/script-page-metabox.php
r2061150 r2061228 1 <p>Use this dropdown to select specific Page(s) or Post(s) where the script should output. If it's left blank, then the script will be global.</p> 1 2 <select class="r8_tsm_page_select" name="r8_tsm_script_page[]" multiple="multiple"></select> 2 3 -
tracking-script-manager/trunk/tracking-scripts-manager.php
r2061185 r2061228 4 4 * Plugin URI: http://wordpress.org/plugins/tracking-script-manager/ 5 5 * Description: A plugin that allows you to add tracking scripts to your site. 6 * Version: 2.0. 26 * Version: 2.0.3 7 7 * Author: Red8 Interactive 8 8 * Author URI: http://red8interactive.com … … 350 350 add_meta_box( 'r8_tsm_script_order', __( 'Script Order', TRACKING_SCRIPT_TEXTDOMAIN ), array( $this, 'script_order_metabox' ), 'r8_tracking_scripts', 'side' ); 351 351 add_meta_box( 'r8_tsm_script_location', __( 'Script Location', TRACKING_SCRIPT_TEXTDOMAIN ), array( $this, 'script_location_metabox' ), 'r8_tracking_scripts', 'normal' ); 352 add_meta_box( 'r8_tsm_script_page', __( 'S cript Page(s)', TRACKING_SCRIPT_TEXTDOMAIN ), array( $this, 'script_page_metabox' ), 'r8_tracking_scripts', 'normal' );352 add_meta_box( 'r8_tsm_script_page', __( 'Specific Script Placement (Page(s) or Post(s))', TRACKING_SCRIPT_TEXTDOMAIN ), array( $this, 'script_page_metabox' ), 'r8_tracking_scripts', 'normal' ); 353 353 354 354 } … … 496 496 public function tracking_scripts_create_menu() { 497 497 add_menu_page( 'Tracking Script Manager', 'Tracking Script Manager', 'manage_options', 'edit.php?post_type=r8_tracking_scripts', null ); 498 add_submenu_page( 'edit.php?post_type=r8_tracking_scripts', 'Add New Tracking Script', 'Add New Tracking Script', 'manage_options', 'post-new.php?post_type=r8_tracking_scripts', null ); 498 499 } 499 500
Note: See TracChangeset
for help on using the changeset viewer.