Prerequisites
This article assumes you are familiar with the basics of editing Elements and Pages.
Intro
Start by creating an AudioEye. Fill in the website you'd like to make accessible, your email, and phone number. Click Sign Up.
If you already have an account, log in and skip ahead.
It will take a few seconds for your account to be set up. You will then be prompted to enter your credit card information.
Adding a Site on AudioEye
When you are in your dashboard view, click "+ Add New Site / Subscription."

Then type in your URL and select which plan you want to use for that website.
You'll see a message on the screen saying that AudioEye is setting things up for you. This could take a few minutes. Once it is complete, you will see your newly added website on your dashboard.
If your site has an Error status, click the settings icon and then click the "Add Subscription to this Site" button and select a subscription.

Get the Embed Code

Click the </>
icon to view the JavaScript embed code.
The code should look something like the following. Note that where it says "YOUR-UNIQUE-NUMERICAL-CODE" is a numerical code that is connected to your website.
<script type="text/javascript">!function(){var b=function(){window.__AudioEyeSiteHash = "YOUR-UNIQUE-NUMERICAL-CODE"; var a=document.createElement("script");a.src="https://wsmcdn.audioeye.com/aem.js";a.type="text/javascript";a.setAttribute("async","");document.getElementsByTagName("body")[0].appendChild(a)};"complete"!==document.readyState?window.addEventListener?window.addEventListener("load",b):window.attachEvent&&window.attachEvent("onload",b):b()}();</script>
Copy all the code that is inside of the <script> tags, so:
!function(){var b=function(){window.__AudioEyeSiteHash = "YOUR-UNIQUE-NUMERICAL-CODE"; var a=document.createElement("script");a.src="https://wsmcdn.audioeye.com/aem.js";a.type="text/javascript";a.setAttribute("async","");document.getElementsByTagName("body")[0].appendChild(a)};"complete"!==document.readyState?window.addEventListener?window.addEventListener("load",b):window.attachEvent&&window.attachEvent("onload",b):b()}();
Install the Code
Assuming you want this script on every page of you website, you can add it in as a Block.
The.com editor,
-
Create a Block.
-
Add a Script Element inside this Block.
-
Paste the code into the Script's Text attribute.
-
Add the Block to the bottom of every page you want AudioEye on.

Remember to Deploy All from the Worksheet to make these changes live.
Comments
0 comments
Please sign in to leave a comment.