since ‎30-05-2017
‎10-12-2019
moritzk15702306
Level 1
Standard mbox implementation vs mbox.getOffer solution - Hit count
Avatar

moritzk15702306

moritzk15702306
- Adobe Target
Hi,i want to know if my pageviews or some kind of "hit counter" for mboxes will be affected when i switch from a classic global-mbox implementation to a more custom single-page-friendly solution where i call mbox.getOffer for each route change/virtual page load?I cant find any information about this specific topic and would like to know it before i change my appbest regardsMoritz

Views

584

Likes

0

Replies

0
Re: Profile Attribute - read cookie - write profile attribute value
Avatar

moritzk15702306

moritzk15702306
- Adobe Target
I found the solution to write them into the profile and access them in a offer. Becareful with the naming something like "user.user-categoryAffinities-CONTENT" is not readable "user.categoryAffinitiesContent": { "value": "car, flowers,", "modifiedAt": "2015-07-24T11:34:22.271-04:00" },

Views

766

Likes

0

Replies

0
Re: Profile Attribute - read cookie - write profile attribute value
Avatar

moritzk15702306

moritzk15702306
- Adobe Target
Thank you for the anwser. Thats everything i need to know.I've got another question about the 'user.categoryAffinity'. I want to read the all the content of the array/object to see the score of each entry. Is that possible in a html-offer?I know that i can read first affinity, but the affinities are empty? Is there a workaround like save them to another profile key? console.log("user.categoryAffinity", "${user.categoryAffinity}"); //e.g. ... "car" console.log("user.categoryAffinities", "${user.categoryAffinities}"); // ""

Views

789

Likes

0

Replies

0
Profile Attribute - read cookie - write profile attribute value
Avatar

moritzk15702306

moritzk15702306
- Adobe Target
Hi,i try to use a "profile attribute - type: script attribute" to recognize if the user has a cookie "last-login" and write the information to the user profile, so we can target the campagn. The campagn is a redirect offer and the correct displaymbox is chosen.I can see that the script WILL work because i can write custom values to the "user.cookieReturning", but if i try to access the cookie with document.cookie the wysiwyg editor throws an error "document is undefined". I saw some examples in ...

Views

1.4K

Like

1

Replies

3
Likes from