logo产品文档
搜索
登录

推送计划 + 智能推送 最佳实践

一、功能概述

EngageLab 推出两项关键功能,帮助开发者实现更智能、高效的消息发送管理:

推送计划(Push Plan)

  • 用于标识与管理一系列相关的推送任务,可在统计与运营层面统一归因分析。控制台使用方式参考推送计划,API接入参考推送计划API

智能推送(Smart Push)

  • 智能推送是EngageLab的一项独特功能,旨在优化通知的点击率。每次用户通过安装了 EngageLab SDK 的网站或移动App访问您的服务时,我们都会跟踪用户的最近活跃时间。系统会记录这些数据,并根据用户的过去的使用习惯,在合适的时间根据每个用户的终端时区来为每位用户发送通知。对于没有活跃历史数据的用户(比如新注册的用户),您需要针对这部分用户选择立即发送还是指定一个时间发送(基于终端用户时区)以确保每个目标用户都有一个确定的发送时间。 alt text

  • 智能推送API接入参考 定时任务APIintelligent 触发器,基于用户最近的活跃时间,自动在用户终端时区的最佳时间段发送通知,提高点击率。

二、典型应用场景与推荐实践

✅ 场景一:大型电商促销活动(如 618 大促)

目标:5 天内发送多条爆品提醒、满减通知等,实现千人千面的送达时间安排。

实践路径

  1. 使用 POST /v4/push_plan 创建活动计划,如 plan_id=promo_618_2025
  2. 对每条促销消息使用 POST /v4/schedules 创建调度任务,启用 trigger.intelligent 模式并设置 backup_time
  3. plan_id 放入 options.plan_id 字段,用于后续统计分析归因;
  4. 使用推送计划统计API 批量查询多个计划在指定时间范围内的全生命周期数据,包含多维度细分指标(平台/厂商/消息类型)。

✅ 场景二:多语言社交 App 出海运营

目标:根据用户地理位置和时区,个性化投放“回流提醒”与“新功能上线”通知。

实践路径

  1. 使用 tag 或 registration_id 精准指定不同地区用户(如 US、IN、PH);
  2. 在一次推送任务中,利用 options.multi_language 配置多语言文案,系统将根据用户设备语言自动展示对应内容,并启用 intelligent 调度器;
  3. 同样将 plan_id 放入 options.plan_id 字段,用于后续统计分析归因。

三、详细 API 使用流程

1. 创建推送计划

POST /v4/push_plan Authorization: Basic base64(appKey:masterSecret) Content-Type: application/json { "plan_id": "promo_618_2025", "plan_description": "618 大促推送计划" }
              
              POST /v4/push_plan
Authorization: Basic base64(appKey:masterSecret)
Content-Type: application/json

{
  "plan_id": "promo_618_2025",
  "plan_description": "618 大促推送计划"
}

            
此代码块在浮窗中显示

2. 创建智能推送任务(绑定到计划)

POST /v4/schedules Authorization: Basic base64(appKey:masterSecret) Content-Type: application/json { "name": "promo_618_reminder_01", "enabled": true, "trigger": { "intelligent": { "backup_time": "2025-06-18 09:00:00" } }, "push": { "from": "push", "to": { "registration_id": [ "regId_userA", "regId_userB" ] }, "body": { "platform": "android", "notification": { "alert": "限时秒杀,马上抢购!", "android": { "title": "爆款来袭", "extras": { "promo": "618" } } }, "options": { "plan_id": "promo_618_2025", "time_to_live": 86400 } }, "request_id": "req_618_01", "custom_args": { "task": "reminder_01" } } }
              
              POST /v4/schedules
Authorization: Basic base64(appKey:masterSecret)
Content-Type: application/json

{
  "name": "promo_618_reminder_01",
  "enabled": true,
  "trigger": {
    "intelligent": {
      "backup_time": "2025-06-18 09:00:00"
    }
  },
  "push": {
    "from": "push",
    "to": {
      "registration_id": [
        "regId_userA", "regId_userB"
      ]
    },
    "body": {
      "platform": "android",
      "notification": {
        "alert": "限时秒杀,马上抢购!",
        "android": {
          "title": "爆款来袭",
          "extras": {
            "promo": "618"
          }
        }
      },
      "options": {
        "plan_id": "promo_618_2025",
        "time_to_live": 86400

      }
    },
    "request_id": "req_618_01",
    "custom_args": {
      "task": "reminder_01"
    }
  }
}

            
此代码块在浮窗中显示

3. 根据plan_id查询推送统计转化数据

alt text

四、最佳实践总结

操作环节 推荐做法
活动归属 使用 push_plan 接口建立计划维度
智能发送 使用 schedules 接口 + trigger.intelligent
个性化 利用 tag、registration_id 精准分发
效果归因 使用 options.plan_id 标记计划来源,搭配统计接口使用

如需了解更多接入方式,请参考 EngageLab 官方文档或联系技术支持团队(support@engagelab.com)。

icon
联系销售