0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Qiitaのアクセス数取得自動化⑥

0
Posted at

データ連携に奮闘中の皆様、いかがお過ごしでしょうか。

前回の⑤では、2026年度作成の記事の一覧をCSVに出力する、ところまでできました。
image.png

②結局、2026年度の合計VIEW数が分からない。
1.合計数を入れる変数が必要なので、スクリプト変数を作成します。
 スクリプトを右クリック→新規作成→スクリプト変数
 image.png

image.png

2.書式変換をクリックして、「合計値」をドロップする。
image.png

3.左側「page_views_count」→「合計値」→「2026年度VIEW数」をつなぐ
image.png

テストしてみました。1340件だそうです。
image.png

検算してみました。
image.png

98+197+117+190+75+257+140+135+131=1,340件
正解です!:v:

段々欲が出てきます。
これを一日一回自動実行して、通知してくれると楽ですねー!

0
1
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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?