Server side logging

Logging to the server consists of two separate calls to our tracking server.

First you log an empty pageview to create the session and register the session with a particular user. Then you register the actual goal.

jsuid is a random integer that you need to generate.

1) Log a PageView

http://t.myvisitors.se/t?site_id={siteId}&type=pageview&href=/{title}&title={title}&custom[email]={userEmail}&jsuid={uId}

Wait a few seconds for the page view to register and then log the goal:

2) Log a goal
http://t.myvisitors.se/t?site_id={siteId}&type=goal&goal[name]={goalName}&title={1}&custom[email]={userEmail}&jsuid={uId}

Example

http://t.myvisitors.se/t?site_id=12345678&type=pageview&href=/logging+In&title=/logging-in&custom[email][email protected]&jsuid=892839123
// WAIT
http://t.myvisitors.se/t?site_id=12345678&type=goal&goal[name]=Logged+In&custom[email][email protected]&jsuid=892839123
Did this answer your question? Thanks for the feedback! Please reach out to [email protected] if there's anything you'd like to add. There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us