Getting Data Into Salesforce DMP - Data Layer Ingestion

What is a Data Layer?

A Data Layer is a javascript object that is available on a website page that holds information to be used by systems like analytics, ad servers, DMPs, CRMs and others. Many different Data Layer types and structures exist and they are dependent on what the sites they are on do, and what is available to them on the page.

I already have a Data Layer

Excellent, let your Salesforce DMP representative know and send them a few details.

  • Your Data Layer object name
    • if you use google analytics it will typically be dataLayer
  • A few test pages so we can check data ingestion is working
    • please include a variety of example pages where the Data Layer is either basic or complicated
  • If you have anything that appears in the "Exclude the Following" list below.

How to build a Data Layer (Minimum Taxonomy)

Salesforce DMP can work with any shape/structure of Data Layer. We do have some recommendations that make things helpful:

  • Please have separate sections for page information and user information.
  • Below is a sample data layer.  The typical list of page attributes are highlighted below in blue, and are recommended for getting started.
    {
     "page": {
       "site": "example.com",
       "section": "news",
       "subsection": "daily",
       "category": "local news",
       "keywords": ["technology", "small business"]
      },
      "user": {
        "userId": "f7c3bc1d808e04732adf679965ccc34ca7ae3441",
        "hashedEmail": "ab0aabdcddbc5590b63a86dc2afc82b5b2dd47d4",
        "profile": {
          "gender": "m",
          "ageRange": "19-24"
        }
      }
    }
  • You can include multiple values for a given item by making it an array like keywords above.
  • Please avoid using commas in values, if you need to include commas, first reach out to your Salesforce DMP representative to discuss options.

Note: We expect unsalted SHA-1 hashing for hashedEmail.

Exclude the Following:

    • HTML Objects.
    • GPS Co-ordinates.
    • Personally Identifiable Information (PII).

      Note: Certain countries have very specific laws on what PII is.

    • Highly unique values. e.g.
      • Session IDs
      • Timestamps
      • Page URLs
      • 0.0001, 0.0002, 0.0003, etc.
      • Query strings
      • Impression IDs
      • Anything that changes from impression to impression

Steps to Activate

Once the Data Layer is ready please contact your Salesforce DMP representative who will provide you with the Data Specification Template. This is a spreadsheet that you fill in with the items you are expecting to send to Salesforce DMP and some of the possible values, as well as information on how you would like the attributes displayed in the Salesforce DMP platform.

Updates to Data Layer

One of the major benefits of using the Data Layer is that you can easily add new items to the data collection at any point in time.  Once Salesforce DMP has configured our account to pull data from your Data Layer, you can add and remove items for ingestion into Salesforce DMP at any point in time.  Please contact your Salesforce DMP representative with the details if the item you have added/removed. There is a short review process to ensure that the data is acceptable for collection and pending review it will be enabled within Salesforce DMP.

Other Information Regarding Data Layers

CUSTOMER EXPERIENCE DIGITAL DATA COMMUNITY GROUP
http://www.datalayerdoctor.com/a-gentle-introduction-to-the-data-layer-for-digital-marketers/
http://www.lunametrics.com/blog/2013/10/15/unlock-data-layer-google-tag-manager/

Need Help?

If you need help with Data Layer Ingestion, don't hesitate to contact the Salesforce DMP Solutions team at kruxhelp@krux.com.

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk