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

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

Closed
mattab opened this issue Jun 6, 2011 · 2 comments
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Jun 6, 2011

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
Copy link
Member Author

mattab commented Dec 28, 2011

See this forum post

@mattab
Copy link
Member Author

mattab commented Feb 13, 2012

(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
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

1 participant