matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.9k stars 2.65k forks source link

when &gclid= parameter found, mark visitor as Adwords #4468

Open mattab opened 10 years ago

mattab commented 10 years ago

When we see a visitor with a correctly formatted &gclid= parameter, in the landing page url, then we can set this visitor as coming from adwords.

gclid should be at least 10 characters long, and less than 100.

Ideally we would also store the gclid value in the log_visit table for later use, eg. importing analytics conversions from Piwik into Adwords.

This would likely be done in a new plugin

Follows up #4261

FLOSSMarketingSchool commented 5 years ago

Hi there, Just got this issue this morning with a client of mine. In fact all their data are biased to analyze because they did not set the url tracking. This default configuration based on gclid would be very interesting to have. The issue is really well identified.

tsteur commented 5 years ago

I'm not 100% sure but that seems something easy and valuable todo. I reckon could be done around https://github.com/matomo-org/matomo/blob/3.12.0-b7/plugins/Referrers/Columns/Base.php#L378 but we wouldn't be able to detect the word.

Chardonneaur commented 2 years ago

I got 2 people contacting me over the last 24 hours explaining that this feature would be really helpful.

sgiehl commented 2 years ago

@Chardonneaur This will be automatically done with the AdvertisingConversionExport plugin.

Chardonneaur commented 2 years ago

Would it be possible to add as well the facebook ads parameters too?

sgiehl commented 2 years ago

@Chardonneaur The plugin already does that. Even though it's not possible to export data for Facebook, as they expect data Matomo can't provide.