Email Manager - ADDITIONAL RESOURCES

HOME

Web Tracking

Tracking a user once they have been sent to your website

Email Manager tracks the activities of a recipient with Actions. Actions take the form of "{logevent:123}" in your templates. To track a recipient once they have reached your website is a simple matter of sending along the "logevent" information so that your web page can use it to tell EM where your recipient has gone.

Procedure

  1. Create an action to send to your web page. You can do this manually in the Actions tool in Creative Builder. Create a link in your template to the web page you would like to send your recipient to. Do it like this:

    <a href="http://www.mywebpage.com?{logevent:thankyou form}>

    "Thankyou form" is the name of the action we created, just use the "insert" menu to insert the action as shown above.
  2. Use javascript on your web page to capture the action from the query string. The action will be in the form of a URL, and will look something like this:

    http://content.dynamicmessenger.com/clienta/?U-gFD-iOsHn9P1QFUsrP-.Rh

    This URL points at the Email Manager content server for your account. You will notice that it contains an encoded key which contains information about the recipient, the action we want to track, and which deployment the recipient came from.
  3. Trigger the action. Now that your javascript has captured the action code, you can use it in an image tag to trigger the action. It would look something like this:

    <img src="http://content.dynamicmessenger.com/umtholdings/?U-gFD-iOsHn9P1QFUsrP-.Rh" >

    Have your javascript create this image from the action that it captured when the recipient first hit your page.

Example code:

Here is a small example html page that captures an action from the URL, and then loads an image it creates from that action.

<html>
<html>
<body>

<script language="javascript">
// get the query string, ignore the ? at the front.
var querystring=location.search.substring(1,location.search.length);

// create an image from the querystring
document.write('<img src="' + querystring + '">');
</script>

</body>
</html>

     
© Alterian. All Rights Reserved. | Privacy Policy | Legal Notice