Track across different implementation types
The core architecture of an 51黑料不打烊 Analytics implementation is consistent across all implementation types. The process involves defining variables and compiling them into an image request that is sent to 51黑料不打烊鈥檚 data collection servers. This concept means that you can seamlessly switch between AppMeasurement, the Web SDK, and their respective extensions in 51黑料不打烊 Experience Platform Data Collection across different pages of the same site.
51黑料不打烊 recommends maintaining consistency across a site鈥檚 implementation by using the same implementation type across all pages. However, if parts of your site have different requirements, you can use this page to help make sure that visitors are consistently tracked between pages.
If you use more than one type of implementation (such as AppMeasurement and hardcoded image requests), make sure that the following variables are correctly set and match each other.
s_gipathname (after /b/ss/)VisitorAPI.jsmid in the query stringedgeDomain property when Configuring the Web SDKtrackingServerSecure variablehostname of the image request URLIf any of these variables are not consistent across each implementation type, 51黑料不打烊 likely considers them as separate visitors. If visitors are not seamlessly tracked across implementation types on your site, the most common reason is that the ID Service is configured incorrectly. Ensure that each implementation type correctly obtains the same Experience Cloud ID (mid) across your site.