10 Leveraging Data Elements for Tags Implementation | BCS 10 Leveraging Data Elements for Tags Implementation | BCSBCS

10 Leveraging Data Elements for Tags Implementation

Adobe Launch BCS 5 years ago (2019-11-28) 1551 Views 0 Comments

Data elements are Launch’s version of a data layer. They can store values from your own data layer object, cookies, local storage objects, query string parameters, page elements, meta tags, etc.,  which  are mostly used in Adobe Launch rules, but can also be used in Extensions, this can greatly improve efficiency.

As we all know, many fields need to be configured in Extensions. In fact, these fields can be set through Data Elements. This section will explain leveraging Data Elements for Tags Implementation.

Take a simple example, deploy google analytics, because there are fewer fields to configure, forgive me I don’t want to set it too complicated. I want to cover up a simple example to make you better understand Leveraging Data Elements for Tags Implementation

Click Extensions, then search “google” under Catalog to install Google Analytics

10 Leveraging Data Elements for Tags Implementation

You can see the following interface:

10 Leveraging Data Elements for Tags Implementation

 

The main demonstration of the configuration in General, you can see a lot of settings have a small bucket or a database-like icon on the right, this means that you can use the Data Elements.

Let’s create two Data Elements, one to store the Tracking ID and one to store the value 100.

Create Data Elements

In the top navigation, click Data Elements  and then Add Data Element:

10 Leveraging Data Elements for Tags ImplementationA Data Elements setup interface will appear:

10 Leveraging Data Elements for Tags Implementation

  • Name——Name the data element.
  • Extensions——Depends on what you have installed Extensions.
  • Select Data Element Type——The available data element types are determined by the extension. Adobe Launch has a lot of built-in Data Elements.
  • Default value——If you do not provide a value, no value is sent. Some people choose to enter something like “none” or “n/a” so they can determine what is sent if there isn’t a value. Different solutions deal with an empty variable differently. This creates consistency even if a value doesn’t exist.
  • Force a lowercase value——Select whether to force a lowercase value.
  • Clean text——Select whether to use clean text. The Clean Text option removes any whitespace from the beginning and end and replaces any successive spaces in the middle with single spaces. Use this option to normalize element values for easier matching.
  • Storage Duration——The available choices are:None、Page view、Session and Visitor.
None:The value is not stored.
Page view:The value is held in a variable until the page is refreshed or a new page is loaded.
Session:Values persist in the browser’s session storage until the browser tab is closed. and available throughout the site visit.
Visitor:The value is stored indefinitely in the client device’s local storage.

The specific configuration is as follows:

Tracking ID

10 Leveraging Data Elements for Tags Implementation

100

10 Leveraging Data Elements for Tags Implementation

 

Page  Title

In order for you to better understand Data Elements, we create Page Title:

10 Leveraging Data Elements for Tags Implementation

Leveraging Data Elements for Tags Implementation

Let’s go back to Google Analytics Extensions and click on the small bucket or data icon:

10 Leveraging Data Elements for Tags Implementation

Then a page pops up where you can select the data element. Here we select the Tracking ID and click Select.

10 Leveraging Data Elements for Tags Implementation

The data element is introduced, with two percent signs sandwiching the data element.

10 Leveraging Data Elements for Tags Implementation

Similarly, other data elements are introduced, and the final effect is this:

10 Leveraging Data Elements for Tags Implementation

Finally you can publish this.

 

Again, there are a lot of optional types in data elements. Here we use constants as examples.


If you don't understand, You can leave a comment below.
Like (1)
Post my comment
Cancel comment
Expression Bold Strikethrough Center Italic

Hi, you need to fill in your nickname and email!

  • Nickname (required)
  • Email (required)
  • Website