Solved! Go to Solution.
How would you ensure this is a returning visitor? Couldn't someone view the same webpage more than 2 times in 1 session? This wouldn't make them a returning visitor in my opinion.
I am looking to set up scoring for returning visitors and I can't seem to find a way to accomplish this since all I have available is visits webpage and not website as a whole.
You're quite right, Michael.
Since Munchkin on its own does not have a concept of a "session," you'd have to build it yourself by using cookies and custom fields to manage the session count. You could define a session as a new browser session (easiest to code) or a certain number of minutes without a page view (some analytics packages will expire the session after 30 minutes of inactivity, others 15 -- it's usually one hard-coded value that they settle on).
Then, for your interesting pages, you can send a special Munchin visitWebPage event that has the sessionNumber appended to the URL. You can also post a special event when there's a new session, and have a flow that updates a sessionCount field on the lead; this second component would allow you to track sessions across multiple browsers.
Of course, you will need a savvy JavaScript developer to build this functionality.