matomo-org/matomo

when &gclid= parameter found, mark visitor as Adwords

Open

#4468 opened on Jan 3, 2014

View on GitHub
 (6 comments) (0 reactions) (0 assignees)PHP (21,513 stars) (2,847 forks)batch import
EnhancementHelp wanted

Description

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

Contributor guide