Expand my Community achievements bar.

SOLVED

AEM Analytics Integration

Avatar

Level 10

Hi all,

 

Kindly offer a bullet list of high level activities involved in AEM Analytics Integration, both the flavors of using Launch and not in between.

If you could put a hyperlink for each of these tasks, it helps me to go into depths of any of them.

 

I highly appreciate all your support.

 

Thanks,

Rama.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi, 

There is a couple ways to integrate Analytics, it will depend on several factors here you can find a well detailed list of those available methods: https://experienceleague.adobe.com/docs/analytics/implementation/launch/overview.html?lang=en 

If you are referring to integrating Analytics through the Analytics' Launch (DataCollection Tags) Extension, this will be a quick step guide:

1 Ensure you have defined a report suite. Report Suite Manager
2 Create a data layer to manage the tracking of the data on your website. Create a data layer
3 Create a tag property. Properties are overarching containers used to reference tag management data. Create an Adobe Analytics tag property
4 Install the Analytics extension in the tag property. Configure the Analytics extension to send data to Adobe Analytics. Adobe Analytics extension overview
5 Deploy to a development environment. Have an environment where you can iterate on the development of tags. Deploy an Analytics implementation to a development environment
6 Validate and publish to production. Embed code to include your tag property to your web site pages. Then use data elements, rules, and so on, to customize your implementation. Embed code
Validate a development implementation and publish to production

 

Read more here: https://experienceleague.adobe.com/docs/analytics/implementation/launch/overview.html?lang=en

 

If you need to install directly Adobe Analytics you will have to:

1 Ensure you have defined a report suite Report Suite Manager
2 Download the required JavaScript code for AppMeasurement from Code Manager. Unzip the file. Code Manager
3 Add AppMeasurement.js to your website's template file. The code contains the libraries required to send data to Adobe.
<head>
  <script src="AppMeasurement.js"></script>
  …
</head>
 
 
4 Define configuration variables within AppMeasurement.js. When the Analytics object is instantiated, these variables make sure that data collection settings are correct.
// Instantiate the Analytics tracking object with report suite ID
var s_account = "examplersid";
var s=s_gi(s_account);

// Make sure data is sent to the correct tracking server
s.trackingServer = "example.data.adobedc.net";
 
 
Configuration Variables
5 Define page-level variables within your site's page code. These variables determine specific dimension and metrics sent to Adobe.
s.pageName = "Example page";
s.eVar1 = "Example eVar";
s.events = "event1";
 
Page Variables
6 Send the data to Adobe using the t() method, when all page variables are defined.
s.t();
 
t() method
7 Extend and validate your implementation before pushing it out to production.

 

You can read more here about this method: https://experienceleague.adobe.com/docs/analytics/implementation/js/overview.html?lang=en

 

Hope this helps



Esteban Bustamante

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi, 

There is a couple ways to integrate Analytics, it will depend on several factors here you can find a well detailed list of those available methods: https://experienceleague.adobe.com/docs/analytics/implementation/launch/overview.html?lang=en 

If you are referring to integrating Analytics through the Analytics' Launch (DataCollection Tags) Extension, this will be a quick step guide:

1 Ensure you have defined a report suite. Report Suite Manager
2 Create a data layer to manage the tracking of the data on your website. Create a data layer
3 Create a tag property. Properties are overarching containers used to reference tag management data. Create an Adobe Analytics tag property
4 Install the Analytics extension in the tag property. Configure the Analytics extension to send data to Adobe Analytics. Adobe Analytics extension overview
5 Deploy to a development environment. Have an environment where you can iterate on the development of tags. Deploy an Analytics implementation to a development environment
6 Validate and publish to production. Embed code to include your tag property to your web site pages. Then use data elements, rules, and so on, to customize your implementation. Embed code
Validate a development implementation and publish to production

 

Read more here: https://experienceleague.adobe.com/docs/analytics/implementation/launch/overview.html?lang=en

 

If you need to install directly Adobe Analytics you will have to:

1 Ensure you have defined a report suite Report Suite Manager
2 Download the required JavaScript code for AppMeasurement from Code Manager. Unzip the file. Code Manager
3 Add AppMeasurement.js to your website's template file. The code contains the libraries required to send data to Adobe.
<head>
  <script src="AppMeasurement.js"></script>
  …
</head>
 
 
4 Define configuration variables within AppMeasurement.js. When the Analytics object is instantiated, these variables make sure that data collection settings are correct.
// Instantiate the Analytics tracking object with report suite ID
var s_account = "examplersid";
var s=s_gi(s_account);

// Make sure data is sent to the correct tracking server
s.trackingServer = "example.data.adobedc.net";
 
 
Configuration Variables
5 Define page-level variables within your site's page code. These variables determine specific dimension and metrics sent to Adobe.
s.pageName = "Example page";
s.eVar1 = "Example eVar";
s.events = "event1";
 
Page Variables
6 Send the data to Adobe using the t() method, when all page variables are defined.
s.t();
 
t() method
7 Extend and validate your implementation before pushing it out to production.

 

You can read more here about this method: https://experienceleague.adobe.com/docs/analytics/implementation/js/overview.html?lang=en

 

Hope this helps



Esteban Bustamante