How do I create a report to show the user IP address?


Webtrends Analytics 8.x
Webtrends Analytics 9.x


The client’s IP address is not a dimension by default. Before creating this report, consider the information you wish to obtain from it and whether Authenticated Username or Visitor would work better as a dimension.

If you still need IP address as a dimension, you would need to pass this in a parameter. To do this, you will need to create a custom query parameter either in your weblogs or by using DCSext.paramname as a meta tag while using SDC. For example, if you are using PHP and a TagBuilder tag, you would add the following to your pages:

<meta name=”DCSext.cip” content=”<? print $_SERVER['REMOTE_ADDR']; ?>” />

This will include a query parameter called “cip” in the SDC log with a value equal to the client’s IP address.

To use this value in a report, simply create a new dimension:

  • Go to Web Analysis > Report Configuration > Custom Reports > Dimensions and click New. Create a name and column name for the dimension and click Next.
  • Leave Value to Base On set to Query Parameter and for Parameter name, enter “cip”.
  • Click Next on this screen and the next screen and then Save.

You can now use this dimension in the custom report you were originally going to create.

More Information

Webtrends Query Parameter Reference –https://product.webtrends.com/WRC/9.1/documentationcenter/default.asp?WT.mc_id=Wt_productrc