[WordPress] 外掛分享: Add Script

首頁外掛目錄 › Add Script
10+
安裝啟用
尚無評分
3039 天前
最後更新
問題解決
WordPress 4.7+ v1.4 上架:2017-06-22

內容簡介

這個外掛會在頁尾加上 Google Analytics 的腳本,並移除所有空格。這很方便與意大利 Cookie 選擇 (歐盟 Cookie 法律)一起使用。如果設置了 WP Italy Cookies 的「顯示 Cookie 同意」選項,它會輸出程式碼,否則 JavaScript 代碼將不會被輸出。

使用方法

在設置頁面中複製和粘貼(包括 script 標籤)Analytics 代碼。

待辦事項

選擇腳本是在頁尾還是頁首中添加
創建 POTs
如果 WP Italy 沒有安裝,顯示提示
添加選項以跳過 Cookie 檢查並直接打印出來

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Add Script」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin add Google Analytics script in the footer, removing all spaces. Useful to use with Italy Cookie Choices (for EU Cookie Law). If isset the Wp Italy Cookies “Display Cookie Consents”, it prints the code, otherwise the Javascript code will NOT BE printed.
Usage

Copy and Paste (include also the scripts tag) the Analytics Code in the settings page.

To Do

Select if add script on footer or header
Create POTs
Display notice if WP Italy is not installed
Add option to skip cookie check and print directly

延伸相關外掛

文章
Filter
Apply Filters
Mastodon