Configure a tag property
Learn how to configure a tag property in the Data Collection interface.
Tags in Adobe Experience Platform are the next generation of tag management capabilities from Adobe. Tags give customers a simple way to deploy and manage analytics, marketing, and advertising tags necessary to power relevant customer experiences. Learn more about Tags in the product documentation.
Prerequisites
To complete the lesson, you must have permission to create a tag property. It’s also helpful to have a baseline understanding of tags.
Learning objectives
In this lesson, you will:
- Install and configure the mobile tag extensions.
- Generate the SDK install instructions.
Initial setup
-
Create a new mobile tag property in the Data Collection Interface:
-
Select Tags in the left navigation.
-
Select New Property
. -
For the Name, enter
Luma Mobile App Tutorial
. -
For the Platform, select Mobile.
-
Select Save.
note note NOTE Default consent settings for the edge-based mobile sdk implementations such as the one you are doing in this lesson come from the Consent extension and not the Privacy setting in the tag property configuration. You add and configure the Consent extension later in this lesson. For more info, see the documentation.
-
-
Open the new property.
-
Create a library:
-
Go to Publishing Flow in the left navigation.
-
Select Add Library.
-
For the Name, enter
Initial Build
. -
For the Environment, select Development (development).
-
Select Add All Changed Resources.
-
Select Save and Build to Development.
-
Finally, select Initial Build as your working library from the Select a working library menu.
-
-
Check extensions:
-
Ensure that Initial Build is selected as default library.
-
Select Extensions in the left rail.
-
Select the Installed tab.
The Mobile Core and Profile extensions should be pre-installed.
-
Extension configuration
-
Ensure you are in Extensions within your mobile app property.
-
Select Catalog.
-
Use the Search field the find the Identity extension.
-
Search for
Identity
. -
Select the Identity extension.
-
Select Install.
This extension does not require any further configuration.
-
-
Use the Search field to find and install the AEP Assurance extension.
This extension does not require any further configuration.
-
Use the Search field to find and install the Consent extension. In the configuration screen:
-
Select Pending. In this tutorial, you manage consent further in the application. Learn more about the Consent extension in the documentation.
-
Select Save to Library.
-
-
Use the Search field to find and install the Adobe Experience Platform Edge Network extension.
-
In Datastreams select the Datastream that you created in the previous step for each of the environments, for example Luma Mobile App.
-
If not already populated, specify the Edge Network domain within Domain Configuration. The Edge Network domain is the name of your organization, followed by
data.adobedc.net
, for exampletechmarketingdemos.data.adobedc.net
. -
From the Save to Library menu, select Save to Library and Build.
-
Your library is built for the new extensions and configurations. A successful build is indicated by a ● in the Initial Build button.
Generate SDK install instructions
-
Select Environments from the left rail.
-
Select the Development install icon .
-
In the Mobile Install Instructions dialog, select the iOS tab.
-
You can copy the instructions to set up your project using CocoaPods. CocoaPods are used to manage SDK versions and downloads. To learn more, please review the CocoaPods documentation. If you are using Android™ as your development platform, Gradle is the tool to manage SDK version, downloads, and dependencies. To learn more, please review the Gradle documentation
The install instructions provide you a good starting point for implementation. You can find additional information here.
note info INFO For the remainder of this tutorial, you will not use the CocoaPods instructions but instead use a native Swift Package Manager (SPM) based setup. -
Select the Swift tab below Add Initialization Code. This block of code shows how to import the required SDKs and register the extensions at launch. This is covered in more detail in Install SDKs.
-
Copy the Environment File ID and store it in a place as you need it later. This unique ID points to your development environment. Each environment (Production, Staging, Development) does have its own unique ID value.
Mobile tags architecture
If you are familiar with the web version of Tags, formerly Launch, it’s important to understand the differences on mobile.
-
On the web, a tag property is rendered into JavaScript which is then (usually) hosted in the cloud. That JavaScript file is referenced directly in the website.
-
In a mobile tag property, rules and configurations are rendered into JSON files which are hosted in the cloud. The JSON files are downloaded and read by the Mobile Core extension in the mobile app. Extensions are separate SDKs that work together. If you add an extension to your tag property, you must also update the app. If you change an extension setting or create a rule, those changes are reflected in the app once you publish the updated tag library. That flexibility allows you to modify settings (like Adobe Analytics report suite id) or even change your app’s behavior (using data elements and rules, as you will see in later lessons) without having to change code in your app and resubmit the app store.
Next: Install SDKs