Adobe Target SPA - Page parameters - Tealium | Community
Skip to main content
Level 2
April 26, 2024
Solved

Adobe Target SPA - Page parameters - Tealium

  • April 26, 2024
  • 1 reply
  • 1107 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by alexbishop

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

1 reply

alexbishop
Adobe Employee
alexbishopAdobe EmployeeAccepted solution
Adobe Employee
April 26, 2024

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