pegaso1 Posted January 27 Posted January 27 Salve io non esperto ma sto impazzendo su prestashop non mi si scarica l'aggiornamento, anche con moduli a pagamento, il sito lento ma vabbe' , il problema più grande al momento è che non riesco a inserire il tag di google merchant da inserire all'interno del codice. Il discorso è dove si trova il codice? sto impazzendo qualcuno può aiutarmi ? Share this post Link to post Share on other sites More sharing options...
@diegofrancesco Posted January 28 Posted January 28 Ciao, ma quale tag di Google Merchant Center dovresti inserire nel sito? Forse intendi Google Tag Manager? Quando crei il tag su Google ti viene indicato dove devi inserirlo, nel caso di GTM nel file head.tpl verosimilmente. Share this post Link to post Share on other sites More sharing options...
Mediacom87 Posted January 28 Posted January 28 Salve, Personalmente, preferisco sempre utilizzare l'opzione HTML proposta da Google, ovvero depositare alla radice del sito, tramite FTP, un file HTML fornito da Google. In questo modo è più facile identificarlo piuttosto che incollarlo nel codice sorgente del sito, che dovrà visualizzarlo su tutte le pagine. Share this post Link to post Share on other sites More sharing options...
pegaso1 Posted January 28 Posted January 28 No si tag merchant comunque dove posso andare per modificare il codice e inserire i vari tag ? Share this post Link to post Share on other sites More sharing options...
Leolautzu Posted February 22 Posted February 22 Ciao a tutti, sto usando prestashop e ho bisogno di inserire un tag google solo in una pagina del mio tema. La pagina in questione è quella del riepilogo degli acquisti. Dal back office non ho la possibilità di modificare la pagina né di inserire il tag html di google. Il tema che utilizzo è Alysum. Prestashop 1.7.8.2. Ho provato in passato a inserire il tag nell'intera testata del sito ma non calcola bene le conversioni. Qualcuno può aiutarmi? Share this post Link to post Share on other sites More sharing options...
@diegofrancesco Posted February 22 Posted February 22 1 hour ago, Leolautzu said: Ciao a tutti, sto usando prestashop e ho bisogno di inserire un tag google solo in una pagina del mio tema. La pagina in questione è quella del riepilogo degli acquisti. Dal back office non ho la possibilità di modificare la pagina né di inserire il tag html di google. Il tema che utilizzo è Alysum. Prestashop 1.7.8.2. Ho provato in passato a inserire il tag nell'intera testata del sito ma non calcola bene le conversioni. Qualcuno può aiutarmi? Ciao, devi inserire lo script di Google tramite FTP nel file specifico di riepilogo dell'acquisto, immagino ti riferisci alla pagina di conferma ordine. Non puoi farlo da back office. Share this post Link to post Share on other sites More sharing options...
Leolautzu Posted February 22 Posted February 22 (edited) Okay, grazie nel mio caso sarà un file tpl? (metto le immagini del FTP perchè faccio molta fatica a individuare il file giusto) Edited February 22 by Leolautzu (see edit history) Share this post Link to post Share on other sites More sharing options...
@diegofrancesco Posted February 22 Posted February 22 Sì è un file .tpl e dovrebbe essere order-confirmation.tpl Share this post Link to post Share on other sites More sharing options...
Leolautzu Posted February 22 Posted February 22 Posso mettere il tag ovunque o devo inserirlo in punto preciso? allego l'interno del file {extends file='page.tpl'} {block name='page_content_container' prepend} <section id="content-hook_order_confirmation" class="card"> <div class="card-block"> <div class="row"> <div class="col-md-12"> <div class="success-box"> {block name='order_confirmation_header'} <h3 class="h1 card-title"> {l s='Your order is confirmed' d='Shop.Theme.Checkout'} </h3> {/block} <p> {l s='An email has been sent to your mail address %email%.' d='Shop.Theme.Checkout' sprintf=['%email%' => $customer.email]} {if $order.details.invoice_url} {* [1][/1] is for a HTML tag. *} {l s='You can also [1]download your invoice[/1]' d='Shop.Theme.Checkout' sprintf=[ '[1]' => "<a href='{$order.details.invoice_url}'>", '[/1]' => "</a>" ] } {/if} </p> {block name='hook_order_confirmation'} {$HOOK_ORDER_CONFIRMATION nofilter} {/block} </div> </div> </div> </div> </section> {/block} {block name='page_content_container'} <section id="content" class="page-content page-order-confirmation card"> <div class="card-block"> <div class="row"> {block name='order_confirmation_table'} {include file='checkout/_partials/order-confirmation-table.tpl' products=$order.products subtotals=$order.subtotals totals=$order.totals labels=$order.labels add_product_link=false } {/block} {block name='order_details'} <div id="order-details" class="col-md-4"> <div class="order-details-wrapper"> <div class="order-details-space"> <h3 class="h3 card-title">{l s='Order details' d='Shop.Theme.Checkout'}:</h3> <ul> <li>{l s='Order reference: %reference%' d='Shop.Theme.Checkout' sprintf=['%reference%' => $order.details.reference]}</li> <li>{l s='Payment method: %method%' d='Shop.Theme.Checkout' sprintf=['%method%' => $order.details.payment]}</li> {if !$order.details.is_virtual} <li> {l s='Shipping method: %method%' d='Shop.Theme.Checkout' sprintf=['%method%' => $order.carrier.name]} </li> {/if} <li>{l s='Transit time: %method%' d='Shop.Theme.Checkout' sprintf=['%method%' => $order.carrier.delay]} </li> </ul> </div> </div> </div> {/block} </div> </div> </section> {block name='hook_payment_return'} {if ! empty($HOOK_PAYMENT_RETURN)} <section id="content-hook_payment_return" class="card definition-list"> <div class="card-block"> <div class="row"> <div class="col-md-12"> {$HOOK_PAYMENT_RETURN nofilter} </div> </div> </div> </section> {/if} {/block} {block name='customer_registration_form'} {if $customer.is_guest} <div id="registration-form" class="card"> <div class="card-block"> <h4 class="h4">{l s='Save time on your next order, sign up now' d='Shop.Theme.Checkout'}</h4> {render file='customer/_partials/customer-form.tpl' ui=$register_form} </div> </div> {/if} {/block} {block name='hook_order_confirmation_1'} {hook h='displayOrderConfirmation1'} {/block} {block name='hook_order_confirmation_2'} <section id="content-hook-order-confirmation-footer"> {hook h='displayOrderConfirmation2'} </section> {/block} {/block} Share this post Link to post Share on other sites More sharing options...
@diegofrancesco Posted February 22 Posted February 22 Te lo specifica Google dove vuole che venga inserito. Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now