Help

back to index help

Step 2 - Installation and get the HTML code

Inserting the ShinyStat™ code in Flash sites

 ShinyStat Pro  ShinyStat Business
How can I insert the ShinyStat HTML code in sites made with Flash?
In order to monitor a website realized with Flash technology, there are two necessary conditions:
  • first, the ShinyStat HTML code must be placed inside the page where the flash code is loaded
  • then, to measure the visits inside the flash object, every flash event that you would like to examine, must call the ShinyStat Javascript as in the example n°1.


Example n°1:
on (release) {
// Track with no action
getURL("javascript:ssxl('PAG=eventname');");
}

The parameter "eventname" must be replaced with the name of the event that you want to consider.

The events will be tracked in the report called "Pages" "Request for pages" and according to the website structure, it can be useful providing a directory-like data organization as in example n°2.

Example n°2:

on (release) {
// Track with no action
getURL("javascript:ssxl('PAG=directory/page%20one');");
}

Use the slash / to build a hierarchy of events and queuing special characters such as %, for example use %20 for the space.


back to index help