Help Centre

Support > Promoting Your Website > General Marketing

How to Add Affiliatly To Your Create Website Shop

Affiliatly is a tracking software for e-commerce stores. By using Affiliatly, you can boost your sales and get insights about your affiliates using their integration.

Setting up Affiliatly with Create is a simple process. All that is required is to add 2 different HTML codes to your Create website. Affiliatly supply the codes, there is one for tracking visits and another for tracking purchases.

Currently, Affiliatly can only be used with Create if you are using any of the following payment gateway options:

Create Payments
Stripe
PayPal Express (not Standard)
Manual Payments

If you are using a different payment gateway not listed above, please contact your Account Manager who can advise you further.


Connecting Affiliatly to Your Create Website

To begin, you are going to first need to set up an account with Affilitaly, which you can do here

Affiliatly has a short signup process where you need to supply some details to set up the account.

During the sign up, Affiliatly will ask what Framework you are integrating with and then display a list of different platforms. Create is not on this list so please select Other

 

When asked, you will want to select Tracking by Link as your tracking method.

After setting up your account with Affiliatly, you will need to access the integration tab in your account. It is here where the code is displayed that you need to add to your Create website.

 

 

Tracking Visits

You can simply copy this code, exactly as it’s supplied to you by Affiliatly. You will need to add this code, into a HTML Fragment and apply it to the head of your website homepage.

Below is an example of the code, yours will feature a unique AF code.

<script type="text/javascript" src="https://www.affiliatly.com/easy_affiliate.js"></script>
<script type="text/javascript">startTracking('AF-XXXXXX');</script>

1. Log into your Create Account

2. Click Content in the Top Menu

3. Click HTML Fragments in the left-hand menu

4. Click the green Add HTML Fragment button

5. Name the HTML Fragment ‘Affiliatly Visitor Tracking’ under ‘Description’ and paste the code into the HTML Code box.

6. For the type, select Head - Include this fragment within the <head> tag on every page of your site

6. Click Save Changes

 

Tracking Purchases

Next you need to add the code for tracking purchases made by your affiliates.

Before adding the code, you need to make some adjustments to it, so that it tracks Create orders correctly. The code that is supplied to you from Affiliatly will look something like this:

<script type="text/javascript" src="https://www.affiliatly.com/easy_affiliate.js"></script>
<script type="text/javascript">markPurchase('AF-XXXXXX', order, price, coupon_code);</script>

You will need to remove the ‘coupon_code’ text and replace ‘order’ and ‘price’ with the following cr_orderid and cr_ordertotal

The result should look similar to this, but will feature your unique AF ID

<script type="text/javascript" src="https://www.affiliatly.com/easy_affiliate.js"></script>
<script type="text/javascript">markPurchase('AF-XXXXXX', cr_orderid, cr_ordertotal);</script>

This code needs to be copied and pasted into the Thank You Page HTML Fragment section in your Create account. You can access this area in the following way:

1. Log into your Create Account

2. Click Shop in the Top Menu

3. Click General Configuration

4. Click the Checkout tab

5. Scroll down to view the Thank You Page HTML Fragment box


After adding this code, you will need to Save Changes and then Publish your website to have it applied to your live site. The required code will then be in place.

Affiliatly allows you to test it out using a test affiliate which they have setup. You can learn more about testing out the integration via the Tutorial tab, in your Affiliatly account.

 

More Questions?

If you have any further questions, please get in touch and we will be happy to help.

Get in Touch