Add Face2 button on your site
This step is the most important in activating OKTIUM communication from your website. Just copy the code below with Face2 button and implement it on your website. Copy this code to your websites code and insert Face2 key. For more info send an email to martin@oktium.com.
Code
For floating Face2 button on Homepage use following code:
<body>
————————————
<script type="text/javascript">
var myOktiumButton = new window.Oktium({
face2Key: “YOUR FACE2 KEY",
tooltip: true,
tooltipText: 'See our cars live!',
cornerRounding: true,
dc: true,
mobileSize: 'small',
position: "left",
hideOfflineMobile: false,
hideOffline: false
});
myOktiumButton.init();
</script>
————————————
</body>
SRP (inventory) and VDP (product detail) pages:
For several Face2 buttons to appear on one URL you need to add a parameter to constructor called `byClass`with value `true` and remove `position` parameter. Then you need to add elements to page `<a class="face2Fixed"></a>` which will be replaced by our button.
For fixed Face2 button for detail and inventory pages use the following code:
<head>
————————————
<script type="text/javascript">
var myOktiumButton = new window.Oktium({
face2Key: “YOUR FACE2 KEY",
tooltip: false,
cornerRounding: true,
dc: true,
});
myOktiumButton.init();
</script>
————————————
</head>
+
<body>
————————————
<a id="face2Button"></a>
————————————
</body>
Face2 key generating
Go to Dashboard oktium.com/4B.
Log In with your OKTIUM 4B credentials.
Open Business detail.
Click Generate widget.
Set Parameters.

Copy and Paste code into your websites code.
Design
Design Face2 button to match your brand’s image. You can choose Face2 button color in dashboard. Remember that text must be white.
You can decide what copy will be displayed to customers and what will be Face2 button placement.

Comments
0 comments
Please sign in to leave a comment.