in 10 years. To change the expiration, modify the time value parameter in the
In the left pane, click
Edit the data source.
Click SmartSource Data Collector.
var dExp=new Date(dCur.getTime()+315360000000);
315360000000 represents the total number of milliseconds in 10 years. Change this value to the number of milliseconds from the current time until the time that you want the cookie to expire. For example, if you want the cookie to expire in 60 days, then change this value to 5183940000 = 60 (days) * 24 (hrs per day) * 60 (minutes per hour) * 60 (seconds per minute) * 1000 (milliseconds per second.).
Implement the modified tag, replacing the existing tags on your pages, and redeploy the updated pages to your website.