Prerequisites

To configure Analytics for Communities features, it is necessary to work with your account representative to setup an Adobe Analytics account and report suite. Once established, the following information should be available:

  • Company Name

    The company that is associated with the Adobe Analytics account

  • Username

    The login username for the user authorized to manage the Analytics account

    (Should include Web Service Access privileges)

  • Password

    The login password for the authorized user

  • Analytics Data Center

    The URL of the Analytics data center for the account

  • Report Suite

    The name of the Analytics report suite to use

Adobe Analytics Report Suite for Video Reporting

Using the Adobe Marketing Cloud’s Report Suite Manager, Analytics report suites can be configured so that a community site may be enabled to provide reports for Communities features.

By signing in to Adobe Marketing Cloud with Company Name and Username, it is possible to configure a new or existing report suite to have:

  • 11 Conversion Variables (evars)

    • evar1 through evar11 enabled
    • Can repurpose (rename) existing evars or create new ones to use for Communities features
  • 7 Success Events (events)

    • event1 through event7 enabled

    • Type Counter

      • not Counter (no subrelations)
    • Can repurpose (rename) existing events or create new ones to use for Communities features

  • Video Management

    • Video Reporting console

      • Enable Video Core
      • Select Save
    • Video Core measurement console

      • Select Use Solution Variables
      • Select Save

If using a new report suite, be aware that a new report suite may only have 4 evars and 6 event variables, while 11 evars and 7 event vars are required for Communities.

If using an existing report suite, it may be necessary to modify the variable mapping prior to activating the Analytics framework for a community site. Contact your account representative for any concerns regarding the variables dedicated to Communities.

CAUTION
If using an existing report suite that already uses variables within
  • evar1 through evar11
  • event1 through event7
Then before the community site is published, it is important to restore the pre-existing mapping by moving the AEM variables that were automatically mapped to Analytics variables when Analytics was enabled for a community site.
To restore the pre-existing mapping and move AEM variables to other Analytics variables, see the section on Modifying Analytics Variable Mapping.
Failure to do so may result in unrecoverable data loss.

Video Heartbeat Analytics

When Video Heartbeat Analytics is licensed, a Marketing Cloud Org Id is assigned.

To enable Video Heartbeat reporting after configuring the Analytics report suite for video reporting:

The Marketing Cloud Org Id may be entered at the time of community site creation or later by modifying the community site properties.

chlimage_1-264

When Video Heartbeat Analytics is enabled, the Javascript (JS) code for the video player instantiates the video heartbeat library code (also in JS) which handles all the logic for sending video status updates to the Analytics video tracking servers every 10 seconds (not configurable) and eventually sending a cumulative report of the video session to the main Analytics servers.

If not enabled, the video heartbeat code is never instantiated and only the video progress and resume position tracking is persisted to SRP for reporting.

AEM Analytics Cloud Service Configuration

To create a new Analytics Integration, which integrates Adobe Analytics with the AEM community site, using the standard UI on the author instance:

  • From global navigation: Tools > Deployment > Cloud Services
  • Scroll down to Adobe Analytics
  • Select either Configure Now or Show Configurations

chlimage_1-265

Create Configuration Dialog

  • Select [+] icon next to Available Configurations to create a new configuration

On the Create Configuration dialog, the values to be entered identify the configuration.

chlimage_1-266

  • Title

    (Required) A display title for the configuration.

    For example, enter Enablement Community Analytics

  • Name

    (Optional) If not specified, the name will default to a valid node name derived from the title.

    For example, enter communities

  • Template

    Select Adobe Analytics Configuration

  • Select Create

    • Launches configuration page and opens Analytics Settings dialog

Analytics Settings Dialog

The initial creation of a new Analytics configuration results in the display of the configuration and a new dialog for entry of the Analytics Settings. This dialog requires the prerequisite account information obtained from the account representative.

chlimage_1-267

  • Company

    The company that is associated with the Adobe Analytics account

  • Username

    The login username for the user authorized to manage the Analytics account

  • Password

    The login password for the authorized user

  • Data Center

    Select the Analytics data center hosting the report suite

  • Do not add tracking tag to page

    Leave as default (unchecked)

  • Use AppMeasurement

    Leave as default (unchecked)

  • Do not import page impressions nightly (author)

    Leave as default (unchecked)

  • Do not import page impressions nightly (publish)

    Leave as default (checked)

To save the settings:

  • Select Connect to Analytics

    • If not successful,

      • Verify entries do not contain leading spaces
      • Try a different data center
      • Contact your account representative
  • Select OK

chlimage_1-268

Create Framework

After successful configuration of the basic connection to Adobe Analytics, it is necessary to create or edit a framework for the community site. The purpose of the framework is to map Communities feature (AEM) variables to Analytics (report suite) variables.

  • Select [+] icon next to Available Frameworks to create a new framework

chlimage_1-269

  • Title

    (Required) A display title for the framework

    For example, enter Enablement Community Framework

  • Name

    (Optional) If not specified, the name will default to a valid node name derived from the title.

    For example, enter communities

  • Template

    Select Adobe Analytics Framework

  • Select Create

Creating the Analytics Framework opens the framework for configuration.

AEM Analytics Framework Configuration

The purpose of the framework is to map AEM variables to Analytics variables (evars and events). The Analytics variables available for mapping are defined in the report suite.

chlimage_1-270

Select Report Suite

Select the report suite that has been set up for video reporting.

If a report suite has not yet been created or not properly set up, see the previous section:
Adobe Analytics Report Suite for Video Reporting

The Sidekick is not needed and may be minimized so that it does not obstruct access to the Report Suites settings.

Report Suites dialog before and after selecting ‘Add Item’

chlimage_1-271

  1. Select Add Item + two drop down boxes appear
  2. Choose a Report suite the report suites associated with the Company account should be available for selection
  3. Select Yes in the dialog that opens: Load default server settings? Do you want to load the default server settings and overwrite current values in the Server section?
  4. Choose a Run Mode
    Choose publish

chlimage_1-272

The Analytic cloud service and framework are now complete. The Mappings will be defined once a community site has been created with this Analytics service enabled.

Enable Analytics for a Community Site

Enable for New Community Site

To add the Analytics cloud service while creating a new community site:

  • In step 3

  • Under the ANALYTICS tab:

    • Check the Enable Analytics checkbox
    • Choose the framework from the drop-down box
  • Optionally, return to the Analytics framework configuration to adjust the variable mappings.

Enable for Existing Community Site

To add the Analytics cloud service to an existing community site:

  • Navigate to the Communities > Sites console

  • Select the community site’s Edit Site icon

  • Select the SETTINGS

  • In the Analytics section:

    • Check the Enable Analytics checkbox
    • Choose the framework from the drop-down box
  • Optionally, return to the Analytics framework configuration to adjust the variable mappings.