Zen Cart Logo
Forums / General Questions / How do I put Code from Google Remarketing on every page of site?

How do I put Code from Google Remarketing on every page of site?

Views: 1,840

Results 1 to 6 of 6
14 Mar 2013, 10:12 PM
#1
amyleew avatar

amyleew

Zen Follower

Join Date:
Jul 2009
Posts:
159
Plugin Contributions:
0

How do I put Code from Google Remarketing on every page of site?

I have been asked by the company that does my adwords management to put a code from google remarketing on every page of my site.

How do I go about doing this? With google analytics it was just a plugin that made it easy and fast. By every page, do they mean every individual product page as well? I have over 3,000 products in my store.

15 Mar 2013, 12:13 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I put Code from Google Remarketing on every page of site?

I have been asked by the company that does my adwords management to put a code from google remarketing on every page of my site.
Just add the code to a copy for your template of tpl_main_page.php

Zen-Venom Get Bitten

17 Mar 2013, 9:14 PM
#3
amyleew avatar

amyleew

Zen Follower

Join Date:
Jul 2009
Posts:
159
Plugin Contributions:
0

Re: How do I put Code from Google Remarketing on every page of site?

Will that put it on every page of the site or just the homepage?

18 Mar 2013, 1:24 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I put Code from Google Remarketing on every page of site?

amyleew:

Will that put it on every page of the site or just the homepage?
Every page

Zen-Venom Get Bitten

18 Mar 2013, 9:36 PM
#5
amyleew avatar

amyleew

Zen Follower

Join Date:
Jul 2009
Posts:
159
Plugin Contributions:
0

Re: How do I put Code from Google Remarketing on every page of site?

I'm so sorry but I searched developers tool kit for tpl_main_page.php and there are heaps of them. I don't know which one to put it on.

Most say public_html/includes/templates/template_default/ not my actual template name.

Only one has my current template name instead of template_default but that has popup image in there too in public_html/includes/templates/my actual template/popup_image_additional/tpl_main_page.php

18 Mar 2013, 9:39 PM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: How do I put Code from Google Remarketing on every page of site?

/includes/templates/YOUR_CUSTOM-TEMPLATE/common/tpl_main_page.php

If there is no tpl_main_page.php in that folder, COPY one from:

/includes/templates/template_default/common/

Then open that copy for editing using a plain text editor.

Insert your code just above the </body> tag.

20 years a Zencart User