Category Archives: Google

Tag Manager + Pixel

Install Google Tag Manager in web

Create Tag for Pixel base code

Create Tags for Pixel built-in events

 

Product Catalog for Pixel

Google Product Category and Product Type

Reference:

G Suite 使用說明

https://admin.google.com

管理網域:

控制台首頁 -> 下方”更多控制項”

低安全性應用程式帳戶存取設定(Allow less secure apps)

預設是禁止所有成員自行改變設定,因此成員登入自己的google帳戶,會看不到這個選項

控制台 -> 安全性 -> 基本設定 -> 開啟「低安全性應用程式」設定 ››

Image 7

Reference:

APP應用程式密碼:

密須開啟兩階段認證後才可以取得

http://open.mymy.tw/index-traitshow.html?id=109

驗證網域:

https://support.google.com/a/answer/60216?hl=zh-Hant

DNS中的MX設定:

https://support.google.com/a/answer/174125?hl=zh-Hant

SMTP:

 

 

Sending Emails using Gmail

如果要利用phpmailer由Gmail發信,要設定google account:

未開啟兩階段認證:

要啟用”允許安全性較低的應用程式”

注意: 有可能在帳戶中找不到這個選項,應該是有使用G Suite而且權限被Dsiable, G Suite的設定參考這一篇


image-24

 

已啟用兩階段認證:

要取得應用程式密碼

Google Place API

  1. Get an API key
  2. Get library
  3. Get library
  4. Get library

Library: https://developers.google.com/maps/documentation/javascript/places

Example: https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform

Place types of autocomplete service:
https://developers.google.com/places/supported_types#table3

 

tinyMap to handle Google Map

http://app.essoduke.org/tinyMap/

HTML

Javascript

 

Prevent Invalid Click (Google)

What you can't do:

  • Prevent people spoofing their IPs.
  • Block IP addresses on sites you don't control (e.g. Google search results).

What you can do:

Google employs automatic filters to combat click fraud and invalid clicks, but has a number of suggestions for things you can do to monitor and detect invalid clicks yourself:

Reference:

Google Map Event Closure Problem

Reference: