Segmentation - Industry Based

Based on your domain - e-commerce, lead generation, travel, publisher, etc, your subscribers can be segmented using events and event properties and custom audiences can be created.

ECommerce

Sample Code for Tracking Views on Collection/Category Pages

<script> window._izq.push(["event”,”collection_viewed",{ 
“collection_title”:”Shirts”,
"collection_link":"https://yourwebsite.com/collections/shirts",
"collection_image":"https://yourwebsite.com/media/coll/image/000121.jpg"  /*optional*/
}]); </script>
 

Sample Code for Tracking Views on Product Pages

<script> window._izq.push(["event","product_viewed",{ 
"product_title":"Emoji half sleeve teeshirt",
"product_price":"499.00", /*optional*/
"product_link":"https://yourwebsite.com/shirts/tees/emoji_half",
"product_image":"https://yourwebsite.com/media/products/image/000481.jpg"
}]); </script>
 

Sample Code for Tracking Clicks on the Add to Cart Button

<script> window._izq.push(["event","added_to_cart",{ 
"product_title":"Emoji half sleeve teeshirt",
"product_price":"499.00", /*optional*/
"product_image":"https://yourwebsite.com/media/products/image/000481.jpg",
"cart_url":"https://yourwebsite.com/cart"
}]); </script>
 

Sample Code for Tracking Successful Purchases

<script> window._izq.push(["event","order_placed",{ 
"cart_value":"2000",
"product_count":3
}]); </script>
 
 

Travel

Sample Code for Tracking Clicks on the Book Now Button for Hotels

<script> window._izq.push(["event","hbooking",{
                   "hotelname":"izooto no 2",
                   "checkin":"2018-04-27",	
                   "checkout":"2019-02-13",
                   "landingURL":"https://www.landing.com",
                   "bookingURL":"https://www.booking.com"
           }]); </script>
 
 
Sample Code for Tracking Successful Hotel Bookings
 
<script> window._izq.push(["event","hotelticketed",{  
                   "hotelname":"izooto no 2",
                   "checkin":"2018-04-27",	
                   "checkout":"2019-02-13"
           }]); </script>
 
 
Sample Code for Tracking Clicks on the Book Now Button for Flights
 
<script> window._izq.push(["event","book-now",{
                   "flying-from":"delhi",
                   "flying-to":"goa",
                   "departure_date":"2019-04-13",
                   "landingURL":"https://www.landing.com",
                   "bookingURL":"https://www.booking.com"
                 }]); </script>
 
 
Sample Code for Tracking Successful Flight Bookings
 
<script> window._izq.push(["event","transact",{
                   "flying-from":"delhi",
                   "flying-to":"goa",
                   "departure_date":"2019-04-13"
                 }]); </script>
 
 

Publisher

Sample Code for Tracking Content Categories
 
<script>window._izq.push(["userProfile",{"add":{ "Category":["Sports"]} }]);</script>
 
 

Verification (Using GTM)

 
  • Open your website linked with GTM in Preview mode.
  • Imitate the user activity you want to verify.
  • If the implementation is done correctly, you will be able to see the events fired in the GTM preview panel.
Follow this link to know in detail.
 

 

 

Did this help answer your question?

thumbs up
thumbs down

Thanks for the feedback! 🙏🏽