- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
05-01-2019 05:11 PM
Could anyone advice on setting a report suite (i.e. dev or prd) programattically on the Adobe Analytics report suite or s_account?
I've tried setting it via the JS extension but it does not work.
utag_data.s_account = "test"; var prodDomainsArray = [ 'www.test.com', 'test.com', ]; // SET PROD REPORT SUITE UNLESS OVERWRITTEN BY LAUNCH if(prodDomainsArray.indexOf(window.location.hostname) > -1) { utag_data.s_account = 'prd'; }
Solved! Go to Solution.
05-06-2019 07:05 AM
05-07-2019 08:33 AM
do you mean when the website url is DEV environemnt and or PROD environment.
IF you have the Tealium scripts setup properly across your dev environment and prod environment you can use a lookup data.
Lookup match the ut.env and then match it with the correct reportsuite.
Or if you have different website you can still use the lookup table so if domain equals "test.com" go to this report suite and so on.
https://community.tealiumiq.com/t5/iQ-Tag-Management/Lookup-Table-Extension/ta-p/13708
Copyright All Rights Reserved © 2008-2023