LogoLogo
  • Release Notes
    • 2024
      • July 2024
      • June 2024
      • May 2024
      • April 2024
      • March 2024
      • February 2024
      • January 2024
    • 2023
      • December 2023
      • November 2023
      • October 2023
      • September 2023
      • August 2023
      • July 2023
      • June 2023
      • May 2023
      • April 2023
      • March 2023
      • February 2023
      • January 2023
    • 2022
      • December 2022
      • November 2022
      • October 2022
      • September 2022
      • August 2022
      • July 2022
      • June 2022
      • May 2022
      • April 2022
      • March 2022
      • February 2022
      • January 2022
  • CDP 365 INTRODUCTION
    • Overview of CDP 365
    • Feature Structure
    • CDP 365's Interface
    • Help feature
  • PERSONAS
    • Visitors & Customers
      • Data table
      • Explore data
      • Upload data
      • Apply data view
      • View profile
    • Segments
    • Plannings
    • Predictive Models
      • RFM Model
      • Lifecycle Stages
  • DATA HUB
    • Event Sources
      • Source
        • Website
        • System delivery
      • Conversion Event
    • Business Objects
      • Data Objects
        • Data table
        • Attributes
          • Custom Attribute
          • Computed Attribute
            • Event Counter
            • Aggregation
            • Most Frequent
            • First
            • Last
            • Unique List
            • Unique Count
            • Conversion Attribution
            • Virtual Custom Function
            • Schedule Custom Function
        • Collections
        • Groups
        • Setting
      • Data Views
      • Import Histories
      • Export Histories
    • Analytic Models
    • Data Schema
  • Marketing Hub
    • Customer Journeys
      • Work with Journey
        • Destination nodes
          • Web Embedded
            • Design from JSON
              • Control Toolbar
              • Setting
                • Template Setting
                • Blocks & Settings
                  • Countdown
                  • Dynamic Content
                  • Image
                  • Video
                  • Boolean
                  • Number
                  • Text
                  • Array
                  • Object
          • Line App
          • Zalo
      • Blast Campaign
      • Third-party campaigns
      • Metrics
      • Label
      • Custom Function
      • Status of Journey
    • Channel Integration - Destinations
      • All Destinations
        • Email
        • Web Personalization
        • Web Push-Notification
        • App Push Notification
        • Smart Inbox
        • Conversation
        • Webhook
        • SMS
        • Viber
        • Whatsapp
        • Line
        • Zalo
        • File Transfer
    • Promotion Center
    • Media Template
      • Control Toolbar
      • Settings
        • Template Settings
          • Basic
          • Advanced
        • Blocks & Settings
          • Columns
          • Text
          • Image
          • Button
          • Optin Fields
            • Email
            • Phone
            • Dropdown select
            • Datetime
            • Radio button/ Checkbox
            • Privacy Notice
          • Yes/No
          • Count down
          • Video
          • Coupon Wheel
          • Spacer
          • Divider
          • Icon
          • HTML
          • Slide show
          • Group
          • Rating
          • Table
          • Shake and Win
          • Lucky gift box
          • OTP Verification
      • Layers
      • Live Preview
    • Email Template
      • Control Toolbar
      • Settings
        • Email Template Settings
          • Basic
          • Advanced
        • Blocks & Settings
          • Columns
          • Text
          • Image
          • Button
          • Count down
          • Spacer
          • Divider
          • Icon
          • HTML
          • Menu
          • Table
          • Unsubscribe
          • Group
      • Layers
      • Live Preview
    • Link Management
  • Insights
    • Quick start guide
    • Data Source
      • Create a data source
    • Reports
      • Create reports
        • About reports
        • Build, stylize, and add data to reports
          • Set report date ranges
          • Add and configure components
          • Chart references
            • Area chart reference
            • Bar chart reference
            • Bullet chart reference
            • Geo chart reference
            • Line chart reference
            • Pie chart reference
            • Pivot table reference
            • Scatter and bubble chart reference
            • Scorecard reference
            • Table reference
            • Time series reference
            • Tree map reference
          • Add reference lines to charts
          • Add and edit data
          • Add pages and report navigation
          • Report layout options
          • Work with color
          • Add text, images, lines, and shapes
          • Arrange and distribute components
          • Use the Insights Report Editor
        • Copy a report
        • Delete a report
        • Tutorial: Create a new report
      • Filter your data
        • About filters
        • Create, edit, and manage filters
        • Configure filter conditions
        • Filter examples
      • Make reports interactive
        • Let your viewers control the date range
        • About controls
        • Use controls across data sources
        • Add chart interaction filters
        • Let viewers drill down into your data
        • Link to a page
        • Export data from a chart
        • Embed external content in reports
        • Let viewers select the fields in charts
      • Blend multiple data sources in a chart
        • About data blending
        • Blend data in charts
        • Filter blended data
        • Change the date range for blended data
        • Use blending to reaggregate data
      • Glossary
        • Aggregation
        • Blended data
        • Chart
        • Component
        • Component, report-level
        • Connector
        • Data set
        • Data source
        • Dimension
        • Edit mode
        • Field
        • Join key
        • Metric
        • Owner
        • Page
        • Properties panel
        • Report
        • View mode
        • Viewer (user type)
  • DATAFLOWS
    • Dataflows
      • Creating a Dataflows
        • Action node
          • Add data
          • Delay
          • Filter
          • Script
          • SQL
          • Branch
          • Add column
          • Aggregate
          • Select column
          • Join
          • Bin
          • Merge Columns
          • Split Columns
          • Group
          • Union Rows
          • Save data
        • Destination channel
          • Send mail
          • Export to Google Sheet
          • Google Audience
          • Facebook Audience
          • Big Query
          • Postgre
          • Export to CDP 356 Events
          • Export to CDP 365 Business Object
          • Export to CDP 365 Segment
      • Work with Dataflow
      • Status of Dataflow
    • Data Destinations
      • Create a Data Destination
      • View/Edit a Data Destination
      • Data Destinations Connectors
        • Amazon S3
        • CDP Coupon
        • Google Audiences
        • CDP Business Object
        • CDP Segment
        • CDP Event
        • Audience SaleForce Maketing Cloud
        • Google BigQuery
        • Facebook Audiences
        • Google Ads Audiences
        • Postgres
        • Send Mail
        • Google Sheet
    • Data Source
      • Create a Data Source
      • View/Edit a Data Source
      • Data Source Connectors
        • Google Sheets
        • Oracle
        • KiotViet
        • Elastic Search
        • Haravan
        • Tiki
        • Sapo
        • Lazada
        • Shopee
        • Fanpage Messages
        • Google Analytics
        • CDP ANTSOMI
        • Trello
        • Google Ads
        • Facebook Ads
        • Youtube
        • PostgreSQL
        • MySQL
        • File Upload (Big Table)
        • Business Object
        • JSON API
        • SQL Workspace
        • CDP 365 Segment's Members
        • Analytic Model Antsomi
        • SQL Server
  • PORTAL SETTINGS
    • Overview
    • Data Protect
    • General Setting
      • Roles
    • Accounts
    • IP Restriction
    • Menus
    • Account Sharing
  • Annotation
    • Conditions
    • Time range
    • Data Format
    • Function List
  • TICKET MANAGEMENT
    • Tickets
  • Use cases
    • Personas
      • Visitors/Customers
        • How to add new and update Customers to CDP
        • How to create a Customer Custom Attribute
        • How to create a Customer Computed-Last Attribute
      • Segments
        • How to export .xml file?
        • How to create a Dynamic Segment
        • How to create a Static Segment (Matching file)
        • How to create a new segment?
        • Create a segment for Cart Abandonment
        • Set up a "Segment" containing emails to be excluded before sending mail
      • How to create "Attribute" for "Customer"/"Visitors"?
    • Data Hub
      • Event Sources
        • Set up Event Tracking code to track events into CDP
        • Set up Event Tracking code to track events into CDP
        • How to check data after you track an event on the website and app?
      • Business Objects
        • How to create "Data Source" connected with the "Data Object" of CDP 365
        • How to create a Collection
        • How to create "Custom Attributes" with Input via UI feature
    • Marketing Hub
      • How do I set up an advertising SMS campaign using the SMS FPT destination?
      • Strengthening User Identity Verification with OTP Authentication
      • How to use Line Message Templates?
      • How to set up a Webhook Journey
      • How to set up a campaign using SMS channel
      • How to setup a campaign using App Notification channel?
      • How to configure a smart inbox campaign? (In Progress...)
      • How to calculate conversion goals for a journey?
      • How to recommend products using the Parent-Child Algorithm
      • How to create Branded domain in Link Management?
      • How to send messages using OneWay SMS destination?
      • How to explore Journeys?
      • How to test a Journey using Email channel?
      • How to send marketing email using Mailgun Destination?
      • How to send marketing SMS using One Way SMS Destination?
      • How to create Web Personalization using Media JSON in CDP 365?
      • How to create an Email Customer Journey?
      • How to create a Web personalization journey?
      • How to create a "Trello Card" using CDP 365
      • How to display template on website using CDP 365
      • Initialize customer after submitting form
      • How to create Customer Journey?
      • How to set up some Inline templates
      • How to monitor campaign performance?
      • How to create "Promotion"/"Coupon" by uploading files?
      • How to create Coupon from Magento or ERP system to CDP 365?
      • How to send "SMS Yondu" using CDP 365
      • How to send mail from email upload?
      • How to send "Zalo Notification Service" using CDP 365
      • How to send message using "FB Messenger" in CDP
      • How to Send SMS using "Klasik SMS" in CDP 365
      • How to push notification "Firebase Cloud Messaging" using CDP 365
      • How to Send email using "Amazon SES" in CDP 365
      • How to define zone in website for improve web personalize performance
      • How to Send "Viber Yondu" using CDP 365
      • How to send "Infobip Viber" using CDP 365
      • How to send "eSMS Viber" using CDP 365
      • How to create a new "Display Zone"
      • How to Send SMS using "Telerivet SMS" in CDP 365
      • How to push notification using "Onesignal (App Push)" in CDP 365
      • How to push notification using Antsomi Web Push in CDP 365?
      • How to Send email using "SendGrid" in CDP 365
      • How to send email using "Mailjet" in CDP 365?
      • How to send WhatsApp message in CDP 365?
      • How to send Telegram message in CDP 365?
      • How to track click metric of OneSignal App Push
      • How to send Ticket from CDP 365 to Antbuddy?
    • Insights
      • How to create "Report" with “Journey performance” data source?
      • How to create a new "Data sources"?
    • Dataflows
      • How can I export data from CDP 365 to Google Sheets?
      • Collect data from TikTok Form to CDP 365
      • How to create a Segment Data Source
      • How to create a report from multiple data sources?
      • How to send messages using "Facebook Messenger" in CDP 365
      • How to create a new Google Analytics data source?
      • How to create Facebook Ads data source?
      • How to create Google Ads data source?
      • How to create a "Destination Channel" in "Dataflows"?
      • Set up Dataflows to push data to a Business Object in CDP 365
      • Set up Dataflows to push data to Google and Facebook Audiences
      • How to upload segment data into Google Ad Manager (GAM) 360 using Dataflow?
    • Portal Settings
      • How to set up two-step authentication?
Powered by GitBook
On this page
  • Let's take the 'View page' event on the website as an example.
  • VISIT THE WEBSITE
  • Execute the desired action
  • Check the event
  • ACCESS CDP 365
  • Examine the event tracking log
  • Examine the user activities
  • We go to check the 'View product' event.
  • We go to check the 'Search product' event.
  • We go to check the 'Add to cart' event.
  • We go to check the 'Checkout' event.
  • We go to check the 'Purchase' event.
  • We go to check the 'Identify User' event.
  • We go to check the 'User Sign In' event.
  • We go to check the 'User Sign Up' event.
  • CHECK THE EVENT TRACKING ON YOUR APP
  • Find your 'View product' event log
  • Find your 'Purchase' event log

Was this helpful?

  1. Use cases
  2. Data Hub
  3. Event Sources

How to check data after you track an event on the website and app?

If you're looking to confirm whether the CDP 365 event on your website or your app effectively captures the intended data, this document will provide valuable assistance!

PreviousSet up Event Tracking code to track events into CDPNextBusiness Objects

Last updated 9 months ago

Was this helpful?

To ensure accurate event tracking and data recording for Visitors or Customers, follow these steps: visit the website, execute the desired action to trigger the intendedly-checked event, and then access CDP 365 to examine the event tracking traffic and recorded data.

Let's take the 'View page' event on the website as an example.

VISIT THE WEBSITE

Execute the desired action

To successfully test the event, it is essential to identify the specific action that triggers it.

Take that action!

Whenever a page is loaded, the 'View page' event is triggered, which implies that you will have a 'View page' event recorded for every instance of viewing any page.

The desired action is 'view' any page on the website.

Check the event

Once you have performed the desired action, the event will be triggered, and you can now open the 'Inspector' or 'Inspect' tool on your desktop by clicking the right-hand mouse.

The panel will pop up on your screen.

To locate the CDP 365 events, please proceed to open the 'Network' tab and apply a filter using the keyword 'event?'.

By clicking on the event name, you can access the event details, where you will find the elements of the event documented in the API documentation.

Navigate to the Payload section, where you will discover the event log containing the event category (ec) and event action (ea) fields. These fields correspond to the Event category and Event Action documented in the API documentation and the settings within CDP 365.

More information of the Payload section

Within the Payload section, you can find various pieces of information, such as customer details (depending on the events), visitor information, product data (depending on the events), your CDP 365 portal ID, and other event attributes that capture the desired data.

An example of checking the 'View page' event

This is the code sample documented in your API documentation.

ec: pageview
ea: view
en: 
ev: 0
dims: {"customers":{"customer_id":"abedjjojo12313498uijaj"}}
portal_id: 23492034809
prop_id: 2918309183049
rec: 1
client_id: 0.1123082348
log_type: event
uid: 10502123132
aid: 10502111231
cvar: {"page_type":"category","page_category":"Dép thời trang","pv_id":"",
"session_id":0,"prop_id":2918309183049,"visitor_type":"returning","is_webview":false,
"location_url":"https://abcdef.com/main-cate-page/sub-cate-page.html?page=1",
"referrer_url":"https://abcdef.com/","click_bc":"1239308095830942",
"utm_source":"google.com","utm_medium":"referrer","utm_type":"referrer",
"atm_source":"accesstrade","atm_type":"on_session",
"identify_type":"predict","page_title":"Sub cate page"}

You verify the event that was triggered on your 'Homepage'.

In the event details, you can find

  1. Dims: encompass the customer data, which serves as an optional event element. This element is only available if CDP 365 can detect the identifying information of the visitor.

  2. Portal_id: The ID assigned to your CDP 365 portal, which aids Antsomi in effectively managing our clients.

  3. Prop_id: The ID associated with your CDP 365 source, facilitating efficient source management on your part.

  4. UID: The Visitor ID in CDP 365 is generated by utilizing a browser cookie.

  5. Page type and Page category are two crucial event attributes that identify the specific pages you are currently on. These attributes play a significant role in verifying the accuracy of event tracking. In the image, you will find the keyword 'Home' used as the page type and page category.

  6. Other event attributes can be customized based on your specific data requirements.

Notes: Each event element is crucial, and if any element records incorrect data compared to what you observe on the screen, it indicates a failure in event tracking.

You verify the event that was triggered on your 'Fashion Shoes page'.

For instance, when the 'View page' event is triggered within a specific page category, it records the keyword 'category' for the page type and 'Dép thời trang' ('Fashion shoes') as the page category.

ACCESS CDP 365

To examine the event tracking data in CDP 365, navigate to the Event Sources section.

Log into the CDP 365 system. Hover your mouse over Data on the left hand side menu → Choose Event Sources.

Choose the source that corresponds to the event occurrence, which aligns with the prop_id you observed in the event details on the website.

To verify the prop_id, navigate to the "Setting" tab.

Examine the event tracking log

To confirm the event details obtained from the website, navigate to the 'Events' tab and choose a specific event for verification.

Let's get back to the 'View page' event.

From this panel, you will find event logs recorded from the 'Website' source specifically for the 'View page' event within the last 6 hours.

To locate your traffic, filter the 'uid' obtained from your website.

Click on an event log to access its detailed information.

Compare the information in the event log with the details provided on your website. If they match, the event tracking works properly.

Examine the user activities

Once we have ensured correct event tracking in CDP 365, the next step is to verify whether the data is appropriately updated for the respective Visitor and Customer in CDP 365.

First, check the Visitor profile and apply a filter using the 'uid' to locate the specific profile.

Apply a filter to your User ID (uid) in order to narrow down the results.

Click on the User ID to access the Visitor profile

Review the activities recorded in the Visitor Profile. If the action and date/time of event occurrence are accurately recorded, it indicates that the data update is functioning correctly.

Next, check the Customer profile and apply a filter using the 'customer id' to locate the specific profile. The checking can only occur if the customer ID is available.

Review the activities recorded in the Customer Profile. If the action and date/time of event occurrence are accurately recorded, it indicates that the data update is functioning correctly.

We go to check the 'View product' event.

For other event checks, the steps will be similar to the process of checking the 'View page' event.

This is the code sample documented in your API documentation.

ec: product
ea: view
en: 
ev: 0
items: 
[{"type":"product","quantity":1,"sku":"311120234","page_url":
"https://abcdef.com/main-cate.html",
"image_url":"https://www.abcdef.vn/media/catalog/product/b/imain-cate.jpg",
"name":"Hat - Hat for beauty","id":"311120016",
"magento_product_id":"5239","price":300,"brand":"","currency":"USD",
"main_category":"Fashion","category_level_1":"Hat",
"category_level_2":"Women hat","category":"Moonlight"}]
dims: {"customers":{"customer_id":"194879udjshduq9834u0"}}
portal_id: 5642133
prop_id: 56492346
rec: 1
client_id: 0.162342347
log_type: event
uid: 1121343242
aid: 1166324234
cvar: {"customer_id":"194879udjshduq9834u0","revenue":300,"currency":"",
"order_id":"","pv_id":"16w324232421-0","session_id":"233424",
"prop_id":"56492346","visitor_type":"returning",
"is_webview":false,"location_url":"https://www.abcdef.vn/hat-moonlight-women.html",
"referrer_url":"https://www.abcdef.vn/",
"click_bc":"110828111234567890","utm_source":"media-template.antsomi.com",
"utm_medium":"referrer","utm_type":"referrer","atm_source":"antsomi",
"atm_type":"on_session","identify_type":"exact"}

To verify the 'View product' event, visit the website and view a random product on the product detail page. Then, open your Inspector tool and locate the event details within the Payload section.

The desired action is 'view a product detail page'.

Notes: For events related to products, the event details include an 'items' element to record the relevant product information such as product name, price, and SKU ...

Next, navigate to CDP 365 and select the relevant source and event.

Notes: Remember to apply a filter using your 'uid'.

Review the activities recorded in the Visitor Profile. If the action and date/time of event occurrence are accurately recorded, it indicates that the data update is functioning correctly.

Review the activities recorded in the Customer Profile. If the action and date/time of event occurrence are accurately recorded, it indicates that the data update is functioning correctly.

We go to check the 'Search product' event.

This is the code sample documented in your API documentation.

ec: browsing
ea: product_search
en: 
ev: 0
items: [{"type":"product","sku":"123456789","quantity":1,"name":"Hat Moonlight","id":"61411234","magento_product_id":"115123","price":300,"brand":"",
"currency":"USD","main_category":"FASHION","category_level_1":"","category_level_2":"","category":"FASHION","position":1},
{"type":"product","sku":"614112345","quantity":1,"name":"Hat Sunlight ","id":"614141234","magento_product_id":"42012","price":233,"brand":"",
"currency":"USD","main_category":"FASHION","category_level_1":"Fashion for kids","category_level_2":"","category":"Fashion - kids","position":2},
{"type":"product","sku":"61412234","quantity":1,"name":"Hat for sleeping beauty ","id":"614122134","magento_product_id":"115123","price":200,"brand":"",
"currency":"USD","main_category":"FASHION","category_level_1":"","category_level_2":"","category":"FASHION","position":3},
{"type":"product","sku":"614121234","quantity":1,"name":"Hat for ocean","id":"614121234","magento_product_id":"115123","price":100,"brand":"","currency":"USD",
"main_category":"FASHION","category_level_1":"","category_level_2":"","category":"FASHION","position":4}]
dims: {"customers":{"customer_id":"123jajo2u39002jksdj90238"}}
portal_id: 564123456
prop_id: 56499123456
rec: 1
client_id: 0.1688099767
log_type: event
uid: 1108281165
aid: 1166059578
cvar: {"src_search_term":"hats","page_type":"search","customer_id":"123jajo2u39002jksdj90238","pv_id":"168812345678990-0","session_id":"2389161234",
"prop_id":"56499123456","visitor_type":"returning","is_webview":false,"location_url":"https://abcdef.vn/catalogsearch/result/?q=hats",
"referrer_url":"https://abcdef.vn/hats.html","click_bc":"1108281165b123456789","utm_source":"media-template.antsomi.com",
"utm_medium":"referrer","utm_type":"referrer","atm_source":"antsomi","atm_type":"on_session","identify_type":"exact"}

To verify the 'Search product' event, visit the website and search for a keyword. Then, open your Inspector tool and locate the event details within the Payload section.

The desired action is 'search for a product'.

  • For events related to products, the event details include an 'items' element to record the relevant product information.

  • According to the business requirement, the 'Search product' event is designed to track the details of multiple products. The exact number of products returned by the event is specified in the API documentation.

Next, navigate to CDP 365 and select the relevant source and event.

Notes: In the event log details, you can find the searched keyword you were looking for on the website.

Review the activities recorded in the Visitor Profile. If the action and date/time of event occurrence are accurately recorded, it indicates that the data update is functioning correctly.

Notes: You can follow the aforementioned steps to check the Customer Profile.

We go to check the 'Add to cart' event.

This is the code sample documented in your API documentation.

ec: product
ea: add_to_cart
en: 
ev: 0
items: [{"item_type":"product","id":"1234567adb9","sku":"1234567adb9","haravan_product_id":"1047818301","variant_id":"123456789","barcode":"AB128309ASJJJK","name":"SHIRT","original_price":200,"price":120,
"brand":"Sun","main_category":"Shirt","available":"true","page_url":"https://Shirt.vn/products/sun-shirt","image_url":"https://product.sun.net/200000053174/product/1234567890_master.png",
"tags":["breadcrumb_shirt","sale","label_FLASHSALE_#FF0000","shirt"],"type":"product","quantity":1,"event_update":"add_to_cart"}]
portal_id: 564812345
prop_id: 5649912345
rec: 1
client_id: 1064726012.123456789
log_type: event
uid: 1064708247
aid: 1064726012
cvar: {"total_price":120,"cart_subtotal":120,"cart_item_count":1,"source":"product_detail","revenue":120,"currency":"","order_id":"","pv_id":"1688512345678-0","session_id":"59281234567","prop_id":"5649912345",
"visitor_type":"returning","is_webview":false,"location_url":"https://sun.vn/products/shirt",
"referrer_url":"https://sun.vn/","utm_source":"google.com","utm_medium":"referrer","utm_type":"referrer","atm_type":"on_session"}

The desired action is 'add to cart a product'.

Next, navigate to CDP 365 and select the relevant source and event.

We go to check the 'Checkout' event.

This is the code sample documented in your API documentation.

ec: product
ea: checkout
en: 
ev: 0
items: [{"item_type":"product","id":"1234567adb9","sku":"1234567adb9","haravan_product_id":"1047818301","variant_id":"123456789","barcode":"AB128309ASJJJK","name":"SHIRT","original_price":200,"price":120,
"brand":"Sun","main_category":"Shirt","available":"true","page_url":"https://Shirt.vn/products/sun-shirt","image_url":"https://product.sun.net/200000053174/product/1234567890_master.png",
"tags":["breadcrumb_shirt","sale","label_FLASHSALE_#FF0000","shirt"],"type":"product","quantity":1,"event_update":"add_to_cart"}]
portal_id: 564812345
prop_id: 5649912345
rec: 1
client_id: 1064726012.123456789
log_type: event
uid: 1064708247
aid: 1064726012
cvar: {"total_price":120,"cart_subtotal":120,"cart_item_count":1,"source":"product_detail","revenue":120,"currency":"","order_id":"","pv_id":"1688512345678-0","session_id":"59281234567","prop_id":"5649912345",
"visitor_type":"returning","is_webview":false,"location_url":"https://sun.vn/products/shirt",
"referrer_url":"https://sun.vn/","utm_source":"google.com","utm_medium":"referrer","utm_type":"referrer","atm_type":"on_session"}

The desired action is 'check out the cart'.

Next, navigate to CDP 365 and select the relevant source and event.

Notes:

  • Please ensure that the 'Checkout cart' event accurately tracks essential revenue-related details, including quantity, price, total price, subtotal, revenue, and discount. Detailed documentation regarding this information can be found in the API documentation.

  • You can follow the aforementioned steps to check either the Visitor Profile or the Customer Profile.

We go to check the 'Purchase' event.

This is the code sample documented in your API documentation.

ec: product
ea: purchase
en: 
ev: 0
items: [{"item_type":"product","id":"12345abc","name":"","line_price":1234,"line_price_orginal":1234,"price":1500,"original_price":1500,"quantity":5,"type":"product"}]
dims: {"purchase":{"customer_id":"123asd123asd123asd","customer_name":"Name","phone":"1234567123","shipping_province":"City","shipping_district":"District","id":"1234523","name":"1234523",
"order_number":"123123123","discount_amount":0,"discount_code":null,"payment_method":"COD","total_price":1234,"revenue":1234,"subtotal_price":1234,"order_id":"14676123"},
"customers":{"phone":"1234567123","email":"name@gmail.com","customer_name":"Name","customer_id":"123asd123asd123asd","province":"City","address":"123",
"district":"District","identify_event":"purchase","identify_time":"2023-07-05 09:36:12","visitor_id":"123123123"}}
portal_id: 564881234
prop_id: 564991234
rec: 1
client_id: 1176780170.123123123
log_type: event
uid: 1176763211
aid: 1176783211
cvar: {"order_id":"123123123","revenue":1234,"customer_id":"123asd123asd123asd","identify_event":"purchase","identify_time":"2023-07-05 09:36:12","currency":"","transaction_id":"ts_1688524512345","pv_id":"16885242123456-0","session_id":"2565712345","prop_id":"564991234","visitor_type":"returning","is_webview":false,"location_url":"https://abcdef.com.vn/checkouts/b7ec7d265a064d2b8d908e1234oo022/thank_you","referrer_url":"https://abcdef.com.vn/checkouts/b7ec7d265a064d2b8d908e1234oo022","atm_type":"on_session","identify_type":"exact"}

The desired action is 'purchase your cart'.

Next, navigate to CDP 365 and select the relevant source and event.

Notes:

  • Please ensure that the 'Purchase' event accurately tracks essential revenue-related details, including quantity, price, total price, subtotal, revenue, and discount. Detailed documentation regarding this information can be found in the API documentation.

  • You can follow the aforementioned steps to check either the Visitor Profile or the Customer Profile.

We go to check the 'Identify User' event.

This is the code sample documented in your API documentation.

ec: user
ea: identify
en: 
ev: 0
dims: {"customers":{"name":"NAME","phone":"012830981923","email":"name@gmail.com","customer_id":"300b977e484268a34123817438971a"}}
portal_id: 564881234
prop_id: 564991234
rec: 1
client_id: 1176780170.1681233432
log_type: event
uid: 1176766123
aid: 1176780123
cvar: {"name":"NAME","phone":"012830981923","email":"name@gmail.com","customer_id":"300b977e484268a34123817438971a","identify_time":"2023-07-05 11:24:16","identify_event":"user_identify","pv_id":"1688530754220-0","session_id":"2565745033","prop_id":"564990804","visitor_type":"returning","is_webview":false,"location_url":"https://anstomi.com.vn/account","referrer_url":"https://antsomi.com.vn/account","atm_type":"on_session","identify_type":"exact"}

The desired action is 'sign in' or 'sign up' or 'check out the cart'.

Notes: This event is triggered to align with the specific business requirements and guidelines specified in the API documentation. It can be triggered during various actions such as signing in, signing up for an account, or checking out the cart. Its purpose is to facilitate the identification of the customer ID in CDP 365 and associate it with the corresponding visitor ID.

Next, navigate to CDP 365 and select the relevant source and event.

Notes: You can follow the aforementioned steps to check either the Visitor Profile or the Customer Profile.

We go to check the 'User Sign In' event.

This is the code sample documented in your API documentation.

ec: user
ea: sign_in
en: 
ev: 0
dims: {"customers":{"name":"NAME","phone":"012830981923","email":"name@gmail.com","customer_id":"300b977e484268a34123817438971a"}}
portal_id: 564889906
prop_id: 564990804
rec: 1
client_id: 1176780170.1688524205
log_type: event
uid: 1176766141
aid: 1176780170
cvar: {"name":"NAME","phone":"012830981923","email":"name@gmail.com","customer_id":"300b977e484268a34123817438971a","identify_time":"2023-07-05 11:24:16","identify_event":"sign_in","pv_id":"1688530754220-0","session_id":"2565745033","prop_id":"564990804","visitor_type":"returning","is_webview":false,"location_url":"https://anstomi.com.vn/account","referrer_url":"https://anstomi.com.vn/account","atm_type":"on_session","identify_type":"exact"}

The desired action is 'create a new account'.

Next, navigate to CDP 365 and select the relevant source and event.

Notes: You can follow the aforementioned steps to check either the Visitor Profile or the Customer Profile.

We go to check the 'User Sign Up' event.

This is the code sample documented in your API documentation.

ec: user
ea: sign_up
en: 
ev: 0
dims: {"customers":{"name":"NAME","phone":"012830981923","email":"name@gmail.com","customer_id":"300b977e484268a34123817438971a"}}
portal_id: 564889906
prop_id: 564990804
rec: 1
client_id: 1176780170.1688524205
log_type: event
uid: 1176766141
aid: 1176780170
cvar: {"name":"NAME","phone":"012830981923","email":"name@gmail.com","customer_id":"300b977e484268a34123817438971a","identify_time":"2023-07-05 11:24:16","identify_event":"sign_up","pv_id":"1688530754220-0","session_id":"2565745033","prop_id":"564990804","visitor_type":"returning","is_webview":false,"location_url":"https://anstomi.com.vn/account","referrer_url":"https://anstomi.com.vn/account","atm_type":"on_session","identify_type":"exact"}

The desired action is 'sign in to your website account'.

Next, navigate to CDP 365 and select the relevant source and event.

Notes: You can follow the aforementioned steps to check either the Visitor Profile or the Customer Profile.

CHECK THE EVENT TRACKING ON YOUR APP

The process of checking event tracking on the app is similar to that on the website.

One step that differentiates between the two platforms is how you can find your event log in CDP 365.

To ensure accurate event tracking and data recording for Visitors or Customers, follow these steps:

  • Step 1: visit the app

  • Step 2: execute the desired action to trigger the intendedly-checked event

Note: During this step, it's important to note that you won't have access to the Inspector tool to directly review the event element. Unlike the website environment where you can utilize browser tools like the Inspector to examine event details, this capability is not available when working with the app.

  • Step 3: access CDP 365 to examine the event tracking traffic and recorded data.

Note: In CDP 365, the event log can be filtered based on your login information (for the purchase event) or your customer ID (for other events), which may vary depending on the required login details. This typically includes either a phone number or an email address associated with your account.

To locate your customer ID, access the Customer Business Object in CDP 365 and filter by your login information.

Find your 'View product' event log

Find your 'Purchase' event log

Inspector panel
Filter out the CDP 365 events
Event Name
The details of 'View page' event
The 'View page' event fired at Homepage
The 'View page' event fired at a page category
prop_id
Filter your uid
The Search Product event details
The Add to Cart event
The Add to Cart event log details
The Check out event
The Checkout cart event log details
The Purchase event details
The Purchase event log details
The Identify User event details
The Identify User event log details
The User Sign In event details
The User Sign In event log details
The 'User Sign Up' event details
The User Sign Up event log details
The filter
The filter