Adobe Target - audience queries

Avatar

Avatar

sabahatu1546489

Avatar

sabahatu1546489

sabahatu1546489

26-09-2017

Hi there,

I was wondering if someone can assist me with the following queries with regards to Adobe Target.

Assuming the client only have access to Adobe Target and not DTM and has at.js implementation:

1-       If we were to audience off of a DOM element, how would we do that i.e activate the activity if the div with specific exists activate the experiement?

2-       After changing some settings at at.js, would that require updating the tag again in the head section? e.g adding code to Library header/footer screenshotbelow:1310566_pastedImage_0.png

3-       Why don’t see more Available Tokens/parameters name in the Profile script section. In the documentation example here (https://marketing.adobe.com/resources/help/en_US/target/target/c_script_profile_attributes.html) 

1310567_pastedImage_1.png

How would I know what model and subcat is? Is that something I need to find from backend/database?

Secondly in order to test the above code I reckon we cannot do that in browser console right? How would we do that in order to make sure this code is returning the right thing?

4 - do you have more learning resources/tutorials with regards to At.js functions here

https://marketing.adobe.com/resources/help/en_US/target/ov2/c_target-ats-functions.html    

cheers,

View Entire Topic

Avatar

Avatar

sabahatu1546489

Avatar

sabahatu1546489

sabahatu1546489

06-10-2017

ryanr8​ really thanks for your response.

touching on point 3.

Normally we can test our Javascript code via browser console but could you tell me how would we test our Javascript condition for "Profile Script"

for example

if (something) {

    return true;

} else {

    return false;

}

All the token parameters are not recognised when I put them in browser console. What's the best way to test javascript condition that whether it comes out to be true or not.