HomeCampaign Configuration

Campaign Configuration

Set-up Capitula campaign for your website

1
HEADER CODE

STEP

Please copy the code below and paste it before </head> on your website.

Note: if your website is based on WordPress or any other CMS there will be a header code option in the themes options.

<script>document.write("<script type='text/javascript' src='https://demo.capitula.co.uk/assets/js/capitula_cdn.js?v=" + Date.now() + "'><\/script>");</script>
<script type="text/javascript">if(typeof jQuery == 'undefined'){document.write('<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></'+'script>');}</script>
2
WRAP EMAIL

STEP

Now as we need the CPL configration if your website is a membership you can wrap the email on the registration thank you page Or you can wrap the contact confirmation message.

if you are not seeing the email there you should check with your developer to print the email there and wrap that with Capitula tags. 

 

<capitula_email>Your email funcation</capitula_email>
3
WRAP TOTAL PRICE

STEP

Same thing we did with CPL (email) now we have do it with the order thank you page, please use the code below to wrap the total order price.

<capitula_pay>Total price funcation</capitula_pay>
4
WRAP TRANSACTION ID

STEP

As we need transaction ID to make the CPA 100% legit on the same order thank you page you have an Order ID Or Transaction ID please wrap that with the code below.

<capitula_trans>Transaction ID funcation</capitula_trans>

Congratulations you have successfully configured the campaign configuration. 

If your website uses Shopify please use the below links instead or contact us

1. Header Code
1. Copy below header code and paste it to target website.

<script>document.write(“<script type=’text/javascript’ src=’https://demo.capitula.co.uk/assets/js/capitula_cdn.js?v=” + Date.now() + “‘><\/script>”);</script>
<script type=”text/javascript”>if(typeof jQuery == ‘undefined’){document.write(‘<script type=”text/javascript” src=”https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js”></’+’script>’);}</script>

2. 1 Wrap Email

<capitula_email><?= $email_address ?></capitula_email>

2.2 Wrap Total Price

<capitula_pay><?= $total_price ?></capitula_pay>

2.3 Wrap Transaction ID

<capitula_trans><?= $transaction_id ?></capitula_trans>

2. E-Commerce Set-up code

3. Ad Campaign Set-up code

This is a staging enviroment