Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Vibes E-comm Tag Tracking allows customers to track conversion and behavior data about consumers who interact with Vibes campaigns. In order to use e-commerce tag tracking, customers must complete these three steps:

  1. Include Vibes Tags e-commerce sites or in a tag management platform
  2. Use the Vibes URL shortener to shorten URLs in your messaging campaigns
  3. Include the "Tag Tracking" tag in your campaign in Campaign Manager


1. Include Vibes Tags e-commerce sites or in a tag management platform

Java Script to include
<script async src="https://tagtracking.vibescm.com/tag"></script>
<script>
  window.vTagData = window.vTagData || [];
  function vTag(a,v,c){vTagData.push([a,v,c]);}
</script>

Include this tag on each page that is used in a mobile campaign to:

  • Record a "click action" when a consumer visits the page from clicking on a campaign in the Vibes Analytics Module
  • Add a cookie to the consumers browser so that further consumer activity can be associated with the campaign

Vibes will automatically add the URL variables to capture this data as long as you put the URL inside of a "Tag Tracking" tag (detailed below in #3) in your campaign.



Product Detail tag
var product = {
  id: '123abc',
  price: '12.34',
  name: 'the product',
  brand: 'the brand',
  category: 'food',
  variant: 'variant',
  quantity: 3,
  coupon: 'abc123',
  position: 'position'
};
vTag("detail", product);

Add the product variable to a tag on any "product detail" page that the consumer will be directed to to record information about that product view and associate it with the campaign


Purchase
var purchase = {
  id: '123abc',
  affiliation: 'affiliation',
  revenue: 123.45,
  tax: 12.34,
  shipping: 'shipping',
  coupon: 'coupon',
  list: 'list',
  step: 'step',
  option: 'option'
};
vTag("purchase", purchase);

If the consumer makes a purchase, include the Purchase variable to record that revenue and associate it with a mobile campaign.


2. Use the Vibes URL shortener to shorten URLs in your messaging campaigns




3. Include the "Tag Tracking" tag in your campaign in Campaign Manager

Copy and paste this tag, replacing "www.vibes.com/sale" with your URL:

{{ tag_tracking | url: "https://www.vibes.com/sale"}}




  • No labels