The purpose of this program is to help keep track of a sale generated by Ammo Seek in order to calculate teh fee rate. These are the setup details for using the AmmoSeek-managed affiliate program.
Instructions for setup in coreFORCE will be included below under Section 2.
SECTION 1: AMMOSEEK INSTRUCTIONS
<script type="text/javascript" id="pap_x2s6df8d" src="https://ammoseek.postaffiliatepro.com/scripts/gkm6jmxvuh2"></script><script type="text/javascript">PostAffTracker.setAccountId('8e170a55');PostAffTracker.setParamNameUserId('asaid');try {PostAffTracker.track();} catch (err) { }</script>
<script type="text/javascript" id="pap_x2s6df8d" src="https://ammoseek.postaffiliatepro.com/scripts/gkm6jmxvuh2"></script>
<script type="text/javascript">PostAffTracker.setAccountId('8e170a55');
var sale = PostAffTracker.createSale();sale.setTotalCost('120.50');sale.setOrderID('ORD_12345XYZ');PostAffTracker.register();</script>
OrderID - your unique generated order ID to cross-check/track the sale.
SECTION 2: SETUP INSTRUCTIONS WITHIN COREFORCE
As with any analytics, these will be setup by going to Templates > Analytics Code. If you already have pre-existing analytics, you will want to open that record and add the script below any existing scripts. Do not attempt to insert the script inside of a pre-existing script code/ Script code will always start with <script> and ends with </script>. You can find the script under "Section 1: AmmoSeek Instructions - (1) Clicks Tracking" above.
If you need or would like assistance with this step, please submit a ticket at help.coreware.com or simply create a ticket by emailing support@coreware.com and we would be happy to assist you with this.
For this step, you will need to create or edit the fragment with the fragment code "RETAIL_STORE_ORDER_RESPONSE." This can be created fresh from within Website > Fragments or you can go to Orders > Setup, go to the fragments tab, search "order response" and select from the dropdown to customize that fragment and then click save in the top left corner.
If this fragment is already created, it will let you know that it is already created and give you a link to "Click here to edit it."
Once you have the fragment open for editing, you will need to paste in the script provided by AmmoSeek instructions under "Section 1: AmmoSeek Instructions - (2) Sales Tracking" and then edit it as follows with the underlined parameters.
sale.setTotalCost(orderData.orderTotal);
sale.setOrderID(orderData.orderId);
Important: Do NOT alter the fragment code or these analytics will not work.
SECTION 3: CONCLUSION
At this point, everything should be set up and you can report back to AmmoSeek that they can conduct their testing as requested by them in their documentation.
If you experience any issues along the way, we would be happy to take a look. Simply submit a ticket at help.coreware.com or you can also create a ticket by emailing support@coreware.com.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article