Expand my Community achievements bar.

SOLVED

Adobe Target SPA - Page parameters - Tealium

Avatar

Level 2

Hello,

 

we have implemented Adobe Target for SPA using Tealium and implemented all the views as per documentation.

We are trying now to create an audience and use it in an activity. The variable we need for the audience are populated in the data layer only at 3rd page of the SPA so they are not available at the initial page load. I tried to pass those variables as tradition page parameters but it didn't work.

 

Has anyone implemented this using Tealium? I read we should use getOffer() but I am not sure how it's done in Tealium really

 

Thanks,


Davide

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

You would need to use something like this example, where you first send the parameter(s) using getOffers, then apply the offers using applyOffers and then trigger the view/state change using triggerView. 

 

Probably depends a bit on your core Target implementation but one option might be to create a JS Code Extension in Tealium, with some conditional logic that limits it to run on the 3rd page of the SPA

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

You would need to use something like this example, where you first send the parameter(s) using getOffers, then apply the offers using applyOffers and then trigger the view/state change using triggerView. 

 

Probably depends a bit on your core Target implementation but one option might be to create a JS Code Extension in Tealium, with some conditional logic that limits it to run on the 3rd page of the SPA