digital velocity london 2017: data layer enrichment api

15
© 2017 Tealium Inc. All rights reserved. | 1 © 2017 Tealium Inc. All rights reserved. | 1

Upload: tealium

Post on 23-Jan-2018

103 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Digital Velocity London 2017: Data Layer Enrichment API

© 2017 Tealium Inc. All rights reserved. | 1© 2017 Tealium Inc. All rights reserved. | 1

Page 2: Digital Velocity London 2017: Data Layer Enrichment API

© 2017 Tealium Inc. All rights reserved. | 2© 2017 Tealium Inc. All rights reserved. | 2

Data Layer Enrichment API

Page 3: Digital Velocity London 2017: Data Layer Enrichment API

© 2017 Tealium Inc. All rights reserved. | 3© 2017 Tealium Inc. All rights reserved. | 3

Overview

Page 4: Digital Velocity London 2017: Data Layer Enrichment API

© 2017 Tealium Inc. All rights reserved. | 4

Chaos at the data layer

Experience Layer

Application Layer

No Data Layer = CHAOS

Page 5: Digital Velocity London 2017: Data Layer Enrichment API

© 2017 Tealium Inc. All rights reserved. | 5

Data Layer brings order

Unification, Security, Control,

Privacy, Enrichment &

Ownership

Experience Layer

Application Layer

Data Layer = Order

Page 6: Digital Velocity London 2017: Data Layer Enrichment API

© 2017 Tealium Inc. All rights reserved. | 6

The Data Layer is CoreDefine: Your one true definition of data

across all your digital assets and customer

interactions

Control: Your ability to standardize and

control data distribution to vendors

Enrich: Your ability to enrich data to include

visitor attributes and insights across

technology platforms

Page 7: Digital Velocity London 2017: Data Layer Enrichment API

© 2017 Tealium Inc. All rights reserved. | 7© 2017 Tealium Inc. All rights reserved. | 7

Standard Tealium Data Layer Flow

utag_data utag.js utag.data

Page 8: Digital Velocity London 2017: Data Layer Enrichment API

© 2017 Tealium Inc. All rights reserved. | 8

▪ Host Data Layer objects on Tealium's CDN

▪ Static JSON objects fetched to supplement on page Data Layer

▪ Data Layer Enrichment Extension used to enrich

Why use DLE API?

Page 9: Digital Velocity London 2017: Data Layer Enrichment API

© 2017 Tealium Inc. All rights reserved. | 9© 2017 Tealium Inc. All rights reserved. | 9

DLE API Flow

Create JSON files

Upload Data

Check Files

Retrieve Data

Verify Data

Page 10: Digital Velocity London 2017: Data Layer Enrichment API

© 2017 Tealium Inc. All rights reserved. | 10

Step 1: Create JSON File(s)

{"product_category" : ["Accessories"],

"product_brand" : ["Acme"], "product_sku" :

["GEN-PRD-BLU"],

"product_has_free_shipping" : ["0"],

"product_has_instore_pickup" : ["1"] }

Examples:

▪ { "enriched":true, "dle":"fired"}

Page 11: Digital Velocity London 2017: Data Layer Enrichment API

© 2017 Tealium Inc. All rights reserved. | 11

Step 2: Upload Data

▪ Login: https://api.tealiumiq.com/v1/login

▪ Upload:

https://api.tealiumiq.com/v1/dle/accounts/ACCOUNT/profiles/PROFILE/datalayers/UNIQUEF

ILENAME?utk=TOKENVALUE

▪ New files: PUT

▪ File Updates: POST

API Calls

Page 12: Digital Velocity London 2017: Data Layer Enrichment API

© 2017 Tealium Inc. All rights reserved. | 12

Step 3: Check Files

▪ Check file at:

http://tags.tiqcdn.com/dle/ACCOUNT/PROFILE/UNIQUEFILENAME.js

Page 13: Digital Velocity London 2017: Data Layer Enrichment API

© 2017 Tealium Inc. All rights reserved. | 13

Step 4: Retrieve Data1. Log in to Tealium

2. Create a new variable (or several) via the ‘Data Layer’ tab (e.g. dlereference)

3. Add an extension to define the variable

1. Set Data Values

2. Lookup Table

4. Add the “Data Layer Enrichment”

5. Publish

Page 14: Digital Velocity London 2017: Data Layer Enrichment API

© 2017 Tealium Inc. All rights reserved. | 14

Step 5: Verify Data▪ The Source/Network tab

▪ Here you will see the file downloaded from “tags.tiqcdn.com/dle”

▪ The Console tab▪ The location of the enriched file is: utag.globals.dle.data

Page 15: Digital Velocity London 2017: Data Layer Enrichment API

© 2017 Tealium Inc. All rights reserved. | 15

Single Page Applications + Dynamic Events1. Use an alternative approach to retrieve the data layer.

2. E.g. a JavaScript extension that downloads the file and fires a view event on

receipt

3. Update the main utag.data object via a Tealium Extension