Plugin to automatically define the Campaign name based on the referer URL #5499
Labels
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone
This feature exists in phpMyVisites.
It should be possible in the admin area, to add new partners’ URLs, for a campaign.
For example, visitors coming from “sourceforge.net/*/piwik/” (broad match supported) would be classified automatically under the campaign “Campaign Sourceforge”.
See for reference [source:/trunk/config/global.ini.php]
```
169 ; variable name to track any campaign, for example CPC campaign
170 ; Example: If a visitor first visits ‘index.php?piwik_campaign=Adwords-CPC’ then it will be counted as a campaign referer named ‘Adwords-CPC’
171 campaign_var_name = piwik_campaign
172
173 ; variable name to track any campaign keyword
174 ; Example: If a visitor first visits ‘index.php?piwik_campaign=Adwords-CPC&piwik_kwd=My killer keyword’ then it will be counted as a campaign referer named ‘Adwords-CPC’ with the keyword ‘My killer keyword’
175 campaign_keyword_var_name = piwik_kwd
```
The text was updated successfully, but these errors were encountered: