[Skip to main content](#vessel-content)

#   How to integrate third party tracking system

##

- **[mikkelbas](/forum/user/6895-mikkelbas "View mikkelbas's Profile")**
- [![mikkelbas's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6895-mikkelbas "View mikkelbas's Profile")
- [ Offline](/forum/user/6895-mikkelbas)

Less More

- Posts: 1
- Thank you received: 0
-
-

14 years 6 months ago [\#49678](#49678) by [mikkelbas](/forum/user/6895-mikkelbas "View mikkelbas's Profile")  Replied by *[mikkelbas](/forum/user/6895-mikkelbas "View mikkelbas's Profile")* on topic *[Re: How to integrate third party tracking system](/forum/4-how-to/10244-how-to-integrate-third-party-tracking-system?start=40#49678 "We are integrating our affiliate program with Shareasale. They gave us a pixel code that we need to place on our shopping cart. Below is the code:  We need to populate it with dynamic variable for: AMOUNTOFSALE  TRACKINGNUMBER  TYPEOFTRANSACTION  Can you help us identify the variable codes?")*

Hi,

I have read this topic again and again, but i think i miss something.

Which file should i put my img code in?

Can i just use this code in the file or:

$app =&amp; JFactory::getApplication();
$order_id = $app-&gt;getUserState(HIKASHOP_COMPONENT.'.order_id');
$orderClass = hikashop::get('class.order');
$order = $orderClass-&gt;get($order_id);
echo '&lt;img src="[ www.partner-ads.com/dk/leadtrack.php?pro...price\_value\_with\_tax](http://www.partner-ads.com/dk/leadtrack.php?programid=3120&type=salg&ordrenummer=order_id&varenummer=x&antal=1&omprsalg=price_value_with_tax)" width=1 height=1&gt;';

Hope someone can help, because i really not understand this.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEwMjQ0LWhvdy10by1pbnRlZ3JhdGUtdGhpcmQtcGFydHktdHJhY2tpbmctc3lzdGVtP2xhbmc9ZW4mc3RhcnQ9NDAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

14 years 6 months ago [\#49756](#49756) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to integrate third party tracking system](/forum/4-how-to/10244-how-to-integrate-third-party-tracking-system?start=40#49756 "We are integrating our affiliate program with Shareasale. They gave us a pixel code that we need to place on our shopping cart. Below is the code:  We need to populate it with dynamic variable for: AMOUNTOFSALE  TRACKINGNUMBER  TYPEOFTRANSACTION  Can you help us identify the variable codes?")*

Yu should put it in the "end" file of the view "checkout" via the menu Display-&gt;Views. After the rest of the code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEwMjQ0LWhvdy10by1pbnRlZ3JhdGUtdGhpcmQtcGFydHktdHJhY2tpbmctc3lzdGVtP2xhbmc9ZW4mc3RhcnQ9NDAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.041 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
