Site & Conversion Tag
Site Tag
For every campaign, a site tag or ‘CT’ is to be placed on the website where media is delivering users. The purpose of this tag is to capture the source of every click being delivered, but it also functions as a container tag.
Below is the standard site tag, where XXX is your Campaign ID [CID] assigned by C3:
<script type="text/javascript" src="//XXX-ct.c3tag.com/c3metrics-XXX.js"></script>
The 'c3_account_id' parameter can be appended to the Site Tag for passing a user Account ID to connect the user across multiple devices. The parameter is passed within the tag itself.
Please note the following placement rules for the Site Tag
- Must be placed between the <body> and </body> tags within the HTML, otherwise it will not function properly.
- Tag can be added to any standard ‘container tag’ or floodlight tag
- If the tag is placed within in an iFrame Container, C3 will not be able to collect SEO & Social Organic traffic
- Tag should only appear once per page
Conversion Tag
C3 tags on the Conversion/Thank You page signify that a conversion has taken place. This is the same tag which appears on your landing pages with the addition of one or more parameters. These parameters indicate to C3 that a Conversion has occurred and its now time to attribute value to the different media partners. Below are the different parameters that could be included:
- c3_type
The Transaction Type Name is optional and is used to categorize your transactions for data filtering by transaction type. - account_id
The Account ID is an optional, unique identifier for this customer. It is used to differentiate between new and returning users and also to connect online to offline events. - order_amount
The Order Amount is optional and should be entered in a format without currency specified such as 123.45 - c3_transaction
C3 Will automatically generate a random transaction ID if it is not included. The transaction ID is limited to 100 characters or less and must be unique for each transaction. - c3_currency
For passing different currency values to C3, the parameter would include the 3 letter currency symbol (USD, CAN, GBP, etc.) - c3ps
For passing values to C3 which need to be parsed prior to conversion or other event. Data needs to be passed within brackets as follows: c3ps=[enter data to be parsed here] - c3_customer
For passing new vs. returning user data directly to the tag where 'y' = new and 'n' = returning
Conversion Tag Examples (JavaScript)
Online Order: For a standard online order, C3 would expect an order id and amount to be dynamically placed:
<script type="text/javascript" src="//XXX-ct.c3tag.com/c3metrics-XXX.js?c3_type=1&c3_transaction=[YOUR TRANSACTION ID]&order_amount=[THE ORDER AMOUNT]"></script>
Lead: For a lead, assuming, your platform assigning a unique lead ID to match online leads to offline conversions:
<script type="text/javascript" src="//XXX-ct.c3tag.com/c3metrics-XXX.js?c3_type=1&account_id=[YOUR LEAD ID]"></script>
<script type="text/javascript" src="//XXX-ct.c3tag.com/c3metrics-XXX.js?c3_type=2"></script>
Image Tag
The Conversion Tag can also be called as an Image Tag, yet it will be unable to dynamically fire Conversion tags. For a standard online order, calling the Conversion Tag as an Image would appear as follows:
<img width="1" height="1" border="0" style="display: none;" src="//XXX-ct.c3tag.com/c3metrics-XXX.js?c3_transaction=[YOUR TRANSACTION ID]&order_amount=[THE ORDER AMOUNT]">
Capturing Order Details
The Conversion Tag can also capture order details which are available in the raw data feed.
- itemX=[THE ITEM SKU]
- item_amtX=[THE PRICE OF ONE ITEM]
- item_qtyX=[THE QUANTITY OF THIS ITEM]
Enter each order line item as itemX, item_amtX, item_qtyX for each line item number (X) of the order. The value of item_amtx should be the price of just one item. To track order items, all item fields (itemX, item_amtX, item_qytX) must be present or the item data will not be recorded.
|