We have a requirement where need to store the information for unknown users who visit our SFMC landing page.Is it possible to identify the information through cookies or collect tracking code in SFMC and if yes so how can store into SFMC DE.
-
Would that be any page or a landing page hosted as a Cloud Page from Marketing Cloud?– Rafał WolsztyniakCommented Jun 26, 2019 at 9:09
-
It would be SFMC CloudPage.– A VashisthCommented Jun 26, 2019 at 9:17
-
1What information do you want to store exactly?– Mateusz BartkowiakCommented Jun 26, 2019 at 10:41
-
Visit date, browser information and any single unique information through will be able to identify if the same user visit the page again.– A VashisthCommented Jun 27, 2019 at 0:42
Add a comment
|
1 Answer
There’s a SetCookie
function that you can set using SSJS to store cookie values.
You can also use the UpsertData
function to write records to the data extension.
Note that you’ll need to uniquely identify these records in your data extension so using the GUID
function might help. Since the visitors will be unidentified, the GUID will help to assign a random unique value to each record.
-
,Thank you for your answer. As I am not much familiar with SSJS so have further doubt that How will be able to fetch that SetCookie data or to upsert into DE. My goal is to store the cookie history into DE and verify the entry every time when a user try to access the landing page. Thank you in advance for you assistance. Commented Jul 9, 2019 at 3:05