Campaign tracking parameters should be also detected in the URL hash tag (fragment) #2475

Closed
mattab opened this Issue Jun 6, 2011 · 2 comments

1 participant

@mattab
Piwik Open Source Analytics member

The goal is to verify/ensure that using hash tags for campaigns parameters is allowed in Piwik.

Sometimes, it is a bit of a problem to link to example.org/?pk_campaign=test

Because search bots will follow these links, if posted on public places, and risk to index the URL with the parameter which will dilute SEO efforts.

Instead, the hashtag would make things better since it doesn't create a separate URL in the engine index.

  • Check that campaigns are detected/parsed from hashtag
  • remove hash tag values before recording URL
  • maybe update the campaign generator to generate campaign tags in hashtag
@mattab
Piwik Open Source Analytics member
@mattab
Piwik Open Source Analytics member

(In [5825]) Fixes #2475

  • Campaign will now be tracked when the campaign name/keywords parameters are found in the fragment / hash tag For example example.org/bla?hello=world#pk_campaign=CAMPAIGN&utm_term=KEYWORD will be tracked as visit from campaign CAMPAIGN and keyword KEYWORD
  • Updated tests
@mattab mattab added this to the 1.7 Piwik 1.7 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment