Title: Simple Tracking
Author: CHRS Interactive
Published: <strong>2014 年 2 月 27 日</strong>
Last modified: 2025 年 12 月 27 日

---

搜索插件

![](https://ps.w.org/simple-theme-options/assets/banner-772x250.jpg?rev=3427985)

![](https://ps.w.org/simple-theme-options/assets/icon-256x256.png?rev=2688596)

# Simple Tracking

 作者：[CHRS Interactive](https://profiles.wordpress.org/chrsinteractive/)

[下载](https://downloads.wordpress.org/plugin/simple-theme-options.2.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/simple-theme-options/#description)
 * [评价](https://cn.wordpress.org/plugins/simple-theme-options/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/simple-theme-options/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/simple-theme-options/#developers)

 [支持](https://wordpress.org/support/plugin/simple-theme-options/)

## 描述

**Simple Tracking** adds an admin interface where you can easily add your tracking
and conversion pixels, such as Google Analytics, Meta Pixel, TikTok Pixel, and more.

Additionally manage all your social media links, and display them on your site using
shortcodes or template code.

#### Supported Tracking Services

 * Google Analytics (GA4)
 * Google Tag Manager
 * Meta Pixel (Facebook/Instagram)
 * LinkedIn Insight Tag
 * Pinterest Tag
 * TikTok Pixel
 * Twitter / X Pixel
 * Snapchat Pixel

#### Custom Code Injection

Add custom tracking scripts or code snippets to:

 * Header (wp_head) – Before closing tag
 * Body (wp_body_open) – Right after opening tag
 * Footer (wp_footer) – Before closing tag

#### Available Social Media Platforms

 * Facebook
 * Twitter / X
 * Instagram
 * Threads
 * Bluesky
 * WhatsApp
 * Pinterest
 * YouTube
 * TikTok
 * Yelp
 * Snapchat
 * Discord
 * WordPress.com
 * LinkedIn
 * Tumblr
 * Flickr
 * Custom Link 1
 * Custom Link 2

You can use the social media links as PHP code within your template files or as 
shortcodes within the editor and widgets.

#### Social Media Icons

Display beautiful SVG social media icons with customizable size, color, and style:

    ```
    [social-icons] - Displays all configured social icons

    [social-icons platforms="facebook,twitter,instagram"] - Display specific platforms

    [social-icons size="32" color="#000000" hover="#0073aa" style="circle"] - Customize appearance
    ```

Available styles: default, circle, square, rounded

Change default icon settings in the Style tab.

#### Social Link Shortcode

Display a text link to a social media profile:

    ```
    [social-link social_id="fburl" link_title="Follow us on Facebook"]
    ```

#### Template Usage

Use in your theme templates:

    ```
    <?php
    $options = get_option( 'chrs_theme_options' );
    echo esc_url( $options['fburl'] );
    ?>
    ```

### Support

Please submit your support requests through the WordPress forums for [Simple Tracking](https://wordpress.org/support/plugin/simple-theme-options/).

For feature requests or suggestions, contact us at hello@chrsinteractive.com

## 屏幕截图

 * [[
 * Tracking Codes tab – Add your pixel IDs for various tracking services
 * [[
 * Social Media tab – Manage all your social profile URLs
 * [[
 * Style tab – Change social media icon appearance

## 安装

 1. Upload the folder ‘simple-theme-options’ to the ‘/wp-content/plugins/’ directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Navigate to ‘Simple Tracking’ in your dashboard menu
 4. Enter your tracking IDs and social media URLs
 5. Click ‘Save Changes’

## 常见问题

### Where do I find my Google Analytics ID?

Your Google Analytics 4 measurement ID starts with “G-” followed by alphanumeric
characters. Find it in Google Analytics under Admin > Data Streams > your stream
> Measurement ID.

### Where do I find my Meta Pixel ID?

In Meta Events Manager, select your pixel and find the 15-16 digit Pixel ID in the
overview section.

### Does Google Tag Manager require special theme support?

Yes, Google Tag Manager’s body code requires your theme to support the `wp_body_open()`
hook. Most modern themes include this. If not, add `<?php wp_body_open(); ?>` right
after the opening `<body>` tag in your theme’s header.php.

### Can I add custom tracking scripts?

Yes! Version 2.0 adds custom code fields for header, body, and footer. Note: Only
users with the `unfiltered_html` capability can save JavaScript code.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Simple Tracking」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ CHRS Interactive ](https://profiles.wordpress.org/chrsinteractive/)

[帮助将「Simple Tracking」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/simple-theme-options)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/simple-theme-options/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/simple-theme-options/)，或通过[RSS](https://plugins.trac.wordpress.org/log/simple-theme-options/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/simple-theme-options/)。

## 更新日志

#### 2.0.1

 * Fix: Resolved update issue that caused incomplete file installation on some servers

#### 2.0.0

 * New: [social-icons] shortcode with SVG icons for all platforms
 * New: Style tab with icon size, color, hover color, and style options
 * New: Custom code fields for wp_head, wp_body_open, and wp_footer
 * New: TikTok Pixel support
 * New: Twitter / X Pixel support
 * New: Snapchat Pixel support
 * New: Threads and Bluesky social media platforms
 * New: CodeMirror syntax highlighting for custom code fields
 * New: Settings link on plugins page for quick access
 * Update: Renamed Facebook Pixel to Meta Pixel
 * Update: Renamed Twitter to Twitter / X
 * Update: Updated all tracking pixel implementations to latest versions
 * Remove: Deprecated Google+ and MySpace social platforms
 * Security: Improved input sanitization and output escaping
 * Security: Added unfiltered_html capability check for custom code fields

#### 1.7.5

 * Improve: Minor interface fixes

#### 1.7.4

 * Tested: Compatible with WordPress 6.7.1

#### 1.7.3

 * Tested: Compatible with WordPress 6.3.0

#### 1.7.2

 * Improve: Add support for printing scripts right after the opening body tag using
   the ‘wp_body_open’ action
 * Change: Renamed plugin to “Simple Tracking”
 * Add: Google Tag Manager Pixel
 * Add: LinkedIn Pixel
 * Add: Pinterest Pixel

#### 1.7.1

 * Fixed: Issue with saving new version of Analytics Tag ID
 * Add: Input for Facebook Pixel ID

#### 1.7

 * Tested: Compatible with WordPress 5.9.1
 * Change: Replace Analytics textarea with Analytics ID field
 * Improve: Security updates

#### 1.6

 * Add: TikTok social media link
 * Tested: Compatible with WordPress 5.5.0

#### 1.5

 * Add: WhatsApp / Snapchat / Discord
 * Tested: Compatible with WordPress 5.4.0

#### 1.4

 * Tested: Compatible with WordPress 4.6.1

#### 1.3.1

 * Update: Fixed Spelling Errors on Settings page
 * Tested: Compatible with WordPress 4.2.2

#### 1.3

 * Add: Flickr / MySpace / Custom 1 / Custom 2
 * Add: Shortcode support
 * Update: CSS improvements

#### 1.2

 * Fixed: Input save issue for Youtube/Yelp
 * Add: WordPress.com / LinkedIn / Tumblr

#### 1.1

 * Update: CSS + JS improvements

#### 1.0

 * Initial release

## 额外信息

 *  版本 **2.0.1**
 *  最后更新：**5 月前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 8.1 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/simple-theme-options/)
 * 标签
 * [analytics](https://cn.wordpress.org/plugins/tags/analytics/)[google analytics](https://cn.wordpress.org/plugins/tags/google-analytics/)
   [Meta Pixel](https://cn.wordpress.org/plugins/tags/meta-pixel/)[social media](https://cn.wordpress.org/plugins/tags/social-media/)
   [tracking](https://cn.wordpress.org/plugins/tags/tracking/)
 *  [高级视图](https://cn.wordpress.org/plugins/simple-theme-options/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/simple-theme-options/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/simple-theme-options/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/simple-theme-options/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/simple-theme-options/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/simple-theme-options/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/simple-theme-options/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/simple-theme-options/reviews/)

## 贡献者

 *   [ CHRS Interactive ](https://profiles.wordpress.org/chrsinteractive/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/simple-theme-options/)