IBM Support

If the (top level) domain (www.example.com) and sub domain (e.g. subdomain.example.com) are hosted by differing third party hosting companies - will

Question & Answer


Question

If the (top level) domain (www.example.com) and sub domain (e.g. subdomain.example.com) are hosted by differing third party hosting companies - will there be an issue with data collection while users navigate between the main (top level) domain and sub domain?

Answer

As long as your pages are housed under the same main (top level) domain, there will be no issues with sending data to Digital Analytics while visitors travel back and forth from the main (top level) domain "www.example.com" to your sub-domain "domain.example.com", the session cookie will remain the same for the visitor, regardless of whether the sub-domain is hosted by a third party or in another location.

Just ensure that in the page code under the 'cmSetClientID' function, that you list your main (top level) domain "www.example.com" as the last parameter in the string.

For example:

For your testing environment on any domain and sub domain:
cmSetClientID("6xxxxxxx",false,"testdata.coremetrics.com","example.com");

For your live environment on any domain and sub domain:
cmSetClientID("9xxxxxxx",true,"data.coremetrics.com","example.com");

For more information on this subject, please refer to the following article on the Knowledge Center:
https://www.ibm.com/support/knowledgecenter/en/SSPG9M/Implementation/impl_cmsetclientid.html

"

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSPG9M","label":"IBM Digital Analytics"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
08 December 2018

UID

ibm10772031