如何安裝 ShareThis' 使用谷歌追蹤代碼管理員的工具

To install ShareThis tools on your website using Google Tag Manager, follow the steps below to add your unique ShareThis installation code to your Google Tag Manager account.

  1. 登錄註冊 到 ShareThis 平臺。
  2. Select the ShareThis tool you would like to use and click on the Enable tool button to activate it.
  3. Customize the buttons by selecting your preferred social channels, button size, and shape.
  4. Click the Activate code button located in the top-right corner. In the pop-up that appears, click the Copy code button.
  5. If you haven’t installed Google Tag Manager on your website, log in to Google Tag Manager and go to the Admin section.
  6. On the right-hand side, click on Install Google Tag Manager and follow the instructions.
  7. Log in to Google Tag Manager and navigate to Tags. Click on New to create a new tag.
  8. Click on Tag Configuration and select Custom HTML. Paste the ShareThis code into the HTML textbox.
  9. Click on Triggering and select All Pages to ensure the ShareThis buttons appear on all pages of your website.
  10. Save your new tag by clicking Save. Here, you can choose to click Preview to preview the changes on your site or click Submit to make the changes live. Fill in the submission details and click Publish.

注意

Since Google Tag Manager inserts the ShareThis script code in the <body> of the site, instead of the <head>, some functionalities of the ShareThis tools may be limited. This includes site verification on the ShareThis Platform and the use of inline tools.

如果要安裝 ShareThis 在 HTML 網站上手動工具,請查看我們的支援指南 如何安裝 ShareThis' HTML 網站上的工具