Associate Staging DTM on lower environments | Community
Skip to main content
Veera_kandregul
Level 2
May 23, 2017
Solved

Associate Staging DTM on lower environments

  • May 23, 2017
  • 6 replies
  • 2921 views

Hi All,

We are trying to use DTM integration framework to get header and footer code into our websites. We are successful in the integration and now looking into OOTB way to make sure that

1) DEV/Staging/UAT author and publish instances (including PROD author) should use staging header and footer

2) PROD publish instance should use prod header and footer snippets.

 

Can you guys let me know if there is any OOTB way to achieve this, or do i need to do customizations based on runmodes?

Thanks,

Veera

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by jantzen_b

Hi Veera,

I'm sorry we can't provide a better out of the box solution. When Adobe Launch is released, we'll have more options for environments (There will be more than just Staging and Production). Perhaps we may have a better out of the box solution to fit your needs at that point.

If interested, you can keep up with all things Adobe Launch by visiting Adobe.com/go/launchme

 

Thanks,
Jantzen

6 replies

jantzen_b
Adobe Employee
Adobe Employee
May 23, 2017

Hi Veera,

As far as DTM, the Staging embed code should be used for DEV/Staging/UAT and the Production embed code should be used for PROD. The header code is the only thing that changes, the footer code is the same regardless of which environment you're using.

When you say you set up the integration, are you referring to the AEM integration or which integration are you referring to?

 

Thanks,
Jantzen

Veera_kandregul
Level 2
May 24, 2017

Thanks Jantzen,

I am referring to the recommended integration using /etc/cloudservices/dynamictagmanagement/<DTMconfig> and then using cloud config tab on page properties.

When i looked into implementation code of these integrations, it is checking only if 'author' or 'wcmmode=disabled' but dont have any options to verify/configure the lower environments so that staging header will go into these environments.

 

Below is the snippet from /libs/cq/dtm/components/dynamictagmanagement/dtm_include.jsp

//We use production scripts if we run on a publish instance or the user asked to use these scripts on author instance as well.
        String dtmScriptsTypeToUse = (mode == WCMMode.DISABLED || authorProdInclude) ? "production" : "staging";

 

Can you let me know if there is any OOTB way to get staging header code into lower environments?

ParitMittal
Level 10
May 24, 2017

Hi Veera,

Please refer the following thread :http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__icyf-hi_we_have_notic.html

It will definitely help to resolve your issues. Also, Please do let us know incase further help is required

Regards

Parit Mittal

jantzen_b
Adobe Employee
Adobe Employee
May 24, 2017

Veera,

It definitely looks like you're referring to the integration with AEM. Parit's answer contains a link that might answer your question. If not, we can move this thread over to the AEM community where others using this integration might have some additional info.

Thanks,
Jantzen

Veera_kandregul
Level 2
May 25, 2017

Thank you Parit and Jantzen,

We already following the said custom approach but want to go away with that as it will work only if DTM team is centralised. Also, those changes needs to be done on every property and that may mean its prone to human error and misses.

Anyway, It seems like there is no OOTB way to exclude lower environments to get PROD DTM scripts without customization. We will try to customize the DTM component /libs/cq/dtm/components/dynamictagmanagement to fix our problem.

 

Thank you for your help.

 

Best Regards:

Veera

jantzen_b
Adobe Employee
jantzen_bAdobe EmployeeAccepted solution
Adobe Employee
May 25, 2017

Hi Veera,

I'm sorry we can't provide a better out of the box solution. When Adobe Launch is released, we'll have more options for environments (There will be more than just Staging and Production). Perhaps we may have a better out of the box solution to fit your needs at that point.

If interested, you can keep up with all things Adobe Launch by visiting Adobe.com/go/launchme

 

Thanks,
Jantzen