diff --git a/dev-docs/modules/userId.md b/dev-docs/modules/userId.md index 5da0614e23..bfd928ca7d 100644 --- a/dev-docs/modules/userId.md +++ b/dev-docs/modules/userId.md @@ -1487,7 +1487,7 @@ The RampID privacy policy is at [https://liveramp.com/privacy/service-privacy-po #### RampID Examples -1) Publisher passes a placement ID and elects to store the RampID envelope in a cookie. +1) Publisher passes a placement ID and elects to store the RampID envelope in a cookie. Make sure that the expiration time of the cookie is similar to what is set in ATS. {% highlight javascript %} @@ -1501,8 +1501,8 @@ pbjs.setConfig({ }, storage: { type: "cookie", - name: "idl_env", // create a cookie with this name - expires: 30 // cookie can last for 30 days + name: "idl_env", // "idl_env" is the required storage name + expires: 15 // RampID envelope can last for 15 days } }], syncDelay: 3000 // 3 seconds after the first auction @@ -1510,7 +1510,7 @@ pbjs.setConfig({ }); {% endhighlight %} -2) Publisher passes a placement ID and elects to store the RampID envelope in HTML5 localStorage. +2) Publisher passes a placement ID and elects to store the RampID envelope in HTML5 localStorage. Make sure that the expiration time for localstorage is similar to what is set in ATS. {% highlight javascript %} pbjs.setConfig({ @@ -1523,8 +1523,8 @@ pbjs.setConfig({ }, storage: { type: "html5", - name: "idl_env", // set localstorage with this name - expires: 30 + name: "idl_env", // "idl_env" is the required storage name + expires: 15 // RampID envelope can last for 15 days } }], syncDelay: 3000