Visitors Tracking
In addition to checkout pages optimizations, one of the most important aspects that a merchant has to pay attention to is the behavior of traffic, from your Landing Page to the final Confirmation Page.
Counting the number of visits to the landing page, not only gives you a way to quantify and funnel the traffic to the final page for conversions, but also gives you visibility on traffic received from third parties. If your traffic comes from PPC for example, the visitor tracking will be a convenient tool in order to compare and analyze the traffic received and referred by third parties.
Visitor tracking is more than just counting the visits to your pages. Our script will record useful information, which will be the base to your traffic conversion metrics and optimization. We count unique visits per 24 hours from the same IP Address based on cookies technology.
A specific cookie, named "vst" is stored for 30 days with all the referrer information. If customers come back to your website within few days, we keep the information about the original source of traffic that sent this visitor so it is not lost.
The visitor tracking option is able to track and record the following will information:
- IP Address
- Country
- State
- Website
- Date time
- Referrer URL
- Search Engine Name
- Search Engine Keyword
- Browser Type and Version
- Affiliate ( if used)
- Custom Parameters (if sent)
The information is available to you in specific reports and drill-downs in the UpClick merchant reporting section, referenced as CLICKS.
Setting up Visitor Tracking
In order to implement the visitor tracking you will have to add the following script in the HTML source of your landing page. Put it anywhere before the html </body> tag:
<!-- UpClick Visitor Tracking --> <script type="text/javascript"> var mWID = "3264"; var mUID = "1004721"; var mMkey1 = "merchant custom value 1"; var mMkey2 = "merchant custom value 2"; var affkey1 = "affiliate custom value 1"; var affkey2 = "affiliate custom value 2"; var affcmp = "affiliate campaign"; var clickgateUrl="https://gate.upclick.com/" </script> <script type="text/javascript" src="https://gate.upclick.com/btn/visitor.min.js"></script> <!-- End Tracking --> |
You will have to configure the following parameters in the script:
- mWID* is the website identifier of your Affiliate Offer registered in your merchant account; It is mandatory that the mWid matches with the ref parameter used in the checkout link related to the landing page. They should both refer to the same Affiliate Offer;
- mUID* is your Upclick merchant identifier.
- mMkey1 and mMkey2 are merchant custom values for mkey1 and mkey2;
- affkey1 and affkey2 are affiliate custom values for key1 and key2 defined by the merchant;
- clickgateUrl - used for branded checkouts/clickgates. If your solution has already a branded clickgate set up, the clickgate URL to be used in the landing page must be on the same root domain as the checkout domain, to be able to allow reading cookies in both the landing page and the checkout page. By specifying the clickgateUrl you tell the script to use clickgate.
The values defined in the script are optional and will be overwritten (not shown) when they are sent through querystring to your landing page whenever you receive traffic. If customers browse your landing page directly, these values will be used by default, unless the script can read the information for the traffic source from the cookies.
Even if you do not intend to promote your website through affiliates, registering an Affiliate Offer gives you the possibility to simulate tracking of your sales and take advantage of this option. The script above is automatically generated and can be obtained automatically from your merchant account for each Affiliate Offer registered.
The script is also "affiliate-ready". In the situation where you choose to promote your website through affiliates, the script will take care of tracking the affiliate IDs in order to credit the sales at the end.
Similarly to Visitor Tracking (Clicks), Upclick will automatically track each visit of your customers to the checkout page as LEADS. The information will be available to you in the traffic reports. You will be able to see the click through ratio (click/lead, click/sale).
Upclick can track multiple lead levels depending on how many steps you have in your checkout model. The tracking script is similar to the previous one that tracks clicks:
<!-- UpClick Lead Tracking --> <script type="text/javascript"> var trackID=21; var mWID = "3264"; var mUID = "1004721"; var mMkey1 = "merchant custom value 1"; var mMkey2 = "merchant custom value 2"; var clickgateUrl="https://gate.upclick.com/"; var showSponsor=1 </script> <script type="text/javascript" src="https://gate.upclick.com/btn/lead.min.js"></script> <!-- End Tracking --> |
The available configurable parameters in the script are:
- trackID* - the type of traffic tracking: 21 - lead1. 22 -lead2;
- mWID*- the Affiliate Offer ID; it must match the Affiliate Offer used in the landing page visitor script and the ref parameter, sent to checkout;
- mUID* - default UserID; If the UserId is not found in querystring or in a cookie (in this order) the UserID for this lead will be tracked as this default value;
- mMkey1 - default merchant custom parameter; used only when the mkey1 value is not specified in querystring or cookie (in this order);
- mMkey2 - default merchant custom parameter; used only when the mkey2 value is not specified in querystring or cookie (in this order);
- clickgateUrl - used for branded checkouts/clickgates. Must match with the clickgate URL used for visitors tracking;
- showSponsor - 0 or 1 - to display, or not the user (affiliate ID) who promotes the cart.
ex: "Sponsored by: 1004721"
If the merchant has affiliate traffic pointing directly to the "leads" page, affiliate optional tracking parameters could also be added:
var affkey1 = "affiliate custom value 1"; var affkey2 = "affiliate custom value 2"; var affcmp = "affiliate campaign"; |
* All the parameters marked with "*" are mandatory. Other parameters are optional.
Upclick proceeds in the following way to record tracking:
First, we read the related information from the URL querystring or cookies; Any absent parameter is replaced by the default values specified in the script and recorded.
In certain cases, where the querystring cannot be sent or the cookie is not reliable, values will be automatically generated for all the parameters to guarantee the desired tracking service.