Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Exclude IP Addresses from Reports View modes: 
User avatar
Member
Member
Runey - 12/16/2009 11:42:11 AM
   
Exclude IP Addresses from Reports
Hi,

I have noticed, in Web Analytics, it is possible to list IP addresses for which logging of data should be ignored.

Is it possible to do this for general reports as well?
(I.e., exclude logging e-commerce data for ip addresses used for testing purposes).

User avatar
Member
Member
Alex Rybin - 12/16/2009 2:02:58 PM
   
RE:Exclude IP Addresses from Reports
Go to CMSSiteManager -> Settings -> Web Analytics.
There is "Excluded IP addresses" option here. :)

User avatar
Member
Member
Runey - 12/17/2009 3:16:28 AM
   
RE:Exclude IP Addresses from Reports
Does that not work only for the Web Analytics though?

I need it for the Reporting section. (CMS Desk > Reporting > E-Commerce)
What if Web Analytics is turned off?

User avatar
Member
Member
Alex Rybin - 12/17/2009 4:18:51 AM
   
RE:Exclude IP Addresses from Reports
I'm sorry, it works for Web Analytics only. Did not read you question completely. :(

I think it is not possible.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 12/17/2009 6:38:12 AM
   
RE:Exclude IP Addresses from Reports
Hello,

Web analytics module recognizes the IP for own statics and may control if the IP is excluded so that it would not create the log for analytics.

Reporting module only displays the data from database. So it depends on what data you want to display. If the data contains the IP you may use the WHERE condition to restrict the results of data source.

For example, E-commerce module does not store the IP of customers/orders. You could develop your custom functionality which would save the current IP to some attribute. Then you could use the mentioned WHERE condition and exclude needles data.
E-commerce objects (e.g. Order, OrderItem) have a field for custom data (OrderCustomData, OrderItemCustom) and you may programmatically fill out this field with the IP.

Best regards,
Helena Grulichova