Use the linkName
variable to determine the dimension item of custom links, download links, or exit links when running the next tl()
method.
この変数が空白の場合、AppMeasurement は linkURL
変数に戻ります。
ビーコンを送信するルールを設定する際に、リンク名フィールドを設定できます。
s.tl()
ラジオボタンをクリックすると、「リンク名」フィールドが表示されます。The s.linkName
variable is a string that determines the dimension item for custom links, download links, or exit links (depending on what s.linkType
is). 最大 100 バイトまで保持できます。
この変数は tl()
メソッドの 3 番目のパラメーターで、通常、スタンドアロン変数として設定する必要はありません。ただし、linkName
メソッドの引数として値を設定しない場合は、tl()
変数を使用できます。
s.linkName = "Example custom link";
次の 2 つのリンクトラッキングコールの例は、機能的に同じです。同じリンクトラッキングヒットを達成するには、異なる方法があります。
// Set link tracking arguments as individual variables
s.linkType = "d";
s.linkName = "Example download link";
s.tl();
// Set link tracking arguments directly in the tl() function
s.tl(this,"d","Example download link");