21 Store Data in Cookies | BCS

21 Store Data in Cookies

Adobe Launch BCS 8 months ago (12-03) 161 Views 0 Comments

Table of Contents

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

Then you can 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 or email me (haran.huang@ichdata.com).
Like (2)
Post my comment
Cancel comment
Expression Texture Bold Strikethrough Center Italic Sign in

Hi, you need to fill in your nickname and email!

  • Nickname (required)
  • Email (required)
  • Website