Page 1 of 3 123 LastLast
Results 1 to 10 of 26
  1. #1
    Join Date
    Jan 2008
    Posts
    75
    Plugin Contributions
    0

    Default Google Dynamic Remarketing [Support Thread]

    anyone setup google dynamic remarketing and care to share how they implemented it?


    EDIT: There's a plugin: https://www.zen-cart.com/downloads.php?do=file&id=1883

  2. #2

    Default Re: 1.39h google dynamic remarketing

    Hi,

    I did it once.
    I simply added a remarketing pixel to the common/tpl_footer.php file on my template
    and another remarketing pixel to the templates/tpl_checkout_success_default.php file
    to untarget people who converted.

  3. #3
    Join Date
    Jan 2008
    Posts
    75
    Plugin Contributions
    0

    Default Re: 1.39h google dynamic remarketing

    that seems to be standard remarketing vs. the new since june dynamic one

  4. #4
    Join Date
    Jan 2008
    Posts
    75
    Plugin Contributions
    0

    Default Re: 1.39h google dynamic remarketing

    this is the code,


    Code:
     <!-- Google Code for Remarketing Tag -->
    <!--------------------------------------------------
    Remarketing tags may not be associated with personally identifiable information or placed on pages related to sensitive categories. See more information and instructions on how to setup the tag on: http://google.com/ads/remarketingsetup
    --------------------------------------------------->
    <script type="text/javascript">
    var google_tag_params = {
    ecomm_prodid: 'REPLACE_WITH_VALUE',
    ecomm_pagetype: 'REPLACE_WITH_VALUE',
    ecomm_totalvalue: 'REPLACE_WITH_VALUE',
    };
    </script>
    <script type="text/javascript">
    /* <![CDATA[ */
    var google_conversion_id = xxxxxxx;
    var google_custom_params = window.google_tag_params;
    var google_remarketing_only = true;
    /* ]]> */
    </script>
    <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
    </script>
    <noscript>
    <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/1070392677/?value=0&amp;guid=ON&amp;script=0"/>
    </div>
    </noscript>
    trying to figure out what files to modify since variables vary due to page type

    The goal is to deploy the following tags and corresponding parameters:
    Page type Remarketing tag Conversion Tracking tag
    Home ecomm_pagetype=home
    ecomm_prodid=
    ecomm_totalvalue= Not firing
    Category ecomm_pagetype=category
    ecomm_prodid=
    ecomm_totalvalue= Not firing
    Product ecomm_pagetype=product
    ecomm_prodid=
    ecomm_totalvalue= Not firing
    Cart ecomm_pagetype=cart
    ecomm_prodid=
    ecomm_totalvalue= Not firing
    Purchase Confirmation ecomm_pagetype=purchase
    ecomm_prodid=
    ecomm_totalvalue= value
    All other pages ecomm_pagetype=siteview
    ecomm_prodid=
    ecomm_totalvalue= Not firing

  5. #5
    Join Date
    Jan 2007
    Posts
    92
    Plugin Contributions
    2

    Default Problems with Google Dynamic Remarketing Mod: ecomm_prodid

    I installed the Google Dynamic Remarketing Mod https://www.zen-cart.com/downloads.php?do=file&id=1883
    It does not seem to be picking up the products_id and putting them in ecomm_prodid
    Also the value seems a bit hit and miss.

  6. #6
    Join Date
    Jun 2008
    Location
    UK
    Posts
    146
    Plugin Contributions
    0

    Default Re: Google Dynamic Remarketing Mod

    I too have downloaded the Google Dynamic Remarketing mod and it isnt filling ecomm_prodid.

    Maybe because I now realise that I have v1.3.9h and the module is for v1.5.0

    Everything is fine with the coding apart from not picking up the product id.

    Is it as simple as a one line piece of coding to pick up the product id ?

    Can anyone help with a piece of coding ?

  7. #7
    Join Date
    Jun 2008
    Location
    UK
    Posts
    146
    Plugin Contributions
    0

    Default Re: Google Dynamic Remarketing Mod

    solved this:- I changed this line in the Google Dynamic Remarketing Mod ...

    From this ... ecomm_prodid: " . $jsecomm_prodid . ",

    to this ecomm_prodid: \"" . $_GET['products_id'] . "\",

    I have no understanding of php coding but came up with this and it works ok.

  8. #8
    Join Date
    Jan 2007
    Posts
    92
    Plugin Contributions
    2

    Default Re: Google Dynamic Remarketing Mod

    Thanks it is a step it the right direction. Just need to get it to pick up the model numbers of items in the cart now.

  9. #9
    Join Date
    Jul 2012
    Posts
    15,653
    Plugin Contributions
    17

    Default Re: Google Dynamic Remarketing Mod

    Quote Originally Posted by toyseller View Post
    solved this:- I changed this line in the Google Dynamic Remarketing Mod ...

    From this ... ecomm_prodid: " . $jsecomm_prodid . ",

    to this ecomm_prodid: \"" . $_GET['products_id'] . "\",

    I have no understanding of php coding but came up with this and it works ok.
    Caution should be used when making changes such as this where the $_GET parameter is brought inline with other code. It should be sanitized first. Under this method, additional code could be provided to the browser uri that could cause the software to crash and expose information about the system or software.

    An almost better option would be to upgrade to the latest ZC which is also more secure in general.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #10
    Join Date
    Jan 2009
    Posts
    25
    Plugin Contributions
    0

    cart error Re: Google Dynamic Remarketing Mod

    Did anybody get any joy on this?

    I'm trying to use the same module and it is only managing to correctly fire the 'page type' field, the other 2 ('page id' and 'total value') do not work at all.

    If I use the code directly from Google (below), what values do I need to replace to get Zen Cart to fill out for me?

    PHP Code:
    <script type="text/javascript">
    var 
    google_tag_params = {
    ecomm_prodid'REPLACE_WITH_VALUE',
    ecomm_pagetype'REPLACE_WITH_VALUE',
    ecomm_totalvalue'REPLACE_WITH_VALUE',
    };
    </script>
    <script type="text/javascript">
    /* <![CDATA[ */
    var google_conversion_id = *********;
    var google_custom_params = window.google_tag_params;
    var google_remarketing_only = true;
    /* ]]> */
    </script>
    <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
    </script>
    <noscript>
    <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/*********/?value=0&amp;guid=ON&amp;script=0"/>
    </div>
    </noscript> 
    If I can figure out what code to replace I'm happy to add this directly to the product info page myself and not use the module at all. Searching the forums doesn't give me any clues at all.

    I did try the GET parameter suggestion from this thread and that does indeed work, but the last poster mentioned its not 100% secure so I've not used it.

    Cheers,
    dp

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v150 Support Thread for Google reCAPTCHA plugin
    By David Allen in forum All Other Contributions/Addons
    Replies: 511
    Last Post: 10 Apr 2021, 12:02 PM
  2. Dynamic Filter [Support Thread]
    By davowave in forum Addon Sideboxes
    Replies: 799
    Last Post: 27 Jan 2021, 01:18 PM
  3. v150 Google Merchant Center Feeder for ZC v1.5.x [Support Thread]
    By DivaVocals in forum Addon Admin Tools
    Replies: 475
    Last Post: 5 Jan 2021, 08:18 PM
  4. Welcome, Google Searcher [Support Thread]
    By swguy in forum All Other Contributions/Addons
    Replies: 24
    Last Post: 8 Jan 2017, 04:47 PM
  5. Google Base Feeder Support Thread [OLD]
    By numinix in forum All Other Contributions/Addons
    Replies: 3562
    Last Post: 2 Apr 2012, 06:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR