LoginSignup
4
5

More than 5 years have passed since last update.

【Google Analytics】メールの開封数を取得する方法

Posted at

参考URL

http://waterlow2013.hatenablog.com/entry/2015/03/01/075321
https://developers.google.com/analytics/devguides/collection/protocol/v1/email#document-path
https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide?hl=ja

前提

htmlメールである事

目的

Google Analytics上で開封結果を管理したい

差し込みタグ

<img src="https://www.google-analytics.com/collect?v=1&tid={{TID}}&cid=555&t=pageview&dh={{hostname}}&dt={{title}}&dp={{page}}" />

パラメーター

Page Tracking

v=1             // Version.
&tid=UA-XXXX-Y  // Tracking ID / Property ID.
&cid=555        // Anonymous Client ID.
&t=pageview     // Pageview hit type.
&dh=mydemo.com  // Document hostname.
&dp=/home       // Page.
&dt=homepage    // Title.

Event Tracking

v=1             // Version.
&tid=UA-XXXX-Y  // Tracking ID / Property ID.
&cid=555        // Anonymous Client ID.
&t=event        // Event hit type
&ec=video       // Event Category. Required.
&ea=play        // Event Action. Required.
&el=holiday     // Event label.
&ev=300         // Event value.
4
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
5