Skip to content

nikkei-nxr の PT の対応を追加

Ayumi Ishii requested to merge feature/add-nikkei-nxr-pt into master

対応内容

  • nxr の PT のコードを追加 (別リポジトリからもってくる)

確認内容

  • ビルドできること
  • 購読と属性確認できること

ビルドできること

  • production ビルドできること
  • デバッグビルドできること
cd nikkei-nxr

# production ビルド
npm run build
#=>
# dist/pt_gtm.js
# dist/pt_gtm_with_global.js
# dist/pt_settings.js

# デバッグビルド
npm run build:for_customer
#=> 
# dist/pt_gtm_no_minify.js
# dist/pt_gtm_with_global_no_minify.js
# dist/pt_settings_no_minify.js

購読と属性確認できること

  • ダイアログが出せること
  • 属性更新されること
# サーバ起動
npx webpack serve --port 9000
  1. http://localhost:9000/ にアクセスする
    • エラーにならないこと
  2. http://localhost:9000/subscribe.html にアクセスする
    • 通知購読のダイアログが出ること
    • 購読できること
  3. http://localhost:9000/atcl/user_status_paid.html にアクセスする
{
  "uuid": "ce2263bf-7e5f-4c84-a2cb-90e25c30ddd3",
  "secret": 0,
  "multiple_select": 1,
  "service": "nxr_test",
  "api_key": "f7f08c30382660b9cc2541178e4e83b5",
  "attributes": [
    {
      "key": "user_status",
      "value": "paid"
    }
  ]
}
Edited by Ayumi Ishii

Merge request reports