matomo-org/matomo

when &gclid= parameter found, mark visitor as Adwords

Open

#4,468 opened on Jan 3, 2014

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

Repository metrics

Stars
 (21,513 stars)
PR merge metrics
 (Avg merge 8d 11h) (106 merged PRs in 30d)

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