Email Unsubscribe Tracking

We send a triggered email via Discourse to all users when a new topic is posted by an admin in a specific section. I assume some users are unsubscribing from these triggered emails and/or changing their email preferences upon receiving the email.

Is there a way to track the number of unsubscribes?

「いいね!」 1

You could use the data explorer plugin to search which users are not watching the category.

「いいね!」 2

Good question, any thoughts here @sam?

Not at the moment but I think a report (and tracking) of where the atomic unsubscribe comes from is interesting

「いいね!」 6

Hi again.

We were able to use the data explorer plugin to find the users who are no longer watching the category (thanks @pfaffman!). We would also like to find the users who unsubscribe by clicking on “To unsubscribe from these emails, click here” and then selecting “Don’t send me any mail from Squarespace Circle Forum”

Do you have any insight on the best way to query the results for the don’t send me any mail folks?

CC: @Emaddy

「いいね!」 5

:man_zombie: これに関する最近の議論が見つかりませんでした…

アトミックな購読解除のレポートと追跡も興味深いでしょう。

digest-unsubscribed users を実行する Data Explorer クエリはありますが、次のとおりです。

  1. 購読解除日は記録されないため、傾向を特定するのは困難です。
  2. 新規ユーザーか古参ユーザーか、どの程度アクティブ/非アクティブだったか、メールを一切受け取らないように要求したかどうかなどを把握したい場合があります。
「いいね!」 1

これは正当な新機能リクエストのように思えます。Discourseサイトからのメールを受信した結果、どのメールアドレス(およびその数)が購読解除されているかを確認する方法が本当にない場合です。議論のためにこれを#featureに移動します。

「いいね!」 1

私のポイント2を ある程度 支援するために、そのクエリを拡張しました。最近退会したユーザーを推定できます。

-- ネガティブなメール設定を持つユーザーをリストし、TL、タッチ日、およびCheersを含める
SELECT u.ID        "ユーザーID"
       ,u.USERNAME "ユーザー名"
       ,u.trust_level "TL"
-- 次の行は、Gamificationプラグインからの全期間のCheersスコアをオプションで含みます。下の2番目の結合を参照してください。
       ,di.gamification_score "Cheers"
       ,CAST (u.first_seen_at AS DATE) "参加日"
       ,CAST (u.last_seen_at AS DATE) "最終アクセス日"
       ,CAST (u.last_emailed_at AS DATE) "最終メール送信日"
        ,CASE uo.email_digests
          WHEN 't' THEN 'はい'
          WHEN 'f' THEN 'いいえ'
          ELSE '未設定'
        END        "ダイジェスト受信?"
        ,CASE uo.email_level
          WHEN 0 THEN '受信しない'
          WHEN 1 THEN '不在時'
          WHEN 2 THEN '常に受信'
        END        "メールレベル"
        ,CASE uo.email_messages_level
          WHEN 0 THEN '受信しない'
          WHEN 1 THEN '不在時'
          WHEN 2 THEN '常に受信'
        END        "メールメッセージレベル"
FROM   USERS u
       LEFT OUTER JOIN USER_OPTIONS uo
                    ON u.ID = uo.USER_ID
-- この2番目の結合は、Gamificationプラグインからの全期間のCheersスコアを含みます
       LEFT OUTER JOIN directory_items di
                    ON u.ID = di.USER_ID AND di.period_type = 1
-- 次のSELECTステートメントを使用して、トピックアクティビティメールを受信していないユーザーをリストします
WHERE  uo.email_digests = 'f' OR (uo.email_level = 0)
-- または、次のSELECTステートメントを使用して、トピックアクティビティメールもメッセージアクティビティメールも受信していないユーザーをリストします
-- WHERE  uo.email_digests = 'f' OR (uo.email_level = 0 AND uo.email_messages_level = 0)
   AND u.ID <> -1
ORDER BY u.last_emailed_at DESC

…しかし、日付や退会リクエストの詳細がなければ、明確な状況を把握することはできません。

基本的に求めているのは、どのような種類のメールが退会を促したのか、ダイジェストから退会したのか、それともすべてから退会したのか、退会者は興味を失った可能性のあるアクティブな長年のユーザーだったのか、それとも最初からあまり興味がなかったアクティブでないTL0だったのか、ということです。