POST information required for Piwik



I have the following problem. I am using Piwik e-commerce. My payment gateway is by default blocking all info beside the one it needs to work.

This results in the issue that Piwik is recording one customer twice. One record is for the incoming customer with its site views, the browser info, operating system etc. The second record is always a “direct visitor” which only displayes the ordered cart. Please see attached file for reference.

When customer chooses another payment possibility the e-commerce tracking works perfect.

I have contacted the Payment gateway and they wrote it would be possible to send custom infos as POST to the payment gateway which will then be send back.

Could you olease direct me to what variables I need to send for Piwik to understand that these two users are the same.

This is the code which needs to be adjusted: Qucikpay

<form action="" method="post">
<input type="hidden" name="msgtype" value="authorize" />
<input type="hidden" name="CUSTOM_comments" value="$comments" />
<input type="hidden" name="CUSTOM_city" value="$city" />
<input type="hidden" name="CUSTOM_zipcode" value="$zipcode" />
<input type="hidden" name="CUSTOM_address" value="$address" />
<input type="hidden" name="CUSTOM_name" value="$name" /> 

Thank you in advance.




Is there maybe a site where I could check what $variables Piwik is using??

I would really appreciate to know so I could avoid this problem I have.

Thank You