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

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

« Go Back
Products
Webtrends On Demand
Webtrends Analytics 8.0x
Webtrends Analytics 8.1
Webtrends Analytics 8.5
Webtrends Analytics 8.7
Introduction
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.

Next Steps
More Information
 
Was this article helpful?

Please tell us how we can make this article more useful.

Characters Remaining: 255