@mattab opened this Issue on June 6th 2011 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 commented on December 28th 2011 Member
@mattab commented on February 13th 2012 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
This Issue was closed on February 13th 2012
Powered by GitHub Issue Mirror