Placing the BlueConic script on your website pages

To use BlueConic with your website, you will need to place a JavaScript tag on all pages that you want to use BlueConic to collect data or interact with users.

Place the following line of code as high as possible after the <head> tag of your pages:

<script src="//cdn.blueconic.net/[yourscriptname].js"></script>

The [yourscriptname] in the code above should be the hostname of your BlueConic server.

 

Example

If you access your BlueConic server at https://taylorshop.blueconic.net/, use the hostname part of your URL as replacement which results in:

<script src="//cdn.blueconic.net/taylorshop.js"></script>

This would look as follows in a webpage:

<!DOCTYPE html>
<html>
  <head>
    <script src="//cdn.blueconic.net/taylorshop.js"></script>
    <meta charset="UTF-8">
    <title>...</title>
    <script src="/script/jquery.min.js"></script>
... </head> <body> ... </body> </head>

Once you have the tag in place, congratulations! You are now ready to start using BlueConic!

Our script is being served by Amazon CloudFront and will not be impacted by high traffic volume on your websites.

This is the recommended way to add the BlueConic tag to your pages. We also support alternative methods to place the tag, see here.