Domains & Tracking Script

  Before you begin

This article is directed to Admin Users, who will have the responsibility of making sure that these settings are aligned with their brand as well as their marketing goals and efforts.

If you're not an Admin User, these settings are not available to you. Please refer to Settings for articles about the settings that are available for you.

 

About Domains

A domain is a website that corresponds with your brand and belongs to your business. It is added into APSIS One as a part of a section, which is where Admin users can set up preferences related to attributes, tags and find the tracking script. Read more about sections...

If your domain supports multiple language support, you will need to set up your domain's language options. Website tool activities will make use of these languages in order to display the right activities for the right language displayed in your domain.

Expand Adding a Language to a Domain below to read more about your domain's language settings.

 

Here's some basic information about domains.

Click on an item below to expand:

Adding a Domain

How to Add a Domain

1. Expand a Section.

Domains___Tracking_Script01.jpg

 

Have you not set up your section yet? Jump to Data Sections...

 

2. Review the information in the Domains & Tracking Script tab.

Domains-_-Tracking-Script02.jpg

 

3. Enter a domain name under Add your domain name here.

Domains-_-Tracking-Script03.jpg

 

4. Enter the domain URL under Add your URL here. In order to ensure that the domain will work effectively with APSIS One, enter your URL in the following format: "example.com".

Domains-_-Tracking-Script04.jpg

 

5. Click Verify domain.

Domains-_-Tracking-Script05.jpg

 

6. Your domain will initially show as pending. When it has been verified, it will show as verified.

If your domain supports multiple language support, you will need to set up your language options. Website tool activities will make use of these languages in order to display the right activities for the right language displayed in your domain.

Expand Adding a Language to a Domain below to read more about your domain's language settings.

Domains-_-Tracking-Script06.jpg

 

Adding a Language to a Domain

How to Add a Language to a Domain

1. Head over to Account Settings and enter Data Sections.

DataSection11.jpg

 

2. Expand the Data Section and locate the domain that you want to add languages to.

Domain1_02.jpg

 

3. Click Add Language.

Language_02.jpg

 

4. Enter a name for the language, and the cookie name and value that corresponds.

Langpt3.jpg

 

5. Repeat this process for every language that you support, as well as every domain that you may have in your Data Section.

 

Editing a Domain

How to Edit a Domain 

1. Locate the domain you wish to edit.

Domains-_-Tracking-Script07.jpg

 

2. Click on the pencil icon on the right end of the domain name container.

Domains-_-Tracking-Script08.jpg

 

3. Make your changes.

Domains-_-Tracking-Script09.jpg

 

4. When finished, click on the green checkmark icon.

Domains-_-Tracking-Script10.jpg

 

If you wish to discard the changes, click the x.

Domains-_-Tracking-Script11.jpg

 

Removing a Domain

How to Remove a Domain 

1. Locate the domain you wish to remove.

Domains-_-Tracking-Script12.jpg

 

2. Click on the X icon on the right end of the domain name container.

Domains-_-Tracking-Script13.jpg

 

3. Are you sure you wish to remove this domain? If yes, click Delete.

Otherwise, click Cancel.

Domains-_-Tracking-Script14.jpg

 

 


 

About the Tracking Script

The tracking script is a piece of code that allows your website to feed data into APSIS One. For us to gather data and give you fitting insights, you must install it. It will be used to gather web statistics for your websites, and it will also allow us to display the cookie banners, sign-up bars, etc. created with APSIS One.

Make sure that it's been installed in the head section of your website, for an optimal performance.

If you're wondering about advanced settings, jump to this article.

langOpt.jpg

 

Here's some basic information about the script.

Click on an item below to expand:

Reviewing Tracking Script Status

How to See the Script Status for a Section or Domain

Head over to your Account Settings and expand a Data Section to see the latest Tracking Script Status for your section(s) and domain(s).

 

Section Status

Review the Status of your Tracking Script—whether the data is being received or not. It might take up to 48 hours for your tracking script to point to APSIS One.

Domains-_-Tracking-Script16.jpg

 

This is what every Tracking Script status means:

No data received yet: The Tracking Script has been successfully installed but no data has been fed into APSIS One. You must install or connect a cookie banner in order for the tracking script to feed data into APSIS One.

Connected: You have successfully installed the Tracking Script in your domain(s) and it's now collecting data.

 

Domain Status

Here you can see whether the Tracking Script has been successfully installed in your domain(s). It may take up to one hour for the status to update. Hover over the information icon to see what eachs status means.

scriptStatus_02.jpg

 

This is what every Tracking Script status means:

Pending: APSIS One is checking your domains.

Site Unavailable: We're unable to reach your domain.

No Script: The Tracking Script was not found.

Wrong Script: The Tracking Script installed is from a different section.

Connected: Successfully feeding data into APSIS One.

 

Is something wrong?

Double-check that you installed your script properly. If it still doesn't work, please contact support.

Installing the Tracking Script

How to Install the Tracking Script

The following instructions are for admin users. To see how to access the tracking script for non-admin users, head over to Account Settings.

 

1. Open your Account Settings and enter Data Sections.

Domains-_-Tracking-Script17.jpg

 

2. Expand the desired section.

Domains-_-Tracking-Script18.jpg

 

3. Click Copy tracking script, and paste it into the head section of your main HTML page. This will track all of the subpages as well.

Domains-_-Tracking-Script19.jpg

 

The tracking script is unique to your section.

 

4. Review the status of your script. It might take up to 48 hours for your tracking script to be fully functional.

Domains-_-Tracking-Script20.jpg

 

Your tracking script will only show as Connected once the cookie banner is feeding data into APSIS One. Until then, it will show No data received yet. Read more about cookies...

 

 


 

Tracking Script and Data Collection

The Tracking Script is hosted on a CDN provided by Apsis, which means it's a third-party script. The requirements for the Tracking Script to properly perform are:

  • JavaScript.
  • LocalStorage.
  • Cookies.
  • Internet connection.

 Click on an item below to expand:

Tracking Script Sample

Here's a sample of a typical APSIS One Tracking Script:

<script type='text/javascript'>

(function (d) {

var apc = d.createElement('script'), fs;\n apc.type =

'text/javascript';

apc.charset = 'UTF-8';

apc.async = true;

apc.src = 'https://static.ws.apsisbeta.one/live/d/1340-

20190117115235/370484f1.js';

fs = d.getElementsByTagName('script')[0];

fs.parentNode.insertBefore(apc, fs);

})(document);

</script>

 

Tracked Data

The web data collected is stored in 2 places: in visitors’ browsers and in APSIS One’s cloud.

All data is stored as long as the APSIS One account admin has activated all options available in all Website tool activities in APSIS One, and that the visitor has given cookie consent. All events are stored with a timestamp.

Here’s all data collected according to activity:

 

Signup bar

  • Signup bar is viewed/shown on website.
  • A value is submitted (email address, phone number).
  • Click on return offer (CTA that appears after visitor has already sent value).

All above events include:

  • A unique activity ID for the signup bar. A website may have more than one active signup bar.
  • The web domain the signup bar is active on.
  • The URL where the signup bar is displayed on.
  • Referrer page: the webpage the visitor came from, before arriving to the page where the signup bar is displayed.

 

Cookie banner

  • The cookie banner is viewed/shown on website.
  • Cookie consent is submitted. 

All above events include:

  • A unique activity ID for the cookie banner. A website may have more than one active cookie banners, by using the advanced Match cookie/Language option.
  • The web domain the cookie banner is active on.
  • The URL where the cookie banner is displayed on.
  • Referrer page: the webpage the visitor came from, before arriving to the page where the cookie banner is displayed.

 

Auto collect

Page views

Site searches

  • The search term used by the visitor.
  • URL of page viewed/shown.

Google Analytics

  • UTM parameters present in URL of the page viewed/shown. 

Google SEO/SEM

  • Whether the visitor’s page view originated from an organic or paid source.

Facebook Ads Referral

  • The domain associated with the ad.
  • URL of page viewed/shown.
  • Type of data source, in this case it will show as "ads".

File Downloads

  • The domain where the file is hosted.
  • URL of page where the file was downloaded.
  • Link to the file and its link title.

  

Product Views

  • Name of the product viewed/shown.
  • Name of the product category that the product viewed/shown belongs to.
  • Price of the product viewed/shown.
  • Image of the product viewed/shown.
  • Any other data that corresponds with elements mapped with the Product views activity.
Cookies

All cookies are set by the JavaScript code on your domain, which means all cookies tracked with APSIS One are first-party cookies.

Here's the cookies APSIS One collects according to storage:

 

Cloud storage

  • Ely_vID: Profile ID.
  • Ely_cc_answ: Cookie consent.
  • Elytil: Whether the visitor is a first time visitor or not. Appears only once per profile.
  • Elytis: Whether it's a new browser session. Appears once per browser session.
  • Cookie-banner-session, capture-bar-session-<hash>: Cookies that help monitor the status of Signup bar and Cookie banner activities.

 

Local storage

  • Ely.deferred_events: Events that took place up to an hour before visitor provided cookie consent. If consent is not provided within an hour, events are deleted.
  • Ely.profile: A visitor's local profile.
  • Innometrics-cookie-banner-variable: Shows the correct status of the Cookie banner.
  • pcdc:  The service structure for the events being sent to Audience.

 


 

 

Was this article helpful?