CMS Integrations

Last Updated On May 23, 2019
< Back

WORDPRESS

  1. Install required component plugins in wp-admin

  2. Follow the integration steps in the earlier section and add the VaultPro online affiliate SDK script in HTML header of your website.

  3. No need to include JQuery externally, because it’s already present in WordPress

  4. To track the events in your WordPress site, please put the following code with event id and component_id

Code Snippet
<script>
document.onreadystatechange = () => {
if (document.readyState === 'complete') {
jQuery('#component_id').click(function() {
VaultSDK.trackGoal(GOAL_ID);
});
}
}
</script>

Note

  1. Refer the “#2 and #3 Identify Events” section to know more about Goal_ID.

  2. “component_id” will be the id of the Javascript component.

 

MAGENTO

For version 2.1

  1. Login as administrator into your Magento panel

  2. Click on Content menu and configuration sub-menu

  3. In the list of themes, click on Edit button that lies on the right side of the list

  4. Follow the integration steps in the earlier section and add the VaultPro SDK script in HTML header of your website.

  5. If you want to track the events in your Magento website, please put the following code with event id and component id.

For version 2.0.4

  1. Login as administrator

  2. Click on Store menu and configuration sub-menu.

  3. Then click General select Design option

  4. Follow the integration steps in the earlier section and add the VaultPro SDK script in HTML header of your website.

  5. If you want to track the events in your Magento website, please put the following code with event id and component id

Code Snippet
<script>
document.onreadystatechange = () => {
if (document.readyState === 'complete') {
jQuery('#component_id').click(function() { VaultSDK.trackGoal(GOAL_ID);
});
}
}
</script>

Note

  1. Refer the “#2 and #3 Identify Events” section to know more about Goal_ID.

  2. “component_id” will be the id of the Javascript component.

 

Performance Impact
The SDK has been thoroughly tested and is known to cause no adverse performance impact to a website where it has been implemented. Further the SDK is delivered via world-wide delivery points (edge locations via CDN) in order to maximise the speed of transmission of data between the websites and our servers.