How do I capture the first party cookie from callers?

To capture the first party cookie as another piece of data associated to the caller, you need to add the following code to the standard Delacon javascript.

var extTrkStr=(function(name)
{ var value = “; ” + document.cookie; var parts = value.split(“; ” + name + “=”); if (parts.length == 2) return parts.pop().split(“;”).shift();else return “”; }
(“foo”));

In this code “foo” is the name of the cookie – so you should change the name to the first party cookie that you want to track.

Please click here if this helped you.
1 person found this helpful.


Category: Call Tracking - Configuration

← FAQ and Support

Leave a Reply

Your email address will not be published. Required fields are marked *