Expand my Community achievements bar.

DTM to AEM publish on Self hosting

Avatar

Level 1

Dear all,

Please let me know your thoughts on this.

Trying to use the self hosting DTM on AEM instance instead of invoking Adobe's Akamai DTM URL. Idea here is to host within the /content/dam/js/DTM folder,

==>Created webproperty with sample rules and enabled Library download option

a)Should the Deploy hook URL be invoked with a servlet option to push the changes each time a web property is published OR

If I just provide the Staging http path - Do the js files get pushed automatically to the path mentioned on every publish of the web property even if i dont provide the deploy hook url with a post servlet URL.

b)Any example of the staging  HTTP path to be provided, Could I provide  something like http://abc.com/content/dam/js/dtm where the website is hosted on Akamai

or should I tie this to the publish instance URL http://10.27.9.551:4503/content/dam/js/dtm.

c) Should both staging and production be provided together because we would first like to check on staging first.

1368671_pastedImage_0.png

Any help on these questions would be extremely appreciated.

4 Replies

Avatar

Community Advisor

Hello Rajesh,

Question 1 : Should the Deploy hook URL be invoked with a servlet option to push the changes each time a web property is published OR

If I just provide the Staging http path - Do the js files get pushed automatically to the path mentioned on every publish of the web property even if i dont provide the deploy hook url with a post servlet URL.

Answer 1 : Hook URL is not mandatory. You need to download the JF Files under 'Download URLs' once you click on Save information and host it in AEM manually.

Question 2 :Any example of the staging  HTTP path to be provided, Could I provide  something like http://abc.com/content/dam/js/dtm where the website is hosted on Akamai

or should I tie this to the publish instance URL http://10.27.9.551:4503/content/dam/js/dtm.

Answer 2 : Example for staging path is localhost:8080/test/js. Best practice is not to point the website hosted in Akamai.

Question 3 : Should both staging and production be provided together because we would first like to check on staging first.

Answer 3 : Not necessary. You can try it with Staging Codes first.

Thank You!

Arun

Avatar

Level 1

Thank you for the response.

Ok let me rephrase the question this way :

1)If news rules are added to the web property and published, Do the latest updated files get automatically pushed to whatever staging path is provided OR  usage of deploy hook url is mandatory to push the published changes each time the web property is modified.

What actually is the significance of deploy hook URL if new published changes get pushed automatically without even having to use it.?

2) Also there is a need to move the JS files to AEM authoring instance. So have you used the AEM publish instance instead of webserver URL in staging path. AEM Publish instance is behind the firewall. So Can I write something to the AEM repository without establishing the session.?

Thanks.

Avatar

Community Advisor

Hello Rajesh,

Sorry for late revert.

Answer 1: Files will not be pushed automatically in the staging path if you didn't provide hook URL. If you provide hook URL, process of deploying dynamic tag management files to the server can be automated whenever there is an update. Guess we need to create a script that should be accessible via the specified public URL.

Since i personally didn't experience this, i dont have much to advice on this part. You can deploy it and see whether the changes are updated automatically on updates and revert the results in this discussion. Will be helpful for me as well.

Answer 2: No idea regarding AEM. If you can post the question in AEM Forum, experts may help you.

Thank You!

Arun

Avatar

Community Advisor

Dear Rajesh,

Found this URL in HelpX Adobe : Integrating with Adobe Dynamic Tag Management

Hope this URL will give you all the answers.

Thank You!

Arun.