CDP 365 User Guide
  • Release Notes
    • 2023
      • January 2023 Release Note
    • 2022
      • January 2022 Release Note
      • February 2022 Release Note
      • March 2022 Release Note
      • April 2022 Release Note
      • May 2022 Release Note
      • June 2022 Release Note
      • July 2022 Release Note
      • Aug 2022 Release Note
      • Sept 2022 Release Note
      • Oct 2022 Release Note
      • Nov 2022 Release Note
      • Dec 2022 Release Note
  • Media Template
    • Set up the algorithm for your template
  • Quick start guide
    • Set up Event Tracking code to track events into CDP
    • How to send mail from email upload?
    • How to create a "Trello Card" using CDP 365
    • How to create "Custom Attributes" with Input via UI feature
    • How to display template on website using CDP 365
    • How to display the Inline template on the website using CDP 365
    • Initialize customer after submitting form
    • How to create a "Destination Channel" in "Dataflows"?
    • Set up "Dataflows" to push data to CDP
    • Set up Dataflow using Google sheet Data Source to update Customer data on CDP
    • How to create "Attribute" for "Customer"/"Visitors"?
    • How to create a new segment?
    • How to create "Customer Journey"?
    • How to check campaign reports?
    • How to create "Report" with “Journey performance” data source?
    • How to create a new "Data sources"?
    • How to create "Data Source" connected with the" Business object" of CDP
    • How to create a Segment Data Source
    • How to create a Google Sheet Data Source
    • How to create "Promotion"/"Coupon"?
    • How to send "Zalo Notification Service" using CDP 365
    • Set up a "Segment" containing emails to be excluded before sending mail
    • How to send "SMS Yondu" using CDP 365
    • How to Send "Viber Yondu" using CDP 365
    • How to Send email using "SendGrid" in CDP 365
    • How to push notification using "Onesignal (App Push)" in CDP 365
    • The performance metrics of the journey
    • How to create a new "Ad Zone"
    • How to Send email using "Amazon SES" in CDP 365
    • How to define zone in website for improve web personalize performance
    • How to push notification "Firebase Cloud Messaging" using CDP 365
    • How to Send SMS using "Telerivet SMS" in CDP 365
    • How to Send SMS using "Klasik SMS" in CDP 365
    • Using "Segment" Data source in Dataflows
    • Set up "Dataflows" to push data to "Google" and "Facebook" Audiences
    • How to send message using "Messenger" in CDP
    • How to push notification "Firebase Cloud Messaging" for Shopify
Powered by GitBook
On this page
  • 1. Completed website integration with CDP: Add the main script, event script, ...
  • 2. Planning ad placement and creating a zone
  • 3. Add the script "_cdp365JourneySetting"
  1. Quick start guide

How to define zone in website for improve web personalize performance

PreviousHow to Send email using "Amazon SES" in CDP 365NextHow to push notification "Firebase Cloud Messaging" using CDP 365

Last updated 2 years ago

Usage scenario: Currently, when entering a web page, the CDP will return all variants that target the events invoked on this page. Therefore, for improve website personalize performance , the client can actively transmit the zone_code according to each desired event. The CDP will only return variants that target that zone on that event.

Guidelines:

  1. Completed website integration with CDP: Add main script, event script, ... (Required).

  2. Planning ad placement and creating a zone

  3. Add the script "_cdp365JourneySetting "

1. Completed website integration with CDP: Add the main script, event script, ...

2. Planning ad placement and creating a zone

You can see a sample display location plan here:

You can see instructions for creating zones here:

3. Add the script "_cdp365JourneySetting"

Structure:

<script>
   var _cdp365JourneySetting = {
    jrequest_events: [{
        event_category: "EVENT_CATEGORY_NAME_CODE1",
        event_action: "EVENT_ACTION_NAME_CODE1"
    }, {
        event_category: "EVENT_CATEGORY_NAME_CODE2",
        event_action: "EVENT_ACTION_NAME_CODE2"
    }],
    jrequest_zones: ["ZONE_CODE1", "ZONE_CODE2"]
}
</script>
  • Add the script to the "HEAD" tag on the pages where you want to specify the event and zone to display the ad

  • jrequest_events: list of events used to deliver advertising

    • EVENT_CATEGORY_NAME_CODE1, EVENT_ACTION_NAME_CODE1 là code của event mà bạn dựa vào để delivery ad trên page

    • For example:

Events
event_category_name_code
event_action_name_code

Pageview

pageview

view

View Product

product

view

  • jrequest_zones: The list of zones will display ads on the page

    • ZONE_CODE1, ZONE_CODE2: Zone code of Zone that you created

Code example:

<script>
    var _cdp365JourneySetting = {
    jrequest_events: [{
        event_category: "pageview",
        event_action: "view"
    }],
    jrequest_zones: [
          "div_asm_zone_code1"
    ]
}
</script>

If you want to trigger all events for all zones, then set up a value like that

Code example:

<script>
   var _cdp365JourneySetting = {
	 jrequest_events: "*",
         jrequest_zones: "*"
   }
</script>

If you don't want push event delivery and do not load the media file template

  • jrequest_zones: "none"

Code example:

<script>
    var _cdp365JourneySetting = {
    jrequest_events: [{
        event_category: "pageview",
        event_action: "view"
    }],
    jrequest_zones: "none"
}
</script>

You can see how to create a zone and get the zone code

Example - Planning zone
How to create a new "Ad Zone"
here