# \[Gelöst\]  Adcell Belboon &amp; Co Tracking einbinden

**URL:** <https://forum.shopware.com/t/gelost-adcell-belboon-amp-co-tracking-einbinden/43837>\
**Category:** Programmierung\
**Created:** [18. Februar 2017 um 16:30 UTC](https://forum.shopware.com/t/gelost-adcell-belboon-amp-co-tracking-einbinden/43837 "2017-02-18T16:30:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Toric](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@Toric](https://forum.shopware.com/u/Toric)\
**Post date:** [18. Februar 2017 um 16:30 UTC](https://forum.shopware.com/t/gelost-adcell-belboon-amp-co-tracking-einbinden/43837/1 "2017-02-18T16:30:16Z")

</div>

Hallo,

auf der Suche nach der Einbindemöglichkeit des Trackingpixels der o.g. Anbieter OHNE Plugin, habe ich folgenden Beitrag von SW 3x gefunden:

[https://forum.shopware.com/discussion/4447/affiliate-programmcode-richtig-integrieren-aber-wo](https://forum.shopware.com/discussion/4447/affiliate-programmcode-richtig-integrieren-aber-wo)

Ist der noch aktuell, funktioniert das auch in der 5er Version?

LG

---

<div class="post-metadata">

**Author:** ![brettvormkopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/brettvormkopp/32/7788_2.png) [@brettvormkopp](https://forum.shopware.com/u/brettvormkopp)\
**Post date:** [18. Februar 2017 um 17:42 UTC](https://forum.shopware.com/t/gelost-adcell-belboon-amp-co-tracking-einbinden/43837/2 "2017-02-18T17:42:23Z")

</div>

Hi, also der Link gibt nicht so viel Infos preis. Ich kann dir sagen, dass bei Adcell im Conroller Checkout -\> Finish der Trackingpixel eingefügt weden soll. Darauf zu achten ist bei Adcell, dass zu jeder Kampagne eine neue ID erhältst = PID. Das macht den Einsatz eines Plugins sinnvoller, statt es in ein Template zu schreiben.&nbsp;

---

<div class="post-metadata">

**Author:** ![SmartStylez](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SmartStylez](https://forum.shopware.com/u/SmartStylez)\
**Post date:** [27. Dezember 2017 um 21:27 UTC](https://forum.shopware.com/t/gelost-adcell-belboon-amp-co-tracking-einbinden/43837/3 "2017-12-27T21:27:49Z")

</div>

Hierzu hätte ich auch noch&nbsp;zwei Fragen. Gehört der Inhalt in die finish.tpl oder in die finish:footer.tpl?

Ich habe dies nun wie folgt gelöst, erhalte aber diese Fehlermedlung. Kann den Fehler aber leider nicht finden. Was ist in Zeile 24 falsch?

Inhalt:

{\* Table footer \*}  
{include file=„frontend/checkout/finish\_footer.tpl“}

Hier beginnt der Code

{if $sAmountWithTax}  
{assign var=„sRealAmount“ value=$sAmountWithTax|replace:",":"."}  
{else}  
{assign var=„sRealAmount“ value=$sAmount|replace:",":"."}  
{/if}

{assign var=„sArticlePriceNettoNumeric“ value=($sRealAmount/119)\*100}  
{assign var=„sArticlePriceNetto“ value=$sArticlePriceNettoNumeric|number\_format:2:",":""}

[http://www.adcell.de/event.php?pid=](http://www.adcell.de/event.php?pid=)???&eventid=???&referenz={$sOrderNumber}&betrag= {$sArticlePriceNetto}" border=0 width=1 height=1\>

 
  
  
{/block}

Fehlermeldung:

SmartyCompilerException: Syntax Error in template „/homepages/?/?/htdocs/themes/Frontend/?/frontend/checkout/finish.tpl“&nbsp; on line 24 „{/block}“ unexpected closing tag in /engine/Library/Smarty/sysplugins/smarty\_internal\_templatecompilerbase.php:657 Stack trace:  
#0 /engine/Library/Smarty/sysplugins/smarty\_internal\_compilebase.php(170): Smarty\_Internal\_TemplateCompilerBase-\>trigger\_template\_error(‚unexpected clos…‘, 24)  
#1 /engine/Library/Smarty/sysplugins/smarty\_internal\_compile\_block.php(243): Smarty\_Internal\_CompileBase-\>closeTag(Object(Smarty\_Internal\_SmartyTemplateCompiler), Array)  
#2 /engine/Library/Smarty/sysplugins/smarty\_internal\_templatecompilerbase.php(475): Smarty\_Internal\_Compile\_Blockclose-\>compile(Array, Object(Smarty\_Internal\_SmartyTemplateCompiler), Array, NULL, NULL)  
#3 /engine/Library/Smarty/sysplugins/smarty\_internal\_templatecompilerbase.php(249): Smarty\_Internal\_TemplateCompilerBase-\>callTagCompiler(‚blockclose‘, Array, Array)  
#4 /engine/Library/Smarty/sysplugins/smarty\_internal\_templateparser.php(2493): Smarty\_Internal\_TemplateCompilerBase-\>compileTag(‚blockclose‘, Array)  
#5 /engine/Library/Smarty/sysplugins/smarty\_internal\_templateparser.php(3101): Smarty\_Internal\_Templateparser-\>yy\_r58()  
#6 /engine/Library/Smarty/sysplugins/smarty\_internal\_templateparser.php(3201): Smarty\_Internal\_Templateparser-\>yy\_reduce(58)  
#7 /engine/Library/Smarty/sysplugins/smarty\_internal\_smartytemplatecompiler.php(113): Smarty\_Internal\_Templateparser-\>doParse(0, 0)  
#8 /engine/Library/Smarty/sysplugins/smarty\_internal\_templatecompilerbase.php(192): Smarty\_Internal\_SmartyTemplateCompiler-\>doCompile(’{\* Table footer…’)  
#9 /engine/Library/Smarty/sysplugins/smarty\_internal\_template.php(187): Smarty\_Internal\_TemplateCompilerBase-\>compileTemplate(Object(Enlight\_Template\_Default))  
#10 /engine/Library/Smarty/sysplugins/smarty\_internal\_templatebase.php(155): Smarty\_Internal\_Template-\>compileTemplateSource()  
#11 /engine/Library/Enlight/View/Default.php(276): Smarty\_Internal\_TemplateBase-\>fetch()  
#12 /engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(216): Enlight\_View\_Default-\>render(Object(Enlight\_Template\_Default))  
#13 /engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(242): Enlight\_Controller\_Plugins\_ViewRenderer\_Bootstrap-\>renderTemplate(Object(Enlight\_Template\_Default))  
#14 /engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(136): Enlight\_Controller\_Plugins\_ViewRenderer\_Bootstrap-\>render()  
#15 /engine/Library/Enlight/Event/Handler/Default.php(91): Enlight\_Controller\_Plugins\_ViewRenderer\_Bootstrap-\>onPostDispatch(Object(Enlight\_Controller\_ActionEventArgs))  
#16 /engine/Library/Enlight/Event/EventManager.php(214): Enlight\_Event\_Handler\_Default-\>execute(Object(Enlight\_Controller\_ActionEventArgs))  
#17 /engine/Library/Enlight/Controller/Action.php(201): Enlight\_Event\_EventManager-\>notify(‚Enlight\_Control…‘, Object(Enlight\_Controller\_ActionEventArgs))  
#18 /engine/Library/Enlight/Controller/Dispatcher/Default.php(530): Enlight\_Controller\_Action-\>dispatch(‚finishAction‘)  
#19 /engine/Library/Enlight/Controller/Front.php(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp))  
#20 /engine/Shopware/Kernel.php(189): Enlight\_Controller\_Front-\>dispatch()  
#21 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(491): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
#22 /engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)  
#23 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(448): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true)  
#24 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(344): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>fetch(Object(Symfony\Component\HttpFoundation\Request), true)  
#25 /engine/Shopware/Components/HttpCache/AppCache.php(189): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>lookup(Object(Symfony\Component\HttpFoundation\Request), true)  
#26 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(210): Shopware\Components\HttpCache\AppCache-\>lookup(Object(Symfony\Component\HttpFoundation\Request), true)  
#27 /engine/Shopware/Components/HttpCache/AppCache.php(116): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
#28 /homepages/32/d624158528/htdocs/shopware.php(118): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request))  
#29 {main}

---

<div class="post-metadata">

**Author:** ![waldicom](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/waldicom/32/12881_2.png) [@waldicom](https://forum.shopware.com/u/waldicom)\
**Post date:** [28. Dezember 2017 um 08:40 UTC](https://forum.shopware.com/t/gelost-adcell-belboon-amp-co-tracking-einbinden/43837/4 "2017-12-28T08:40:45Z")

</div>

Wie in der Fehlemeldung steht, ist da ein&nbsp;{/block} zu viel. In Deinem Listing steht so ein „{/block}“ ganz unten. Probiere doch die Zeile zu löschen

---

<div class="post-metadata">

**Author:** ![SmartStylez](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SmartStylez](https://forum.shopware.com/u/SmartStylez)\
**Post date:** [28. Dezember 2017 um 09:09 UTC](https://forum.shopware.com/t/gelost-adcell-belboon-amp-co-tracking-einbinden/43837/5 "2017-12-28T09:09:18Z")

</div>

Okay, danke, werde ich versuchen. Das Retargeting funktioniert aber nur per Plugin oder ist das auch irgendwie manuell umsetzbar?

---

<div class="post-metadata">

**Author:** ![brettvormkopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/brettvormkopp/32/7788_2.png) [@brettvormkopp](https://forum.shopware.com/u/brettvormkopp)\
**Post date:** [28. Dezember 2017 um 13:48 UTC](https://forum.shopware.com/t/gelost-adcell-belboon-amp-co-tracking-einbinden/43837/6 "2017-12-28T13:48:04Z")

</div>

Es ist auch manuell umsetzbar. Für Adcell ohne Retargeting gibt es ein kostenloses Plugin (nicht im Store), das mit Retargeting/Indezierung 25,00€ (im Store)

---

<div class="post-metadata">

**Author:** ![inventivo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/inventivo/32/11397_2.png) [@inventivo](https://forum.shopware.com/u/inventivo)\
**Post date:** [18. März 2021 um 12:03 UTC](https://forum.shopware.com/t/gelost-adcell-belboon-amp-co-tracking-einbinden/43837/7 "2021-03-18T12:03:43Z")

</div>

Die Integration des Tracking Codes kann sicherlich auch manuell im Theme gemacht werden. Schöner finde ich persönlich die Umsetzung mit einem Plugin. Das kann man auch mal wieder deaktivieren und auch die Konfigurations-Werte lassen sich dann idealerweise in der Plugin-Konfiguration eingeben.

Für die Einbindung des Adcell oder des Belboon Sales Tracking gibt es ja auch inzwischen ganz gute Plugins im Store. Ob man sich dann manuell die Mühe machen möchte, ist schlussendlich Frage des persönlichen Gusto.
