Expand my Community achievements bar.

Use of external Libraries in Adobe Target

Avatar

Level 3

Hi guys,

I have a page which uses the Javascript Slick functionality (slick - the last carousel you'll ever need). The page uses this functionality to show and scroll through slides.

Now I want to 'target' the stage with Adobe Target. For a special audience there should be other slides visible. I replace the initial stage code with the new one. But now I have to reinitialize the slick functionality.

Actually I have to call $('.myStage').slick(); but the slick-functionality is not available within the at.js script. So Adobe Target shows an error "Failed Action" within the console.

Is there any possibility to introduce the slick functionality for Target?

The other idea is to trigger an event which is received by the page javascript code. But this is the last option, I would choose, because it's hard for me to have impact to the page code because the page is developed by another company.

Thanks for your help!

Regards,

Andrea

1 Reply