NetSuite integration
An integrated cloud business software suite, including business accounting, ERP, CRM and ecommerce software.
With NetSuite, you can implement the complete business software suite to run your entire business better or begin with one module and add functionality as you need it.
How to integrate PostAffiliatePro with NetSuite
The integration method uses an ability to display custom scripts on the thank you page. You can track subtotal, product info and order ID.
Sale tracking code
Login to your NetSuite admin and navigate to Setup > Site Builder > Set Up Web site > Analytics tab. Insert the following code to the Order Confirmation Page section:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
function triggerSaleTrack() {
var rows = document.getElementById("ordersummary_total").parentNode.rows;
for (var i=1; i<rows.length; i++) {
var category = "<%=getCurrentAttribute('site','name')%>";
var productName = rows[i].cells[1].innerHTML;
var orderId = '<%=getCurrentAttribute('confirmation','ordernumber')%>' + '(' + i + ')';
var quantity = rows[i].cells[3].innerHTML;
var price = rows[i].cells[4].innerHTML;
PostAffTracker.setAccountId('default1');
var sale = PostAffTracker.createSale();
sale.setTotalCost(price*quantity);
sale.setOrderID(orderId);
sale.setProductID(productName);
sale.setData1(category);
PostAffTracker.register();
}
}
</script>
Save your changes.
Trigger the sale tracking code
For now, we’ve defined the sale tracker in a special function, which we have to call from site footer. This is because some site elements are not loaded yet, that is why we will call it from the footer.
Navigate to Web site > Appearance > Themes and edit your actual theme. Click on the body subtab and scroll down to footer code which is at the bottom of the page. Please insert this code there:
<script type="text/javascript">
if (document.URL.indexOf("thanks") != -1) {
triggerSaleTrack();
}
</script>
Save it and that’s it.
The latest version of Netsuite
In case you use the latest version of Netsuite, you have to use a bit different code. Login to your Netsuite admin and navigate to Setup > Site Builder > Set Up Web site > Analytics tab. Insert the following code to the Order Confirmation Page section:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
var itemsInOrder = "<%=getCurrentAttribute('confirmation','orderitems')%>";
var rows = itemsInOrder.split("||");
PostAffTracker.setAccountId('Account_ID');
for (var i=1; i<rows.length; i++) {
var item = rows[i].split("|");
var orderId = "<%=getCurrentAttribute('confirmation','ordernumber')%>" + "(" + i + ")";
var price = item[3] * item[4];
var sale = PostAffTracker.createSale();
sale.setTotalCost(price);
sale.setOrderID(orderId);
sale.setProductID(item[0]);
sale.setData1(item[2]);
PostAffTracker.register();
}
</script>
These are values of each order item:
- item[0] = SKU
- item[1] = item name
- item[2] = item category
- item[3] = price
- item[4] = quantity
Save your work and you are done.
One-Page Checkout feature
In case you wanted to integrate this new feature by NetSuite – One-Page Checkout, you can do it as well. This is the code you can use in your site.js file, in Custom/js folder:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
_nsCartModel.cart.items.each(function(item, index) {
PostAffTracker.setAccountId('Account_ID');
var sale = PostAffTracker.createSale();
var price = parseFloat(item.price.substring(1));
sale.setTotalCost(price*parseInt(item.quantity));
sale.setOrderID(order.internalid);
sale.setProductID(item.name);
PostAffTracker.register();
}
);
</script>
In case you wanted to track category instead of (or in addition to) a product name, you can use variable ‘category‘. This variable can be used directly as it is initialized in SiteBuilder > Analytics tab.
Do not forget to integrate your main site with the click tracking code. Do not add it to your Netsuite admin panel as it might broke tracking.

What is NetSuite?
NetSuite is a leading cloud-based enterprise resource planning (ERP) software suite designed to streamline business operations across a diverse range of industries. Offering robust tools for managing financials, customer relationships, e-commerce, and human resources, NetSuite empowers businesses with a unified platform to enhance efficiency and drive growth.
Founded in 1998 by Evan Goldberg, NetSuite was one of the pioneering companies to offer cloud-hosted business software solutions. Originally focusing on accounting software under the name NetLedger, the company expanded its offerings to a full suite of applications, evolving into a comprehensive ERP solution. NetSuite’s cloud-based architecture allows businesses to access real-time data and analytics, enabling informed decision-making and improved operational efficiency.
NetSuite’s journey began with its establishment in 1998, focusing on providing cloud-based accounting solutions. In 2007, the company went public, signifying its growth and prominence in the ERP market. The pivotal moment came in 2016 when Oracle Corporation acquired NetSuite for $9.3 billion, marking one of the largest software acquisitions at the time. This acquisition enhanced NetSuite’s global reach and technological capabilities, integrating Oracle’s resources with NetSuite’s innovative solutions.
NetSuite targets businesses ranging from small to large enterprises across various sectors, including wholesale distribution, manufacturing, services, and retail. Specifically designed to benefit companies seeking to streamline operations in global settings, NetSuite provides real-time insights and automation of business processes. Its customizable solutions are tailored to meet industry-specific needs, making it a versatile choice for organizations aiming to optimize their operations.
Main Features of NetSuite: Comprehensive Business Management
NetSuite offers a suite of powerful features designed to integrate various business functions:
- Financial Management: NetSuite’s financial management tools provide real-time data and business intelligence, facilitating informed decision-making.
- Customer Relationship Management (CRM): A unified platform for managing all customer interactions and history, enhancing customer service and engagement.
- E-commerce Integration: NetSuite’s e-commerce solutions support integrated, omnichannel e-commerce management, streamlining online sales and customer experience.
- Inventory and Order Management: Real-time supply chain visibility and efficient order processing improve inventory control and fulfillment.
- Human Resource Management: SuitePeople, NetSuite’s HR module, offers payroll and talent management solutions, simplifying HR processes.
- Professional Services Automation (PSA): Tools for project management and resource allocation help optimize service delivery and project profitability.
- Business Intelligence: Advanced analytics and personalized dashboards provide insights into business performance and trends.
NetSuite Pricing Options: Tailored Solutions for Every Business
NetSuite employs a tailored pricing strategy based on customization requirements, business size, number of users, and specific modules needed. Operating on an annual subscription model, NetSuite offers packages such as Starter, Mid-Market, and Enterprise editions. This flexible pricing structure ensures that businesses of various sizes can access solutions that fit their needs and budgets.
User Insights on NetSuite: Pros and Cons
Users of NetSuite often highlight several benefits and challenges associated with the platform:
Pros:
- Comprehensive Integration: NetSuite seamlessly integrates various business functions into a single platform.
- Scalability: The platform grows with the business, accommodating increased complexity and expansion.
- Cloud Accessibility: Being cloud-based, NetSuite allows access to data and tools from anywhere with an internet connection.
Cons:
- Complexity for Small Businesses: Smaller businesses may find the platform’s extensive features overwhelming.
- Customization Requirements: Significant customization may be necessary to tailor the platform to specific business needs.
- Cost: The potentially high costs associated with implementation and ongoing use may be a barrier for some businesses.
Overall, users appreciate NetSuite’s flexibility and its capacity to handle complex operations, despite a learning curve and an intensive implementation process.
NetSuite Reviews on YouTube: In-Depth Analyses
For visual and detailed analyses of NetSuite, several YouTube reviews provide insights:
- NetSuite 2023 Review: Is This the Right ERP for Your Business? – This video examines NetSuite’s features, highlighting the pros and cons to help businesses make informed decisions.
- NetSuite 2023 Features Walkthrough – A detailed walkthrough of NetSuite’s latest features, demonstrating its functionalities.
- NetSuite Review 2023: Pricing, Features, and Alternatives – This review covers NetSuite’s pricing structure, key features, and compares it with alternatives.
Alternatives to NetSuite: Other ERP Solutions
Businesses considering NetSuite may also evaluate other ERP solutions:
- SAP Business One – Tailored for small and medium-sized businesses, it offers comprehensive business management solutions.
- Microsoft Dynamics 365 – A robust ERP and CRM solution with integration into the Microsoft ecosystem.
- Infor CloudSuite – Provides industry-specific, cloud-delivered ERP solutions.
- Acumatica Cloud ERP – Known for flexible licensing options and strong financial management capabilities.
- Odoo – An open-source ERP with modular design, allowing businesses to implement the functionalities they need.
Discover Post Affiliate Pro's flexible pricing plans tailored to fit your business needs, with options for Pro, Ultimate, and Network packages. Enjoy a free trial with no credit card required, no setup fees, and the freedom to cancel anytime. Benefit from features like unlimited affiliates, advanced reporting, customizable interfaces, and lifetime support. Save up to 20% with annual billing and take advantage of more than 220 integrations. Perfect for businesses seeking to enhance their affiliate marketing efforts. Visit now to find the ideal plan for you!
Discover the power of the Lifetime Commissions plugin! Ensure lifetime referral tracking with unique customer identifiers, allowing affiliates to earn commissions on future sales without repeated clicks. Easily manage customer-affiliate relations and configure settings to suit your needs. Boost your affiliate program's efficiency with customizable options and ensure commissions for affiliates, even across different devices or channels. Explore seamless integration with eCommerce systems and enhance your marketing strategy today!
Discover the essentials of clicks (referrals) tracking with our comprehensive guide. Learn about the importance of click tracking code, explore various code examples including simple, asynchronous, and PHP versions, and dive into advanced tracking options. Optimize your affiliate marketing strategy with expert tips on setting account IDs, managing cookies, and customizing tracking parameters. Visit now to enhance your click tracking implementation!