Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Prestashop, Smarty 3, google adwords conversion code

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
patrmich
Smarty Rookie


Joined: 13 Nov 2012
Posts: 7

PostPosted: Tue Nov 13, 2012 9:32 am    Post subject: Prestashop, Smarty 3, google adwords conversion code Reply with quote

Hi,

I would like to count the adwords conversion in my web shop built with Prestashop using Smarty 3

In this purpose it is necessary to add the here below code to the landing page.

So such code must be added to the template file called order-confirmation.tpl.

I tried to add the Google code to my order-confirmation.tpl., but no conversion was taken into account.

I wonder whether any tag must be put anywhere in the Google code.

I thank you in advance for any help in this matter.

Kind Regards,

Patrick

Code given by my Google adwords account :

<!-- Google Code for Purchase/Sale Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = xxxxxxxx;
var google_conversion_language = "en";
var google_conversion_format = "1";
var google_conversion_color = "666666";
var google_conversion_label = "aaaaaaaaaa";
var google_conversion_value = 0;
/* ]]> */
</script>
<script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="http://www.googleadservices.com/pagead/conversion/ xxxxxxxx/?value=0&amp;label=aaaaaaaaaa&amp;guid=ON&amp;script=0"/>
</div>
</noscript>
Back to top
View user's profile Send private message
cbj4074
Smarty Regular


Joined: 10 Nov 2011
Posts: 49

PostPosted: Tue Nov 13, 2012 7:30 pm    Post subject: Reply with quote

Well, did you replace your true Adwords ID with "xxxxxxxx" for privacy reasons? Or does your template file say "xxxxxxxx", literally?
Back to top
View user's profile Send private message
patrmich
Smarty Rookie


Joined: 13 Nov 2012
Posts: 7

PostPosted: Thu Nov 15, 2012 9:25 pm    Post subject: Reply with quote

Hi,

Of course, I did replace my Adwords ID with "xxxxxxxx" for privacy reasons.
The real ID was put in my order-confirmation.tpl file.

Kind Regards,

Patrick
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP