I have a piwik installation with the tracking code and conversion code in place. The tracking is working well, and the conversions are working well for non paypal transactions. My issue is that any transaction that is completed with paypal is attributed to paypal and not to the original referer. I am using Analytics in parallel and that conversion code is working fine with paypal.
Does anyone have suggestions on what might be the cause of this?
About reproducing the problem, we have the following scenario:
A new unique visitor is first converted via a Campaign
Follow-up visits from the now returning visitor are from multiple referrers
When they place an Ecommerce order, the current referrer is used and not the the first referrer (in this case, Campaign) from the first visit
However, going through the tracking code, I wonder, does setConversionAttributionFirstReferrer need to be set before the Ecommerce order is tracked? At the moment, it is called after trackEcommerceOrder and before trackPageView.
However, going through the tracking code, I wonder, does setConversionAttributionFirstReferrer need to be set before the Ecommerce order is tracked? At the moment, it is called after trackEcommerceOrder and before trackPageView.
Absolutely setConversionAttributionFirstReferrer must be called first before other calls
I’ve updated our tracking code to call setConversionAttributionFirstReferrer before the Ecommerce call.
Regarding the previous Ecommerce orders that have already been tracked, would it be possible to have them retroactively reprocessed for their first referrer?
Multi Channel Conversion Attribution, also known as Cross Channel Attribution, lets you assign a value to each visit prior to a conversion or prior to a sale. By default, Piwik lets you only know the referrer of the last non-direct visit when a conversion happens. However, in reality, multiple channels contribute to a conversion as a visitor often visits a website several times before they convert a goal. By applying different attribution models, you get a better view on which channels actually lead to a conversion. This helps you finding out where to spend your money best when acquiring visitors.