Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Different Cloud Service Configuration based on Runmode

Avatar

Level 1

Are different Cloud Service Configurations (/etc/cloudservices) allowed per runmode?

For example, if one wanted to use the Generic Analytics Snippet and use one snippet for author mode (tracking data to "testing" analytics account), and a different snippet for publish mode (tracking data to "production" analytics account), is that supported through the config.author or config.publish constructs used elsewhere?

If not, is there a recommended practice for implementation of this? My actual implementation utilizes a custom service configuration and configuration page, so I am able to create a custom solution if necessary.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Greg Leppert,

  It is not possible OOB. However the recommended approach for this type of use case is to create you're maven builds using a custom maven build parameter such that, it should only include the /etc/cloudservices/analytics configuration based on your deployment environment.
Thanks,
Sham

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi Greg Leppert,

  It is not possible OOB. However the recommended approach for this type of use case is to create you're maven builds using a custom maven build parameter such that, it should only include the /etc/cloudservices/analytics configuration based on your deployment environment.
Thanks,
Sham