Inconsistent Data Capture

Hi there I wonder if someone could help me.

I have a web contact form on my website, and I am using Piwik to capture conversion data.

What I am looking to achieve is that I need to capture the web form data as normal, however, I also need to know the source i.e whether it was a PPC campaign or whether it was an organic referrer. So I am looking to capture the exact URL, PPC campaign, keywords etc.

So the issue that I face at the moment, I think it has been set up incorrectly. what I am finding is that I am getting inconsistent data. For example, a lot of the time I get the source saying that it was an organic lead, but with the accompanying URL, you can clearly see that it is actually a PPC lead as the PPC parameters are visible in the URL?

Obviously there is something wrong, therefore I would like to know if this is a common problem with Piwik? Or is it it an issue with my set-up?

Is there a simple explanation available on how to sort this kind of thing?

Any help or advice would be much appreciated.


Can you please put a screenshot or copy of the log_visit row for the visitor that wasn’t tracked properly?

how exactly do you “fetch the source” and display it in your email?