Knowledgebase
4. Installing Profile Cloud Script on your website - 10 Minutes
Posted by Innometrics Profile Cloud on 3 May 2016 12:21

Profile Cloud works with lots of different marketing channels but the best place to start is with your website. This is how to generate your websites unique Profile Cloud Script.

Create a Bucket

Buckets allow you to manage data, Apps and users in your organisation. Typically you might have a different bucket for each geographic market. Or perhaps for each brand. 

Make sure you have a new Bucket if you are implementing Profile Cloud (don't implement into a Sandbox bucket for example). 

Click on “Bucket List” then on “Create new Bucket.”

You can then fill in the relevant details.

Create a New Section

To generate your website Script go to “Innometrics Web Data Collection” in the Collect menu.

Profile Cloud provides different code for each Section. Typically you would install one Website per Section. 

Lets create a new section. Click on the box on the right and click “Create New Section”

In the dialogue box fill in the website name. The ID is automatic.
(Example)
Name: MyWebsite.com
ID: mywebsitecom

Now click “Create”.

Add Website Details

Add the default URl for your website, typically the homepage. Click “Save”.

Copy the Code

You can now Copy the javascript snippet shown in the box. Remember, this script can always be downloaded from the settings area in “Web Data Collection” under the “Collect” menu.

Installing the Code

If you intend to install the script through a tag manager, use this link

Installing Profile Cloud Script with a tag management on your website

On every page of your website, place Innometrics Script AFTER inclusion of jQuery library (if your website uses jQuery). We recommend placing the Script in the head section of HTML code, as it is optimal for onsite personalization cases.

Example Code (don’t use this example):

<script type="text/javascript" src="/javascripts/jquery/1.9.1/jquery-

1.9.1.js"></script>

<script type='text/javascript'><!--

(function () {

var swDc = document.createElement('script');

swDc.type = 'text/javascript';

swDc.charset = 'UTF-8';

swDc.async = true;

swDc.src = ('https:' === document.location.protocol) ?

'https://a248.e.akamai.net/swordfishinc.download.akamai.com/145199/live/p/167/37b70

cd3.js' : 'http://media.swordfishdc.com/live/p/167/37b70cd3.js';

var a = document.getElementsByTagName('script')[0];

a.parentNode.insertBefore(swDc, a);

}());

--></script>

</head>

Note:

Innometrics JavaScript file uses the Akamai Content Delivery Network for its distribution. Akamai is recognized as the largest and fastest network in the world, operating 100,000 servers in 71 countries to ensure fast delivery in all locations. The JavaScript file is loaded asynchronously; it is perfectly invisible for the visitors of the website and does not impact the rendering of the pages.

For more information about Akamai: http://www.akamai.com 

 

Next Steps

2. Adding Profile Cloud Bookmarklets to your Browser

Now you have installed the Script on your website, you now need to install some simple Bookmarks to help you work with Profile Cloud. 

 

(0 vote(s))
Helpful
Not helpful

Comments (0)