Skip to content

Commit

Permalink
Add examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Finteza Analytics Global committed May 13, 2019
1 parent f24a067 commit 7d381f5
Show file tree
Hide file tree
Showing 7 changed files with 452 additions and 0 deletions.
19 changes: 19 additions & 0 deletions examples/proxy/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Example Server For Finteza</title>
</head>
<body>

<h1>Simple HTML file with Finteza tracker</h1>

<script type="text/javascript">
(function(a,e,f,g,b,c,d){a[b]||(a.FintezaCoreObject=b,a[b]=a[b]||function(){(a[b].q=a[b].q||[]).push(arguments)},a[b].l=1*new Date,c=e.createElement(f),d=e.getElementsByTagName(f)[0],c.async=!0,c.defer=!0,c.src=g,d&&d.parentNode&&d.parentNode.insertBefore(c,d))})
(window,document,"script","/fz/core.js","fz");
fz("register","website","asxzfntcqewjeanpdbdszsrsxnkakoxbyc");
</script>
</body>
</html>
364 changes: 364 additions & 0 deletions examples/proxy/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions examples/proxy/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "finteza-sdk-example-proxy",
"version": "1.0.0",
"main": "server.js",
"scripts": {
"start": "node server.js"
},
"license": "BSD-3-Clause",
"private": true,
"dependencies": {
"express": "^4.16.4",
"finteza-sdk": "file:../../"
}
}
Loading

0 comments on commit 7d381f5

Please sign in to comment.