Skip to main content
Level 2
April 26, 2024
Beantwortet

Adobe Target SPA - Page parameters - Tealium

  • April 26, 2024
  • 1 Antwort
  • 1127 Ansichten

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

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von 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 Antwort

alexbishop
Adobe Employee
alexbishopAdobe EmployeeAntwort
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