Ticket #1198 (closed Bug: wontfix)
using setCustomUrl() breaks campaign and newsletter tracking
| Reported by: | matt | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Feature requests |
| Component: | Core | Keywords: | wishlist |
| Cc: | Sensitive: | no |
Description
When the JS method setCustomUrl() is called, the 'url' parameter to piwik.php is replaced by the custom URL. This 'url' parameter is the one parsed to detect campaign and newsletter referrals. Instead,
- the raw, unmodified URL should be sent in 'url'
- the custom URL (if defined via setCustomUrl()) should set a new parameter 'curl'
- the page views tracking php logic would first try and read the curl parameter, if not available, reads the url parameter
- the campaign / newsletter tracking php would only read the 'url' parameter
Change History
Note: See
TracTickets for help on using
tickets.
