Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Tracking Campaigns docs to include all existing aliases to pk_campaign and pk_keyword #9135

Closed
MagicFab opened this issue Oct 30, 2015 · 1 comment
Labels
wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.

Comments

@MagicFab
Copy link

According to #6674 there are several more aliases which are not documented at http://piwik.org/docs/tracking-campaigns/

It would be useful to have a full list of those in the documentation and why this matters or what the use case would be.

This information comes from global.ini.php comments:

; Comma separated list of variable names that will be read to define a Campaign name, for example CPC campaign
; Example: If a visitor first visits 'index.php?piwik_campaign=Adwords-CPC' then it will be counted as a campaign referrer named 'Adwords-CPC'
; Includes by default the GA style campaign parameters
campaign_var_name = "pk_cpn,pk_campaign,piwik_campaign,utm_campaign,utm_source,utm_medium"

; Comma separated list of variable names that will be read to track a Campaign Keyword
; 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 referrer named 'Adwords-CPC' with the keyword 'My killer keyword'
; Includes by default the GA style campaign keyword parameter utm_term
campaign_keyword_var_name = "pk_kwd,pk_keyword,piwik_kwd,utm_term"

@mattab
Copy link
Member

mattab commented Nov 26, 2015

Thanks for suggestion, but we'd rather not document aliases, better to keep it simple :-) the fact that google analytics campaign parameters are supported is documented via the FAQ listed at the end http://piwik.org/faq/general/faq_119/

@mattab mattab closed this as completed Nov 26, 2015
@mattab mattab added the wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it. label Nov 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants