initial
This commit is contained in:
42
assets/index.html
Normal file
42
assets/index.html
Normal file
@ -0,0 +1,42 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
<a href="test.html">Test</a>
|
||||
<!-- Piwik -->
|
||||
<script type="text/javascript">
|
||||
var _paq = _paq || [];
|
||||
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
|
||||
_paq.push(["setCookieDomain", "localhost:8080"]);
|
||||
_paq.push(['addEcommerceItem',
|
||||
"9780786706211", // (required) SKU: Product unique identifier
|
||||
"Endurance: Shackleton's Incredible Voyage", // (optional) Product name
|
||||
"Adventure Books", // (optional) Product category. You can also specify an array of up to 5 categories eg. ["Books", "New releases", "Biography"]
|
||||
8.8, // (recommended) Product price
|
||||
1 // (optional, default to 1) Product quantity
|
||||
]);
|
||||
_paq.push(['trackEcommerceOrder',
|
||||
"A10000123", // (required) Unique Order ID
|
||||
35, // (required) Order Revenue grand total (includes tax, shipping, and subtracted discount)
|
||||
30, // (optional) Order sub total (excludes shipping)
|
||||
5.5, // (optional) Tax amount
|
||||
4.5, // (optional) Shipping amount
|
||||
false // (optional) Discount offered (set to false for unspecified parameter)
|
||||
]);
|
||||
_paq.push(["trackPageView"]);
|
||||
_paq.push(["enableLinkTracking"]);
|
||||
|
||||
(function() {
|
||||
var u=(("https:" == document.location.protocol) ? "https" : "http") + "://localhost:8080/";
|
||||
_paq.push(["setTrackerUrl", u+"piwik.php"]);
|
||||
_paq.push(["setSiteId", "1"]);
|
||||
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
|
||||
g.defer=true; g.async=true; g.src=u+"track.js"; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
<!-- End Piwik Code -->
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user