Class Note - Batch-01
Class Note - Batch-01
Class-26: Homework-26
1. Watch this video min 3 times and
realize it
Class-25: Homework-25
1. Create GA4 Audience according to
Lecture sheet
Class-24: Homework-24
1. Watch this video min 2 time &
understand all the terms (Dimensions &
Metrics)
Class-23: Homework-23
1. Setup Server-side tagging with GCP and setup custom domain
2. Pull first party date from form field using custom JS and send to
Facebook ads and Google ads
3. Pull data from one page and sent to another page using local
storage setItem and getItem function and send to Facebook ads
and Google ads
4. Setup Cookie life extension for Google Ads, Facebook ads & GA4
using Cookie Monster Tag Template
window.localStorage.setItem("purchase_valu
e",
parseFloat(document.querySelector("#order_
review > table > tfoot > tr.order-total > td >
strong > span > bdi").innerText.replace("$",
"")));
window.localStorage.setItem("first_name",
document.querySelector("#billing_first_name
").value);
https://theartimas.com/checkout/order-
received/2042/?key=wc_order_ALl4TKPaDTli6
#sha234
1233
1234.45
Class-22: Homework-22
1. Enable Shopify Data Layer
2. Automatic GA4 Ecommerce Tracking
on Shopify using Google Channel App
3. Setup GA4 Ecommerce Tracking on
Shopify (manually)
4. Setup GA4 Ecommerce Tracking on
Shopify by importing JSON
Class-20: Homework-20
1. Setup Facebook Conversion API & GA4
Server-side tracking for the below
events–
- page_view
- view_item
- add_to_cart
- begin_checkout
- purchase
- phone_no_click
- mail_id_click
- Contact form 7 submission
- Newsletter subscription
- Video views tracking
- Menu click tracking
- Calendly form tracking
- 30 Sec on page
- Scroll depth tracking (50, 99)
- Outbound link click tracking
- Button click tracking
- Site search tracking
2. Setup GA4 browser end ecommerce
tracking with new GA4 property
Class-19: Homework-19
external_id
client_user_agent
Class-18: Homework-18
1. Setup Facebook Conversion API for
the below events -
- Page_view
- View_item
- Add_to_cart
- Checkout
- purchase
- phone_no_click event
Class-17: Homework-17
2. Watch this video min 2 times
3. Create Server contenter using
Stape.io custom domain
4. Send page view event to FB event
manager
Class-16: Homework-16
5. Watch this video min 2 times
6. Create Server contenter using
Stape.io
Class-15: Homework-15
1.Setup Meta Purchase, Checkout, Time on page,
lead, phone no click, email click, scroll depth
event with dynamic value tracking
2.Domain Verification with Facebook (Brand
safety)
3. Setup Aggregated Measurement Event for
iOS 14 update
function() {
var items = {{dlv - FB - Purchase Product}};
return items.map(function(items) { return items.item_brand; }).join();
}
Class-14: Homework-14
4. Setup Meta base pixel
5. Setup Meta viewContent event
6. Setup Add to cart event
ecommerce.items.0.item_id
ecommerce.items.0.item_name
ecommerce.items.0.price
ecommerce.currency
ecommerce: {
currency: "USD",
items: [
{
item_id: "4001268251018",
item_name: "Tie Dye Printed Backless Midi Dress",
item_brand: "",
price: 12.73,
item_category: "Tops",
item_list_name: "Related Products",
index: "1",
google_business_vertical: "retail",
id: "4001268251018",
item_variant: "orange,m"
},
{
item_id: "355",
item_name: "Benne long sleeve shirt black",
item_brand: "",
price: "87.99",
item_category: "Tops",
item_list_name: "Related Products",
index: "2",
google_business_vertical: "retail",
id: "355"
},
{
item_id: "350",
item_name: "Floral short dress red",
item_brand: "",
price: "80.50",
item_category: "Tops",
item_list_name: "Related Products",
index: "3",
google_business_vertical: "retail",
id: "350"
}
],
Class-12: Homework-12
1. Setup GA4 Ecommerce Tracking
● View item/individual product page
view
● Select item
● Add to cart
● add_to_wishlist
● View cart
● Remove from cart
● Checkout
● Purchase
{
event: "purchase",
gtm: {uniqueEventId: 16, start: 1675614763086},
pagePostType: "page",
pagePostType2: "single-page",
pagePostAuthor: "techrock",
cartContent: {
totals: {
applied_coupons: [],
discount_total: 0,
subtotal: 0,
total: 0
},
items: []
},
orderData: {
attributes: {
date: "2023-02-05T16:32:20+00:00",
order_number: "5875",
order_key: "wc_order_MqdtXFmFeyBCe",
payment_method: "cod",
payment_method_title: "Cash on delivery",
shipping_method: "",
status: "processing",
coupons: "web01"
},
totals: {
currency: "BDT",
discount_total: "500",
discount_tax: "0",
shipping_total: "0",
shipping_tax: "0",
cart_tax: "0",
total: "95500.00",
total_tax: "0",
total_discount: "500",
subtotal: "96000",
tax_totals: []
},
customer: {
id: 1,
billing: {
first_name: "Shamim",
last_name: "Hussain",
company: "Prefeex Limited",
address_1: "House-07, Road-19/A, Sector-4, Uttara, Dhaka",
address_2: "",
city: "Dhaka",
state: "BD-13",
postcode: "1230",
country: "BD",
email: "[email protected]",
emailhash: "f22e36a78ab1a1b2f0cfbff2d7d8c88129c79e57f06d74b90" +
"d57f59de6be8485",
phone: "01985791779"
},
shipping: {
first_name: "",
last_name: "",
company: "",
address_1: "",
address_2: "",
city: "",
state: "",
postcode: "",
country: ""
}
},
items: [
{
id: 4575,
name: "Oculus Rift S PC-Powered VR Gaming Headset",
sku: "Rift S",
category: "Exclusive",
price: 47750,
stocklevel: null,
quantity: 2
}
]
},
new_customer: false,
ecommerce: {
currency: "BDT",
items: [
{
item_id: 4575,
item_name: "Oculus Rift S PC-Powered VR Gaming Headset",
item_brand: "",
price: 47750,
item_category: "Exclusive",
quantity: 2,
google_business_vertical: "retail",
id: "4575"
}
],
transaction_id: "5875",
affiliation: "",
value: 95500,
tax: 0,
shipping: 0,
coupon: "web01"
}
}
{
event: "begin_checkout",
ecommerce: {
currency: "BDT",
value: 148900,
items: [
{
item_id: 4801,
item_name: "Edifier W293 Bluetooth Earbud",
item_brand: "",
price: 3900,
item_category: "Wireless",
item_category2: " Bluetooth",
quantity: 1,
google_business_vertical: "retail",
id: "4801"
},
{
item_id: 4577,
item_name: "HP Reverb Virtual Reality Headset",
item_brand: "",
price: 65000,
item_category: "Exclusive",
quantity: 1,
google_business_vertical: "retail",
id: "4577"
},
{
item_id: 4718,
item_name: "HTC Vive Pro Virtual Reality Headset",
item_brand: "",
price: 80000,
item_category: "PC VR",
quantity: 1,
google_business_vertical: "retail",
id: "4718"
}
]
}
}
{
item_id: "4615",
item_name: "Logitech G433 Surround Gaming Headset",
item_brand: "",
price: "9000.00",
item_category: "Gaming Headphone",
item_list_name: "General Product List",
index: "4",
google_business_vertical: "retail",
id: "4615"
},
{
item_id: "4576",
item_name: "Samsung Gear Virtual Reality Headset",
item_brand: "",
price: "0.00",
item_category: "Exclusive",
item_list_name: "General Product List",
index: "6",
google_business_vertical: "retail",
id: "4576"
},
{
item_id: "4577",
item_name: "HP Reverb Virtual Reality Headset",
item_brand: "",
price: "65000.00",
item_category: "Exclusive",
item_list_name: "General Product List",
index: "8",
google_business_vertical: "retail",
id: "4577"
},
{
item_id: "4723",
item_name: "Lenovo Mirage Solo Standardalone VR Hedset",
item_brand: "",
price: "0.00",
item_category: "Standalone VR",
item_list_name: "Related Products",
index: "10",
google_business_vertical: "retail",
id: "4723"
},
{
item_id: "4933",
item_name: "Travel Cover Case for VR Headset",
item_brand: "",
price: "1439.70",
item_category: "Exclusive",
item_list_name: "Related Products",
index: "12",
google_business_vertical: "retail",
id: "4933"
},
{
item_id: "4915",
item_name: "3D VR Glasses Headset for Smartphones",
item_brand: "",
price: "1284.82",
item_category: "Exclusive",
item_list_name: "Related Products",
index: "14",
google_business_vertical: "retail",
id: "4915"
},
{
item_id: "4576",
item_name: "Samsung Gear Virtual Reality Headset",
item_brand: "",
price: "0.00",
item_category: "Exclusive",
item_list_name: "Related Products",
index: "16",
google_business_vertical: "retail",
id: "4576"
},
{
item_id: "4572",
item_name: "Oculus Quest All-in-one VR Gaming Headset – 64GB",
item_brand: "",
price: "45000.00",
item_category: "Standalone VR",
item_list_name: "Related Products",
index: "18",
google_business_vertical: "retail",
id: "4572"
},
{
item_id: "4920",
item_name: "Smartphone Virtual Reality VR Headset",
item_brand: "",
price: "1412.42",
item_category: "Exclusive",
item_list_name: "Related Products",
index: "20",
google_business_vertical: "retail",
id: "4920"
}
],
value: 48000
}
}
Class-10: Homework-10
{
pagePostType: "page",
pagePostType2: "single-page",
pagePostAuthor: "techrock",
event: "calendly",
gtm: {
uniqueEventId: 48,
start: 1674662879283,
priorityId: 2,
scrollThreshold: 75,
scrollUnits: "percent",
scrollDirection: "vertical",
triggers: "99307590_5"
},
calendly_event: "event_scheduled"
Class-09: Homework-09
1. Newsletter form subscription tracking
in GA4
2. Contact form 7 submission tracking in
GA4
3. WP form tracking in GA4
4. Calendly schedule tracking in GA4
.mc4wp-alert.mc4wp-success
Class-08: Homework-08
1. Setup Button Click Tracking in GA4 using GTM
Method:
● Just Links Trigger
● All Elements
● CSS Selector
2. Setup Form Tracking in G4 using GTM
Method: CSS Selector
#wpcf7-f1872-p397-o1 > form > div.wpcf7-
response-output
.elementor-button-wrapper>a>span
div.elementor-widget-container div.elementor-button-wrapper *
span.elementor-button-content-wrapper span.elementor-button-text *
span.elementor-button-content-wrapper
span.elementor-button-text *
Class-07: Homework-07
3. Setup Phone no Click tracking
4. Email link Click Tracking
5. Send Client ID from Cookie to GA4 and make
user and event scope custom dimensions
cid=2030358825.1652686573
GA1.1.2030358825.1652686573
Class-06: Homework-06
1. Setup GA4 Scrolldepth tracking (25, 50,92)
with GTM
2.Setup GA4 YouTube Video tracking (25,50,
75,99) with GTM
3.Setup GA4 Vimeo Video tracking (25,50, 75,99)
with GTM
4.Setup Custom Event (About Us page visit)
without using GTM
Class-05: Homework-05
1. Find the the GA4 Cookie
2.Test GA4 Automatically & Enhanced
Measurement Event from Debug view
Q,s,search,query,keyword
https://thetechrock.com/?
s=oculus+rift+s&post_type=product
https://www.daraz.com.bd/catalog/?q=ring
%20light&_keyori=ss&from=search_history&sugg=
ring%20light_0_1
https://www.pickaboo.com/search-result/
headphone/
GA1.1.2030358825.1652686573
id=2030358825.1652686573
Class-04: Homework-04
1. Watch this video min 3 times and create a
measurement plan for ecommerce
2. Setup GA4 base/configuration tag with website
via GTM
Class-03: Homework-03
1.Setup GTM with Website & watch the video min
3 times
2.Give access to others (with team member)
https://tagmanager.google.com/
Class-02: Homework-01
1.Watch the video min 3 times & realized it
Class-01: Homework-01
2.Watch the video min 3 times & realized it
3. প্রাকটিসের জন্য কিভাবে ফ্রি ওয়েবসাইট বানাবেন:
For WordPress: Skilluper-এর কোর্স গুলো প্রাকটিসের জন্য কিভাবে ফ্রি
WordPress সাইট বানাবেন
For Shopify: https://youtu.be/GNwuA-FjdLM
104 MD. Tohidur Rahaman (Tuhin) Team Melody Class 1 to 9 homework done
Submitted 1 to 8 h.w
212 ashikur rahman last 2 are pending.
213 Shahriar Palash