1. Home
  2. Docs
  3. Adobe Launch Guide
  4. 21 Store Data in Cookies

21 Store Data in Cookies

With Adobe Launch, there are two ways to write data to cookies, one is through doPlugins in the Adobe Analytics Extension, and the other is custom code.

doPlugins

This method can refer to another article:UTM tracking in Adobe Analytics. This article is to write UTM parameters to cookies through doPlugins, and then assemble them into s.campaign parameters. The specific implementation process can be seen in that article.

Custom code

We can just find an already deployed Rule, and then create a new Action:

21 Store Data in Cookies

Then copy the code into js:

21 Store Data in Cookies

 

The function of this code is to write my mobile number into a cookie, ?,Then save:

21 Store Data in Cookies

 Publish the test:

21 Store Data in Cookies

See, my mobile number is already written in the cookie.

 


If you don't understand, You can leave a comment below.
Tags