refactor click handler rename referrer to publisher