I have a single web app, which is accessible via a webview, across 4 different models of television set-top boxes.
When the app loads on a set-top box, it initialises Google Analytics with a tracking ID specific to the model of set-top it is running on.
ga('create', gaTrackingID, 'auto');
gaTrackingID being a variable, taken from a config file, specific to the model of set top box that the app is running on.
Data is then stored within Google Analytics in one of the 4 separate properties for each model of set-top box.
However, all 4 properties share the same default URL. This is causing Google Analytics to generate a “Tracking Code Mismatch” notification.
I'd like to fix this issue:
- Is there any way to use multiple Tracking ID's on the same domain in Google Analytics, as a route to resolving this issue?
- If not, what other options might be available to me?