記サイトを参考に早速やってみました。
javascript:urchinTracker('/XXXX/XXXX');
基本的には、
イベントに上記のタグを仕込むだけみたい。
※【/XXXX/XXXX】は好きな文字でOK。
あくまでも架空の階層になるので、
実際にフォルダがある必要はありません。
で、イベントが発生するたびに、
/XXXX/XXXX
という架空の階層に1アクセスあったよ!
というのが送られるみたい。
まずは、フラッシュを制作。
↓こんなページを作りました。
http://www.evolverdesign.com/clicktest/
で、どんなタグを仕込んだかっていうと、
━━━━━━━━━━━━━━━━━━━━━
トップページ
↓このフレームが読み込まれたとき。
onClipEvent (load) {
getURL("javascript:urchinTracker('/flashload/top');");
}
↓ボタン左側のボタンが押されたとき
on (release) {
gotoAndStop(2);
getURL("javascript:urchinTracker('/flashclick/001but');");
}
↓ボタン右側のボタンが押されたとき
on (release) {
gotoAndStop(3);
getURL("javascript:urchinTracker('/flashclick/002but');");
}
説明:
・最初のページが読み込まれたら、/flashload/top に1カウントされます。
・左側のボタンが押されたら /flashclick/001but に1カウントされます。
・右側のボタンが押されたら /flashclick/002but に1カウントされます。
━━━━━━━━━━━━━━━━━━━━━
001ページ
↓このフレームが読み込まれたとき。
onClipEvent (load) {
getURL("javascript:urchinTracker('/flashload/001');");
}
↓BACKのボタンが押されたとき
on (release) {
gotoAndStop(1);
getURL("javascript:urchinTracker('/flashclick/back1');");
}
説明:
・ページが読み込まれたら /flashload/001 に1カウントされます。
・BACKのボタンが押されたら /flashclick/back1 に1カウントされます。
━━━━━━━━━━━━━━━━━━━━━
002ページ
001ページとほぼ作りはいっしょです。
━━━━━━━━━━━━━━━━━━━━━
といった、
スクリプトを仕込んでます。
あとは、アナリティクスの通常のタグをHTML側に仕込んで、
終了です。
参照元:http://www.evolverdesign.com/kubolog/2007/11/google_analyticsflash.html
javascript:urchinTracker('/XXXX/XXXX');
基本的には、
イベントに上記のタグを仕込むだけみたい。
※【/XXXX/XXXX】は好きな文字でOK。
あくまでも架空の階層になるので、
実際にフォルダがある必要はありません。
で、イベントが発生するたびに、
/XXXX/XXXX
という架空の階層に1アクセスあったよ!
というのが送られるみたい。
まずは、フラッシュを制作。
↓こんなページを作りました。
http://www.evolverdesign.com/clicktest/
で、どんなタグを仕込んだかっていうと、
━━━━━━━━━━━━━━━━━━━━━
トップページ
↓このフレームが読み込まれたとき。
onClipEvent (load) {
getURL("javascript:urchinTracker('/flashload/top');");
}
↓ボタン左側のボタンが押されたとき
on (release) {
gotoAndStop(2);
getURL("javascript:urchinTracker('/flashclick/001but');");
}
↓ボタン右側のボタンが押されたとき
on (release) {
gotoAndStop(3);
getURL("javascript:urchinTracker('/flashclick/002but');");
}
説明:
・最初のページが読み込まれたら、/flashload/top に1カウントされます。
・左側のボタンが押されたら /flashclick/001but に1カウントされます。
・右側のボタンが押されたら /flashclick/002but に1カウントされます。
━━━━━━━━━━━━━━━━━━━━━
001ページ
↓このフレームが読み込まれたとき。
onClipEvent (load) {
getURL("javascript:urchinTracker('/flashload/001');");
}
↓BACKのボタンが押されたとき
on (release) {
gotoAndStop(1);
getURL("javascript:urchinTracker('/flashclick/back1');");
}
説明:
・ページが読み込まれたら /flashload/001 に1カウントされます。
・BACKのボタンが押されたら /flashclick/back1 に1カウントされます。
━━━━━━━━━━━━━━━━━━━━━
002ページ
001ページとほぼ作りはいっしょです。
━━━━━━━━━━━━━━━━━━━━━
といった、
スクリプトを仕込んでます。
あとは、アナリティクスの通常のタグをHTML側に仕込んで、
終了です。
参照元:http://www.evolverdesign.com/kubolog/2007/11/google_analyticsflash.html
Referring to the site immediately tried notation.
javascript: urchinTracker ( '/ XXXX / XXXX');
Basically,
Only teach a tag like the above event.
※ [/ XXXX / XXXX] is the favorite characters OK.
So the imaginary hierarchy necessarily match those of
Folder that is not actually necessary.
At each time an event occurs,
/ XXXX / XXXX
I had one in the hierarchy of fictitious access!
Like that is sent.
First, create a flash.
↓ I made this page.
http://www.evolverdesign.com/clicktest/
In tags and what they say or gimmick,
━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━
↓ page is loaded in this frame.
onClipEvent (load) (
getURL ( "javascript: urchinTracker ( '/ flashload / top');");
)
↓ button when you press the button on the left
on (release) (
gotoAndStop (2);
getURL ( "javascript: urchinTracker ( '/ flashclick/001but');");
)
↓ button when you press the right buttons
on (release) (
gotoAndStop (3);
getURL ( "javascript: urchinTracker ( '/ flashclick/002but');");
)
Description:
Once loaded, the first page, / flashload / top will be counted on.
When the button is pressed, the left / flashclick/001but to one are counted.
When the button is pressed, the right / flashclick/002but to one are counted.
━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━
↓ page 001 of this frame is loaded.
onClipEvent (load) (
getURL ( "javascript: urchinTracker ( '/ flashload/001');");
)
When the button is pressed ↓ BACK
on (release) (
gotoAndStop (1);
getURL ( "javascript: urchinTracker ( '/ flashclick/back1');");
)
Description:
, When the page loads / flashload/001 to one are counted.
When the button is pressed · BACK / flashclick/back1 to one are counted.
━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━
Nearly 001 pages and 002 pages are made together.
━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━
Like
I get the script pulls.
After the usual analytics tags in the HTML side pulls,
Finishes.
Referenced by: Http://Www.evolverdesign.com/Kubolog/2007/11/Google_Analyticsflash.html
javascript: urchinTracker ( '/ XXXX / XXXX');
Basically,
Only teach a tag like the above event.
※ [/ XXXX / XXXX] is the favorite characters OK.
So the imaginary hierarchy necessarily match those of
Folder that is not actually necessary.
At each time an event occurs,
/ XXXX / XXXX
I had one in the hierarchy of fictitious access!
Like that is sent.
First, create a flash.
↓ I made this page.
http://www.evolverdesign.com/clicktest/
In tags and what they say or gimmick,
━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━
↓ page is loaded in this frame.
onClipEvent (load) (
getURL ( "javascript: urchinTracker ( '/ flashload / top');");
)
↓ button when you press the button on the left
on (release) (
gotoAndStop (2);
getURL ( "javascript: urchinTracker ( '/ flashclick/001but');");
)
↓ button when you press the right buttons
on (release) (
gotoAndStop (3);
getURL ( "javascript: urchinTracker ( '/ flashclick/002but');");
)
Description:
Once loaded, the first page, / flashload / top will be counted on.
When the button is pressed, the left / flashclick/001but to one are counted.
When the button is pressed, the right / flashclick/002but to one are counted.
━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━
↓ page 001 of this frame is loaded.
onClipEvent (load) (
getURL ( "javascript: urchinTracker ( '/ flashload/001');");
)
When the button is pressed ↓ BACK
on (release) (
gotoAndStop (1);
getURL ( "javascript: urchinTracker ( '/ flashclick/back1');");
)
Description:
, When the page loads / flashload/001 to one are counted.
When the button is pressed · BACK / flashclick/back1 to one are counted.
━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━
Nearly 001 pages and 002 pages are made together.
━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━
Like
I get the script pulls.
After the usual analytics tags in the HTML side pulls,
Finishes.
Referenced by: Http://Www.evolverdesign.com/Kubolog/2007/11/Google_Analyticsflash.html
コメントする