Hi there,
I'm not sure whether this is a DTM bug or some problem with my browser. Although, I've tried this with multiple DTM accounts & properties using various browser combinations, but still it didn't work for me. So, here are the steps to reproduce this scenario:
Please do let me know if I'm missing anything in the above steps or else, please suggest some workaround for removing the RSIDs from the 'Report Suites' fields.
Thanks,
Abhinav
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Abhinav,
As per the above scenerio mentioned by you, We would have to check with development team of DTM and confirm the same . However for setting the report suites dynamically based on the URL please follow the points mentioned below.
1. Open the “Customize Page Code” editor and add the code that will set the report suite based on URL conditions. The example below will set the s.account based on the current URL. Please make sure the precedence setting under the global “Customize Page Code” configuration is set to “After UI Settings” This will allow your code changes to override the use of default staging or production report suite settings.
s.usePlugins=true ; function s_doPlugins(s) { var get_url=window.location.href; var suiteid; if(get_url.indexof("www.xyz.com")!=-1) { suiteid="prod-1,prod-2"; } else { suiteid="stag-1,stag-2"; } s.account=suiteid; } s.doPlugins=s_doPlugins;
Please let me know if you have any queries regarding the same.
Thanks & Regards
Parit Mittal
Views
Replies
Total Likes
Hi Abhinav,
As per the above scenerio mentioned by you, We would have to check with development team of DTM and confirm the same . However for setting the report suites dynamically based on the URL please follow the points mentioned below.
1. Open the “Customize Page Code” editor and add the code that will set the report suite based on URL conditions. The example below will set the s.account based on the current URL. Please make sure the precedence setting under the global “Customize Page Code” configuration is set to “After UI Settings” This will allow your code changes to override the use of default staging or production report suite settings.
s.usePlugins=true ; function s_doPlugins(s) { var get_url=window.location.href; var suiteid; if(get_url.indexof("www.xyz.com")!=-1) { suiteid="prod-1,prod-2"; } else { suiteid="stag-1,stag-2"; } s.account=suiteid; } s.doPlugins=s_doPlugins;
Please let me know if you have any queries regarding the same.
Thanks & Regards
Parit Mittal
Views
Replies
Total Likes
Views
Likes
Replies