Skip to content

johnwight/Adobe-AEM-with-DTM-and-Analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 

Repository files navigation

Adobe AEM with DTM and Analytics

Configure Your Adobe AEM Site for DTM and Analytics

The following instructions provide guidance on configuring Adobe Experience Manager (AEM) with Dynamic Tag Management (DTM) and Adobe Analytics. Although your AEM site may differ from the example site used below, you can use these steps as a guide for setting up your own configuration.

These instructions include the following sections:

  1. Configure AEM with DTM

  2. Add an Alert to DTM

  3. Configure AEM + DTM with Analytics

To configure AEM with DTM:

  1. From your Adobe DTM Account Dashboard, click on your company name.

    dtm dashboard

  2. On the company dashboard, click the Add Property button.

    add property

  3. On the Create Property form, specify a Name and a URL and click Create Property.

    create property

  4. On the company dashboard, use the filter field to search for the property you created in the previous step.

    property filter

  5. Select the property from the search results.

  6. In AEM, click Tools > Operations > Cloud > Cloud Services.

  7. Under Dynamic Tag Management, click Configure Now.

    configure now

  8. On the Create Configuration box, specify a Title and click the Create button.

    create box

  9. On the Dynamic Tag Management Settings box that appears in DTM Settings, provide the following information:

    • API Token
    • Company
    • Property

    dynamic tag management settings box

    1. To retrieve the API token:

      1. Return to the DTM Dashboard and click the Profile icon and then click DTM Account.

        click dtm account

      2. On the DTM Edit Account screen, scroll to the bottom to find and copy the API Token.

        api token value

      3. After pasting the token into the Dynamic Tag Management Settings box, click the Connect to DTM button to test it.

        dynamic tag management settings box

        You should receive a message indicating that the connection is successful.

        connection successful

    2. To specify the Company, select it from the drop-down in the field.

    3. To specify the Property, select it from the drop-down in the field. If you have many properties, you may need to scroll to find it.

  10. Near the bottom of the Dynamic Tag Settings box, deselect the Include Production Code on Author option.

    include option

  11. Click the Staging Settings tab and deselect the Use self hosting option.

    use self hosting

  12. Click the Production Settings tab and deselect the Use self hosting option.

    use self hosting

  13. Click OK.

  14. Click the Sites button in AEM.

  15. Click the View Properties pop up option on the on the site you are configuring for DTM. In these instructions, we will configure the Geometrixx Outdoors site.

    sites in aem

  16. Click Cloud Services and then click Edit.

    cloud services edit

  17. Click the Add Configuration drop down and select your DTM configuration.

    add cloud configuration

  18. Verify that the new configuration reference for Dynamic Tag Management appears.

    new config reference

  19. Click Done in the upper right corner.

  20. Open a new tab in your browser and go to the local host for your AEM site.

  21. Click Sources on the developer tools for your site and verify the DTM file information.

    verify dtm file

To add an alert:

  1. On the AEM Dashboard, click the Web Properties tab and specify your DTM configuration in the Filter By field.

    specify dtm from filter

  2. Select your DTM configuration from the filter results and click the Rules tab. Click Page Load Rules on the left pane and then click the Create New Rule button.

    create new rule

  3. For the new rule, specify the Name of your alert, the Conditions for the Trigger area and the Criteria. You can also add criteria for the rule by clicking the Add Criteria button and selecting the applicable browser.

    page load rules

  4. On the Non-Sequential tab under Javascript/Third Party Tags, click the Add New Script button.

    add new script

  5. On the New Javascript form, specify a Tag Name and add the Javascript code you want to associate with the tag. Click Save Code.

    new javascript

  6. Click Save Rule at the bottom of the new rule form.

  7. Click the Approvals tab.

    approvals tab

  8. Click the Approve button at the bottom of the Approvals page.

  9. Refresh your web site page and verify that your alert appears.

To configure AEM + DTM with Analytics:

  1. Verify that you (or the assigned user) have administrative privileges and web services credentials for the web services group. To do this:

    1. On the Reports page in Analytics, click Admin and then User Management. If you do not see the Admin tab, then you do not currently have administrative privileges.

      user management

    2. On the Users tab, click Edit in the row for your user name.

    3. Verify the details in the Access section.

      web service access

  2. Configure a new report to associate with your DTM. To do this:

    1. On the Admin tab of the Analytics home screen, click the Report Suites option.

      admin tab for report suites

    2. On the Reports Suites Manager page, click Create New and select Report Suite. Configure the new report suite so that it is accessible in Adobe Analytics and contains sufficient conversion variables (evars).

      report suite manager

    For more information on configuring new Report Suites, see the Adobe Reports Suite Manager help.

  3. In AEM, create a new tool for Adobe Analytics. To do this:

    1. On the Overview tab in AEM, click the Add a Tool button.

      add a tool button

    2. On the Add a Tool form, specify the following:

    3. Click the Create Tool button.

      create tool form

  4. Specify the Staging and Production Report Suites and click Save Changes at the bottom of the page.

    report suite specification

  5. Click the Approvals tab and approve the changes.

  6. On your site, open the developer tools, click the Network tab then select the Preserve log option and then refresh the page. You should find that Analytics calls are successful by reviewing the response code and the log details.

    log details

  7. Perform various tasks and web behaviors on your site to generate Analytics data.

  8. Click the Reports tab in Analytics and select a metric related to the behaviors you performed on your site.

    report metrics

  9. Make sure your report name is specified and then view the analytics data that is captured in the report. You should see it correspond with the web behavior you performed on your site.

    pages report

Author

About

Configure your Adobe AEM site for DTM and Analytics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published