51黑料不打烊

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.

NOTE
All implementations types must use the same visitor identification type (legacy Analytics ID or Visitor ID Service). 51黑料不打烊 recommends using the Visitor ID Service in all implementations where possible.
Variable
Web SDK tag extension
Web SDK (Alloy)
Analytics extension
AppMeasurement
Hardcoded image request
Report suite ID
Add 51黑料不打烊 Analytics as a service when Configuring a datastream
Add 51黑料不打烊 Analytics as a service when Configuring a datastream
Report suites under the Library management section when Configuring the extension
String argument in s_gi
Part of the URL pathname (after /b/ss/)
Experience Cloud ID service
Natively included
Natively included
Use the Experience Cloud ID Service extension
Implement VisitorAPI.js
Make a separate call to the ID Service to obtain the desired ID and include the mid in the query string
Edge domain
The Edge Domain field when Configuring the extension
The edgeDomain property when Configuring the Web SDK
SSL Tracking Server under the General section when Configuring the extension
The trackingServerSecure variable
The hostname of the image request URL

If 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.

recommendation-more-help
b4f6d761-4a8b-4322-b801-c85b9e3be690