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

SOLVED

multiple domains

sarfarazk130377
Level 1
Level 1

Hi

We have different SPAs needs to integrate on a common platform and every SPA have different domain. For this common platform, we have Web property configured in the DTM with necessary Rules. This means the tracking of this common platform is working perfectly fine.

My question is, for the tracking of every SPA, when we integrate the SPAs with different domains on this platform, should we have to define the Web Property of each SPA with its specific domain and generate the Header and Footer codes to integrate on each SPA?

Thanks

1 Accepted Solution
salimj
Correct answer by
Level 3
Level 3

Hi Sarfaraz,

If the app architectures are common, there may be a way of passing the data required for tracking between apps.

Without knowing the tech particulars, let me aim to give you a generic example.

Let's say you have 3 apps being consolidated in a common host app. If the apps were built on the same framework a single app could load the child apps -  the host app can then receive data between child apps with some developer effort. If the apps are loaded as an iFrame, its a bit trickier due to cross domain/document restrictions, but a similar methodology can be applied. This approach assumes that the host app will handle all the marketing/analytics data and each app does not have a standalone requirement for the same.

View solution in original post

1 Reply
salimj
Correct answer by
Level 3
Level 3

Hi Sarfaraz,

If the app architectures are common, there may be a way of passing the data required for tracking between apps.

Without knowing the tech particulars, let me aim to give you a generic example.

Let's say you have 3 apps being consolidated in a common host app. If the apps were built on the same framework a single app could load the child apps -  the host app can then receive data between child apps with some developer effort. If the apps are loaded as an iFrame, its a bit trickier due to cross domain/document restrictions, but a similar methodology can be applied. This approach assumes that the host app will handle all the marketing/analytics data and each app does not have a standalone requirement for the same.

View solution in original post