impressionist
impressionist copied to clipboard
Cross Site Page Views count
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 ?