Our platform stores cookies on your device with the purpose of providing the best possible service for you. Some of the cookies with non-essential purposes can be rejected if you choose to do so. If you would like more information about this, you can access our cookies policy.

Integrations

This is a guide on how to integrate Citeway into your website.

Table of content

Citeway setup process summary
Register
Select a subscription plan
Create a company profile
Add info about your sector
Paste code on your website
Choose style of your banners
Citeway setup process summary
Register
Select a subscription plan
Create a company profile
Add info about your sector
Paste code on your website
Choose style of your banners
Introduction

This guide will help you integrate Citeway into your website. To do so, you'll start by setting up an account, and continue by configuring a profile for your company, and adding two blocks of code on your website editor. After this, you won't have to worry about doing any other technical actions, as all your preferences and customizations will be managed through you dashboard page on the Citeway website.

This integration setup will allow your website to connect with Citeway so that the banners appear automatically on your site. Once you've finished following the steps listed on this page, your visitors will start seeing the different banners selected for your business.

Besides the integration process, you can also find at the end of this guide an explanation on how to create self-edited banners to display on your site. These banners are private and uniquely used on your website, and benefit from the A/B testing and measurement capabilities that Citeway offers.

Setting up your account

We'll start the integration by creating a Citeway account. If you haven't already registered, go to the registration page and create an account. After doing so, you'll be redirected to a page to select your preferred subscription plan. You don't have to wait until registering to see the different subscription options Citeway offers. If you want to give it a check now, you can go to the pricing page and see which plan fulfils your company's needs better.

Once you've selected a plan, you'll be automatically redirected to your dashboard page. This page is your command center, where you'll manage all your preferences about Citeway. If you haven't registered or selected a subscription plan, you won't be able to perform any actions on your dashboard, so make sure to finish those steps first before you continue with this guide.

View of Citeway dashboard after registering
The appearance of your dashboard after registering and selecting a plan.

After registering and selecting a plan, you'll be able to add a new company to your dashboard. Because you can use Citeway with different companies/websites that may have different preferences, each one of them has their own profile with its individual settings. You can now click on the "Add a company" button and introduce the name of your company. Once you do that, you'll see a new entry on your dashboard menu that will let you access your company's preferences. Click your newly created company profile on the menu to access its preferences, and select its setup button.

View of a company profile on the Citeway
      dashboard
Profile page of your company on your Citeway dashboard.

The first thing you find when entering you company's setup interface is the Tags input bar. There, you should add as many tags as you feel necessary to define the activity your company does. If, for example, you sell organic skincare cosmetic products, you should add tags like "organic", "skincare", and "cosmetics". Additionally, you could also add others like "face cream", "hand cream", "organic healthcare", etc. The more tags you add, the easier it will be to find proper banners that can help increase your website's conversion. There's no limit to the amount of tags you can add to each of your companies, and you can create different combinations of words if you think it will help define better what your business is about.

Below the Tags input bar, you'll be able to select the platform/technology your website is based on. Currently we differentiate between Shopify, Wordpress (it includes websites that combine it with Woocommerce), and other. The "Other" category comprises anything that can include html codeblocks, so you shouldn't have any issues finding the option that better defines your system. However, if you aren't sure if you can include Citeway into your system, send us an email at support@citeway.com and we'll guide you every step of the process.

View of a company setup interface, including
      tags and platform selection
Company setup interface, including tags and platform selection
Implementation

Once you've created a company profile, included the necessary tags that define your business, and selected the platform option that your system uses, you are ready to include the bits of code that will enable the communication between Citeway servers and your website. If you haven't reached this point yet, check the previous sections where it's explained how to begin with your implementation process.

The code bits that need to be included are two: the first one is known as the "Head code block" and is used to monitor the success of the banners that are used on your website; the second one, known as the "Banner insertion code block", is used to place a banner wherever you want on your site. These concepts will be explained in more detail on the following sections.

Shopify

Note: If you have jumped directly into this section, have in mind that to proceed with this step you are expected to have set up your account, created and configured a company profile, and obtained the connection blocks of code that are autogenerated on your Citeway Dashboard. If you haven't reached this level of preparation, we suggest you check the previous steps described in this integrations guide.

If you use Shopify to build your ecommerce website, follow this section to implement Citeway into it. Following the steps explained in the previous sections, you should've reached the point where you have included the tags that define your business and selected "Shopify" as your platform.

Head code block

Below the abovementioned fields related to tags and platform selection, you'll find the "Head code block" section. On it, there's a block of code that is specifically generated for your company, and that will only work for this specific website. If you were to repeat this step with different websites, new company profiles need to be created.

Head code block insertion
      setup section
Head code block section of the setup interface

This block of code can be copied by clicking the Copy button. It will have to be pasted soon on your Shopify page, so let's head there to set up the stage first.

Installing the code insertion app

Follow this link to install a free plugin that allows you to attach code blocks to the <head> part of your Shopify website. Alternatively, you can search for it in the Shopify app store by typing its name: XO Insert Code.

Shopify app store shows XO Insert
      Code app
XO Insert Code app on the Shopify app store

After logging into your Shopify account, install the XO Insert Code app on your store by clicking on the Install button. When doing so, you'll be redirected to your Shopify admin panel to grant some permissions to the app before installing it, as displayed on the image below. Click on Install to grant those permissions and install the app.

Disclaimer: Citeway has no affiliation with XO Insert code whatsoever. Using this app is just one way of inserting code into your Shopify website, and other ways are acceptable too.
Shopify admin page shows the
      installed app
XO Insert Code app on the Shopify admin page, requesting permissions.

Once the XO Insert code is installed, you'll be redirected to the app itself on your Shopify Admin panel. If you're not redirected or you close the page by accident, simply access your Admin panel on Shopify and search for the app on the Apps section of the sidebar menu.

Inserting the code block

Inside the app page of your admin panel, click on the Add new code button, as shown in the following image.

Shopify admin page shows the
      installed app, ready to add new code
XO Insert Code app on the Shopify admin page, ready to add new code.

After clicking on the Add new code button, you'll be requested to fill in different parameters. Be sure to type in the following fields and ignore the rest:

Once you've filled in the necessary fields, click the Save button to create the code block insertion. See the image below as a reference of how it should look like before saving.

Creation of a new code block
Creation of a new code block.

After saving your head code block, you'll return to the app's main page in the admin panel. There, you may be prompted with a warning that says that the app is disabled, together with a link to your Theme customizer. Click on that link to enable the app.

The app is disabled
Warning of disabled app.

Clicking the link takes you to the Theme customizer, and into the section of App embeds. There, you just need to toggle the XO Insert code Header option, followed by a click on the Save button to enable your app.

Enabling the code insertion app
Enabling the code insertion app.
Banner insertion code block

Now that the Head code block has been inserted and activated, the "difficult" part is over. For the next steps, you'll see that all that's left to be done is choose where you want to place a Citeway banner, and paste some code. Let's do it step by step to see how it's done.

Copying the banner insertion code block

As simple as it sounds, just head to your Citeway dashboard, and below the Head code block you'll find the Banner insertion code block. Click on the Copy button for the latter so that you can paste it in Shopify.

Copying the banner
      insertion code block
Copying the banner insertion code block from your Citeway dashboard.
Inserting a banner

As you may probably be used to doing when designing the looks and content of your Shopify store, you'll have to head to the Themes section of your Online Store in the admin panel. Once there, click the Customize button of your currently active theme.

Accessing the customization of a
      Shopify theme
Accessing the customization menu of your Shopify theme.

On the customization menu of your current Theme, you'll have the capacity of editing the contents and looks of each one of the pages of your website. Select the page where you want to add a Citeway banner on the top dropdown menu, and find the proper place within the page to add it. There, simply click on the Add section button that is displayed in between sections, or find the same Add section option on the side menu. Once you've clicked it, select the option Custom liquid, as shown in the image below.

Adding a new section to one of your
      website pages
Adding a new section to one of your website pages.

All there's left to do is pasting the code you copied from your Citeway dashboard into the new section you've just created, and clicking the save button.

Pasting your insertion code into
      your newly created section
Pasting your insertion code into your newly created section.

You'll see a banner appear automatically, the way it will be displayed on your website. You can repeat this process of adding a new section and pasting the Banner insertion code block as many times and in as many pages as you want. The banners will be displayed everywhere you choose to add the sections with this code inside them.

The banner has been implemented
The banner is displayed automatically on your website.

Congratulations, you've finished the implementation!🎉 If you want to change the style of the banners to better match the looks of your website, go to the section Change banner style on this page.

Wordpress

Note: If you have jumped directly into this section, have in mind that to proceed with this step you are expected to have set up your account, created and configured a company profile, and obtained the connection blocks of code that are autogenerated on your Citeway Dashboard. If you haven't reached this level of preparation, we suggest you check the previous steps described in this integrations guide.

If you use Wordpress to build your website, follow this section to implement Citeway into it. Following the steps explained in the previous sections, you should've reached the point where you have included the tags that define your business and selected "Wordpress" as your platform.

Head code block

Below the abovementioned fields related to tags and platform selection, you'll find the "Head code block" section. On it, there's a block of code that is specifically generated for your company, and that will only work for this specific website. If you were to repeat this step with different websites, new company profiles need to be created.

Head code block insertion
      setup section
Head code block section of the setup interface

This block of code can be copied by clicking the Copy button. It will have to be pasted soon on your Wordpress page, so let's head there to set up the stage first.

Installing the code insertion app

There are plenty of free plugins that help you add code to the <head> section of your Wordpress website. Based on number of installs and review scoring, we recommend "WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager" by WPCode. To find it, go to your Wordpress Admin Panel, click on the Plugins section of your left sidebar menu, and select Add New Plugin. Once there, type "wpcode insert headers" on the search bar to find the plugin.

Search for the plugin on the Wordpress directory
Search for the plugin on the Wordpress directory

Once you find the plugin, click the install button and wait for it to be installed on your Wordpress site. Afterwards, click the activate button for it to be active on your website.

Disclaimer: Citeway has no affiliation with WPCode whatsoever. Using this app is just one way of inserting code into your Wordpress website, and other ways are acceptable too.
Installed app, ready to be activated
Installed app, ready to be activated

Once the plugin is installed and activated, you'll be able to access it at the bottom of your left sidebar menu, on the Wordpress Admin Panel, as "Code Snippets".

Access the plugin from the sidebar
Access the plugin at the bottom of the sidebar
Inserting the code block

In the Code Snippets section from the sidebar menu, click on the Header & Footer button. This will allow you to include additional code to the <head> section of your website. Copy the "Head code block" from your Citeway dashboard and paste it into the Header section. After doing so, remember to save your changes by clicking the Save button.

Add the code to your Header section
Inserting the Citeway Head code block into your header.
Banner insertion code block

Now that the Head code block has been inserted and activated, the "difficult" part is over. For the next steps, you'll see that all that's left to be done is choose where you want to place a Citeway banner, and paste some code. Let's do it step by step to see how it's done.

Copying the banner insertion code block

As simple as it sounds, just head to your Citeway dashboard, and below the Head code block you'll find the Banner insertion code block. Click on the Copy button for the latter so that you can paste it in Wordpress.

Copying the banner
      insertion code block
Copying the banner insertion code block from your Citeway dashboard.
Inserting a banner

As you may probably be used to doing when designing the looks and content of your Wordpress website, you insert new components to it by adding and customizing blocks to the desired pages. Some people choose plugins like Elementor that make it really easy to customize your site, but it can also be done by editing your current theme. We'll show you how it's done on both cases so that you choose the one you prefer.

Adding banners by editing your Theme

If you are used to making your style and layout changes by editing your website's theme, you've most likely already created a Child Theme that let's you keep all your customizations when your main theme is updated. If that's not the case and this is one of the first customizations you make to your site, we recommend you check this link to better understand the usage of a child theme and how to create yours.

To edit your current theme, go to your sidebar menu and click Appearance > Editor.

Accessing the customization of a
      Wordpress theme
Accessing your theme editor

On the theme editor view, you'll be able to access the different pages of your site. Choose the one in which you want to add a Citeway banner, and once selected, click on the page itself to edit its layout and style. You'll see that it gets into editing mode, and hovering over the different sections allows you to edit and redistribute them.

Adding a new section to one of your
      website pages
Your theme in editing mode let's you make changes

By clicking on the "+" button at the top left of the page, you'll be prompted with different types of sections to choose to add them to your page. Search for the "Custom HTML" type under the Widgets section, and drag it wherever you want to place a Citeway banner. Once placed, you'll have an input field in which to add your banner code: get the "Banner insertion code" you copied from your Citeway dashboard (if you haven't copied it, now it's time to do it), and paste it in the block you just inserted.

Pasting your insertion code into your newly created section.

Don't worry if you don't see anything on the preview option of this HTML block, just click the Save button and the banner integration will be finished.

Go check your website outside the editor to see your newly implemented banner!

Remember that you can repeat this process of adding a new section and pasting the Banner insertion code block as many times and in as many pages as you want. The banners will be displayed everywhere you choose to add the sections with this code inside them. Also, bare in mind that inserting a block inside an already existing parent section/block in your page can constrain the banner in terms of horizontal margins. If you think it looks too short, drag the section outside of its parent or check the horizontal margin/padding of both blocks.

The banner has been implemented
The banner is displayed automatically on your website.

Congratulations, you've finished the implementation!🎉 If you want to change the style of the banners to better match the looks of your website, go to the section Change banner style on this page.

Adding banners using Elementor

If you are used to making your style and layout changes using Elementor, this should be really easy for you!

To add a banner to a specific page, go to your sidebar menu and click Pages > All pages. There, select the page you want to add the banner to and click edit.

Accessing the editing context of a
      page
Accessing the page editor

Once you're taken to the Wordpress page editor, click the button at the top of the page that says "Edit with Elementor".

Edit with elementor option
Selecting to edit the page using Elementor

You'll be taken to the Elementor customization interface for the page you've selected, which allows you to add, edit, and relocate the different section blocks that conform your page. Choose where in the page you want to add a Citeway banner, then select the "HTML" type of block, and drag it wherever you want it to be. After that, all you'll have to do is paste the "Banner insertion code" from your Citeway dashboard that you copied a few steps back (if you haven't copied it, now it's time to do it).

And that's it! You can click the preview button below to see how it looks, and you'll see that the banners are already being loaded.

Don't forget to save the changes by clicking the Update button, so that the banner goes live.

Pasting your insertion code into your newly created section.

Remember that you can repeat this process of adding a new section and pasting the Banner insertion code block as many times and in as many pages as you want. The banners will be displayed everywhere you choose to add the sections with this code inside them. Also, bare in mind that inserting a block inside an already existing parent section/block in your page can constrain the banner in terms of horizontal margins. If you think it looks too short, drag the section outside of its parent or check the horizontal margin/padding of both blocks.

The banner has been implemented
The banner is displayed automatically on your website.

Congratulations, you've finished the implementation!🎉 If you want to change the style of the banners to better match the looks of your website, go to the section Change banner style on this page.

Html

Note: If you have jumped directly into this section, have in mind that to proceed with this step you are expected to have set up your account, created and configured a company profile, and obtained the connection blocks of code that are autogenerated on your Citeway Dashboard. If you haven't reached this level of preparation, we suggest you check the previous steps described in this integrations guide.

If you don't use any of the abovementioned website builders and use HTML instead, the implementation process is very simple. Before you go any further, you should have followed the previously described steps and reached the point where you have included the tags that define your business and selected "Other" as your platform on the Setup section of your company profile.

Head code block

Below the earlier described fields related to tags and platform selection, you'll find the "Head code block" section. On it, there's a block of code that is specifically generated for your company, and that will only work for this specific website. If you were to repeat this step with different websites, new company profiles need to be created.

Head code block insertion
      setup section
Head code block section of the setup interface

This block of code can be copied by clicking the Copy button. All you have to do now is paste it in the <head> section of your website. It's extremely important that you attach it globally to your site (in other words, that it is present in every page of your site) and not only to a specific page.

Banner insertion code block

Now that the Head code block has been inserted and activated, all that's left to be done is choose where you want to place a Citeway banner, and paste some code. Let's do it step by step to see how it's done.

Copying the banner insertion code block

As simple as it sounds, just head to your Citeway dashboard, and below the Head code block you'll find the Banner insertion code block. Click on the Copy button for the latter so that you can paste it in your code editor.

Copying the banner insertion code block
Copying the banner insertion code block from your Citeway dashboard.
Inserting a banner

As you may be expecting, all you have to do now is past the codeblock wherever you want a banner to appear. Just make sure it's in the <body> section of your page. You can add a banner multiple times in the same page, as well as in different pages.

Important note: if you have used this method of implementation instead of the Shopify and Wordpress ones, make sure not to skip the next section "Selecting your success pages", as it's specially important for websites not built with such methods.

Congratulations, you've finished the implementation!🎉 If you want to change the style of the banners to better match the looks of your website, go to the section Change banner style on this page.

Selecting your success pages

One of the most important features of Citeway is to evaluate which banners are the best at converting your visitors, or in other words: which banners are the most successful. But in order to do that, we need to define first what we consider "success". In many cases, when a visitor of our website reaches the Checkout page, or the Thank you one that's showed after a purchase, we can consider it a successful conversion. However, in other cases a success is considered when a visitor reaches the Subscribed page, or something else.

For that reason, Citeway lets you define the urls of the pages that you consider to be your success indicators. This option can be found in the Setup menu of the company you want to edit, and down into the section "A/B testing success urls".

Company Setup selection, on the Citeway dashboard
Company Setup menu, on your Citeway dashboard.

Don't worry, if you are not sure about how to proceed with the success parameter selection and prefer to leave this part empty, as the success parameters are automatically selected for you based on the platform you've chosen (e.g. Shopify always uses the same url patterns after a checkout is finished). For that reason there's no need for you to enter that information unless you want to add values that are specific to your website.

If instead of Shopify or Wordpress, you've chosen Other as your platform selection, you probably need to pay some extra attention to the "A/B testing success urls" section, as you may have used different url patterns than the ones typically used on Shopify and Wordpress on your success defining pages. Selecting the Default button autofills a series of success url patterns that are common based on your platform selection. After that pre-filling, you can still add, edit, and delete any of the displayed url values.

Selection of url patterns to define success
Selection of url patterns to define success on your website.
Private banners

As you may imagine, the banners created by a user for their company are exclusive to such company and no other Citeway user gets to use them on their websites. For that reason, they are referred to as Private, or self-edited banners.

To create a Private banner, go to your Citeway dashboard and into your company's profile tab, and scroll down to the Self-edited Banners section.

Self-edited banners are found on your Dashboard
Self-edited banners can be found on your Dashboard, in your company's profile tab.
Creating your own banners

If you want to write banners of your own and still harness the power of optimized distribution and analytics to maximize their conversion power, you're in the right place. From your Citeway dashboard you'll be able to create and edit banners of your own in a really easy way.

Private banners

As you may imagine, the banners created by a user for their company are exclusive to such company and no other Citeway user gets to use them on their websites. For that reason, they are referred to as Private, or self-edited banners.

To create a Private banner, go to your Citeway dashboard and into your company's profile tab, and scroll down to the Self-edited Banners section.

Self-edited banners are found on your Dashboard
Self-edited banners can be found on your Dashboard, in your company's profile tab.
Choosing a banner style

After designing your website with so much care, you'll most likely be expecting to choose a style for your banners that fits properly with it. It's up to you to decide whether you want the banners to stand out to call people's attention or to seamlessly integrate into the flow of the page to get a native content feeling. The choice is yours!

Company setup

As with all the other options for one of your company profiles, you'll have to head to your Citeway Dashboard. Once there, selec the profile tab of the company you want to edit, and click the Setup button at the top-right of your screen. In the setup menu, scroll down until you reach the Banner style section. There, you'll find a set of different styles to choose among. Click the one you like the most and the change will be automatically saved.

The banner style selection menu is found on your Dashboard
The banner style selection menu can be found on your Dashboard, in your company's profile tab.