2
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?

More than 3 years have passed since last update.

URLパラメータ

Posted at

【URLパラメータ】

URLパラメータ (クエリ文字列)

サーバーに情報を送るためのURLの末尾に付け足す変数のこと。
 → ソフトウェアなどのシステムに対して、外部から投げられたデータによって、挙動に影響を与える。

?以下、パラメータ=値の形で記述する。
また、&を利用して、パラメータをつなぐ。

例) https//xxxxxxxx.jp?key=value

※パラメータに**?&**を使ってはいけない。動作しなくなる。

ユーザーの行動歴、足跡が分かる。

アクティブパラメータは動的ページでよく使われる。
 → ユーザの流入元が判断できる。
 → 通常の検索エンジンからか、広告検索からかの判断が付く。

例) 有料会員か無料会員かを確認する。
  (会員サイトに遷移させるかの判断に使用する。)

2
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
2
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?