Custom link tracking with First party cookie
Hi,
Recently, I was working on custom link tracking on client site. The site support first party cookie. I have used s.tl() method to track link name clicked by a user and i see the data in site catalyst.
onclick="
s_sitecatalyst.tl("true", 'o', '<Link name>');"
I am getting data from the above implementation also. The above code can be used on site which accepts 3rd party cookie or 1st party cookie.
But i am wondering, how does first party cookie will affect custom link tracking. Like shown below-
onclick="
s.linkTrackVars = "trackingServer,trackingServerSecure";
s_sitecatalyst.trackingServer="<your url >";
s_sitecatalyst.trackingServerSecure="<url >";
s_sitecatalyst.tl("true", 'o', '<Link name>');"
The above code i have found in knowledge base. This can be used only if your site accepts first party cookie.
I am sure we will be getting data in both ways but what is the main difference in data collection ?
