Integrating AEM Sites with Adobe Target
In this section, we will discuss how to set up Adobe Experience Manager Sites with Adobe Target for different scenarios. Based on your scenario and organizational requirements.
- Add Adobe Target JavaScript Library (required for all scenarios)
For sites hosted on AEM, you can add Target libraries to your site using, Launch. Launch provides a simple way to deploy and manage all tags necessary to power relevant customer experiences. - Add the Adobe Target Cloud Services (required for the Experience Fragments scenario)
For AEM customers, who would like to use Experience Fragment offers to create an activity within Adobe Target, you will need to integrate Adobe Target with AEM using the Legacy Cloud Services. This integration is required to push Experience Fragments from AEM to Target as HTML/JSON offers and to keep the offers in sync with AEM. This integration is required for implementing scenario 1.
Prerequisites
-
Adobe Experience Manager (AEM){#aem}
-
AEM 6.5 (latest Service Pack is recommended)
-
Download AEM WKND reference-site packages
-
-
Experience Cloud
-
Access to your organizations Adobe Experience Cloud -
https://<yourcompany>.experiencecloud.adobe.com
-
Experience Cloud provisioned with the following solutions
-
-
Environment
- Java 1.8 or Java 11 (AEM 6.5+ only)
- Apache Maven (3.3.9 or newer)
- Chrome
Set up AEM set-up-aem
AEM author and publish instance is necessary to complete this tutorial. We have the author instance running on http://localhost:4502
and publish instance running on http://localhost:4503
. For more information see: Set up a Local AEM Development Environment.
Set up AEM Author and Publish Instances
-
Get a copy of the AEM Quickstart Jar and a license.
-
Create a folder structure on your computer like the following:
-
Rename the Quickstart jar to
aem-author-p4502.jar
and place it beneath the/author
directory. Add thelicense.properties
file beneath the/author
directory.
-
Make a copy of the Quickstart jar, rename it to
aem-publish-p4503.jar
and place it beneath the/publish
directory. Add a copy of thelicense.properties
file beneath the/publish
directory.
-
Double click the
aem-author-p4502.jar
file to install the Author instance. This will start the author instance, running on port 4502 on the local computer. -
Sign In using the credentials below, and upon successful login, you are directed to the AEM Home Page Screen.
username : admin
password : admin
-
Double click the
aem-publish-p4503.jar
file to install a publish instance. You can notice a new tab open up in your browser for your publish instance, running on port 4503 and displaying the WeRetail home page. We are using the WKND reference site for this tutorial and let’s install the packages on author instance. -
Navigate to AEM Author in your web browser at
http://localhost:4502
. On the AEM Start screen, navigate to Tools > Deployment > Packages. -
Download and Upload the packages for AEM (listed above under Prerequisites > AEM)
- aem-guides-wknd.ui.apps-0.0.1-SNAPSHOT.zip
- aem-guides-wknd.ui.content-0.0.1-SNAPSHOT.zip
- core.wcm.components.all-2.5.0.zip
- digital-data-layer.zip
embed -
After installing the packages on AEM Author, select each uploaded package in AEM Package Manager, and select More > Replicate to ensure the packages are deployed to AEM Publish.
-
At this point, you have successfully installed your WKND reference site and all additional packages required for this tutorial.
NEXT CHAPTER: In the next chapter, you will integrate Launch with AEM.