HomeCapitula Wordpress Guide

Capitula Wordpress Guide

Please follow these 3 instruction steps to set up the

Capitula campaign for WordPress website

1

STEP

You need to add the provided CDN code to your website’s header.

Log in to your WordPress admin dashboard.

Go to Appearance > Theme Editor.

Select the header.php file from the right panel.

Insert the CDN code just before the closing </head> tag:

The below code is jQuery CDN link if you already have jQuery in your theme ignore this, if not please add that first.

After adding the jQuery CDN link please add this Capitula CDN link

Click Update File.

2

STEP

Register CPL

Go to the Thank You or Confirmation page after registration.

Wrap the registered email using <capitula_email>registered email here</capitula_email>

This can also be done for any subscription form where the user enters an email.

If you are using any email subscription field/widget do the same on the confirmation message make sure to wrap the email address.

3

STEP

Wrap Total Price and Transaction ID in WooCommerce

To track the Total Price and Transaction ID on the WooCommerce Order Confirmation page, follow these steps:

Log in to your WordPress admin dashboard.

Go to Appearance > Theme Editor.

Select the functions.php file from the theme’s files.

Add a function to modify the WooCommerce Order Confirmation page:

Click Update File.

This will automatically add the <capitula_pay> and <capitula_trans> tags to the WooCommerce Thank You page with the respective values.

These steps will help you integrate the Capitula system into your WordPress WooCommerce site efficiently.

This is a staging enviroment