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
JS method to specify value of campaign parameters #9688
Comments
Actually, you can. See http://piwik.org/faq/how-to/faq_120/ |
Sorry, I meant method to specify value of campaign parameters, will update issue in a moment. |
It's rather a hack, but should work.
|
Can you explain the use case a little? It would be nice to know what is expected to happen etc. Setting campaign parameters might create new visits etc so it would be good to know a little more about the background. |
It is a question and use case from customer, I'll paste email content:
|
Got it, what @quba mentioned in #9688 (comment) would be the current way to do it. It's a little hack but not too bad, that's what the method is there for... Someone has to be very carefully with the implementation as when set to late, and already a tracking request was sent, we'd create too many visits all the time. Basically we would create for each visit 2 visits (one with campaign, and one without). Not sure if we can close this issue, or should create an FAQ for this (if not exists yet). We'd probably not add a method for this as it may result in too many visits tracked when not used correctly. Also not sure how it would work when say someone does |
Hi @tomasztomik
|
Hello,
It would be good to have possibility to specify value of campaign parameters (like pk_campaign) using Java Script Tracking Client method. Actually it can be done only via HTTP Tracker parameters, which is not convenient way.
This idea came just from real life example.
The text was updated successfully, but these errors were encountered: