vADC Docs

A Simple Template Rule for SteelApp with SteelCentral Web Analyzer - BrowserMetrix

by pwallace_1 on ‎06-25-2014 04:30 PM - edited on ‎05-29-2015 12:25 PM by PaulWallace (1,230 Views)

The article Using SteelApp with SteelCentral Web Analyzer shows how to create and customize a rule to inject JavaScript into web pages to track the end-to-end performance and measure the actual user experience, and how to enhance it to create dynamic instrumentation for a variety of use cases.

 

But to make it even easier to use SteelApp Traffic Manager and SteelCentral Web Analyzer - BrowserMetrix, we have created a simple, encapsulated rule (included in the file attached to this article, "SteelApp-BMX.txt") which can be copied directly into SteelApp Traffic Manager, and includes a form to let you customize the rule to include your own ClientID and AppID in the snippet. In this example, we will add the new rule to our example web site, “http://www.northernlightsastronomy.com” using the following steps:

 

1. Create the new rule

 

The quickest way to create a new rule on the SteelApp Traffic Manager console is to navigate to the virtual server for your web application, click through to the Rules linked to this virtual server, and then at the foot of the page, click “Manage Rules in Catalog.” Type in a name for your new rule, ensure the “Use TrafficScript” and “Associate with this virtual server” options are checked, then click on “Create Rule”

 

BMX-CreateRule.png

 

2. Copy in the encapsulated rule

 

In the new rule, simply copy and paste in the encapsulated rule (from the file attached to this article, "SteelApp-BMX.txt") and click on  “Update” at the end of the form:

 

BMX-PasteRule.png

 

3. Customize the rule

 

The rule is now transformed into a simple form which you can customize, and you can enter in the “clientId” and “appId” parameters from the Web Analyzer – BrowserMetrix console. In addition, you must enter the ‘hostname’ which SteelApp Traffic Manager uses to serve the web pages. Enter the hostname, but exclude any prefix such as “http://”or https:// and enter only the hostname itself.

 

BMX-CustomizeRule.png

 

The new rule is now enabled for your application, and you can track via the SteelCentral Web Analyzer console.

 

4.  How to find your clientId and appId parameters

 

Creating and modifying your JavaScript snippet requires that you enter the “clientId” and “appId” parameters from the Web Analyzer – BrowserMetrix console. To do this, go to the home page, and click on the “Application Settings” icon next to your application:

 

BMX-AppSettings.gif

 

The next screen shows the plain JavaScript snippet – from this, you can copy the “clientId” and “appId” parameters:

 

BMX-FindParameters.png

 

5. Download the template rule now!

 

You can download the template rule from file attached to this article, "SteelApp-BMX.txt" - the rule can be copied directly into SteelApp Traffic Manager, and includes a form to let you customize the rule to include your own ClientID and AppID in the snippet.

Contributors