Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Custom Code to Execute on all the pages of a domain Adobe Target

Avatar

Avatar
Contributor
Level 3
kishorepvsk
Level 3

Likes

29 likes

Total Posts

36 posts

Correct Reply

5 solutions
Top badges earned
Contributor
Shape 10
Shape 1
Validate 1
Boost 5
View profile

Avatar
Contributor
Level 3
kishorepvsk
Level 3

Likes

29 likes

Total Posts

36 posts

Correct Reply

5 solutions
Top badges earned
Contributor
Shape 10
Shape 1
Validate 1
Boost 5
View profile
kishorepvsk
Level 3

31-01-2019

Hi All,

I am completely new to Target. I have a custom jQuery code which has some conditions based on some dataLayer objects (Using data elements in DTM). I would like to push this code using Adobe Target to all the pages so that wherever this custom code condition gets satisfies, a function will be called internally which is there within the custom code.

Please guide me on how to do this and which activity would suit best for this.

Thanks

This is how the code may look like...

if ((_satellite.getVar('ABC') == 'blog') &&  (_satellite.getVar('DEF') == 'page'))

{

function sun(){

--------

----------

--------

}

else

{

return false;

}

Accepted Solutions (0)

Answers (0)