Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 13117

Re: Creating an import script for logs and I have some questions

$
0
0
Ok, unfortunatley I've had to go back to my VB solution as I wasn't having much luck reading the output of the python script in my vb app in real time (the client has requested this as mandatory). So I'm back to doing my parsing of the logs in vb and then sending the information off to /piwiki.php.

I've read through the Tracking API reference page and I'm trying to construct the payload that goes to the server. What I'm stumbling on right now is how to send the IP Address from the logs as opposed to my own IP address. Every time I run my script I get the return that "Visitor IP 192.168.0.111 is excluded from being tracked" which is what we want for our regular visiting traffic. But how do I sent this to the server for the import to say "this was the visit so record this instead"? I thought it would have been the urlvar "cip" but that didn't seem to work.

Thanks!

Viewing all articles
Browse latest Browse all 13117

Trending Articles