impressionist icon indicating copy to clipboard operation
impressionist copied to clipboard

Cross Site Page Views count

Open kashifnaseer opened this issue 9 years ago • 0 comments

How I can count Page Views based on Cross Site Request ?

  impressionist(Object, nil, unique: [:session_hash])

  def session_hash
    request.session.id
  end

scenario: OTHER-SITE.COM is a news site, When User views any news, Some content of this news comes from PUBLISHER.COM. I want to increment the page count based of Unique session in PUBLISHER.COM as some user views the news in OTHER-SITE.COM.

When i check (request.session.id) for the request coming from OTHER-SITE.COM i get NULL value. Any idea how i can get this working ?

kashifnaseer avatar Dec 07 '15 12:12 kashifnaseer