If you have multiple implementations of the same Acoustic Exchange Capture application, you can use the ubxCapture.setTenantID
to tell Acoustic Exchange Capture which application to apply to a page.
The ubxCapture.setTenantID
function allows you to pass an application's abbreviation ID, and the value to use, in choosing the correct application version as parameters. All calls to ubxCapture.setTenantID
must be made before calling ubxCapture.setTenantID
. The ubxCapture.setTenantID
is only compared against activate application implementations in Acoustic Exchange Capture.
The application abbreviation IDs for supported Acoustic Exchange Capture applications are:
Application | Abbreviation | Value |
---|---|---|
Acoustic Digital Analytics | DA | Digital Analytics Client ID |
Tealeaf | TL | Tealeaf SDK URL |
Google Analytics | GA | Exchange Auth Key |
Adobe Analytics | AA | Exchange Auth Key |
Acoustic Personalization | WRTP | Channel Tenant ID |
Multiple calls can be made to ubxCapture.setTenantID
, one for each application. If you make multiple calls to the same application, then only the value that is used for matching is updated. For example, if two calls for the Digital Analytics application are made with different values, the value passed in the second call will be the value used for matching.
When Acoustic Exchange Capture finds multiple activate implementations of an application with the same value, only the first matching implementation that is found in the configuration is be applied to the page. A console error message is generated that indicates a duplication.
Example for a page with Acoustic Digital Analytics, Google Analytics and Acoustic Personalization enabled:
<script>
ubxCapture.setTenantID("DA","51310000");
ubxCapture.setTenantID("GA","mbIFAAAAAACtCoIWjWva-7dAqMUmfWs1ejzEDs9_DMxRYri-99b7RA:US");
ubxCapture.setTenantID("WRTP","cw-506428408-DFCt4sOB");
ubxCapture.setID("9b9bacf7-23f4-4766-82fe-a5e83ac8afab");</script>
</script>
Comments
0 comments
Please sign in to leave a comment.