Google Remarketing
- xplosi0n1
- Lieutenant, Jr. Grade (LT JG)
- Posts: 30
- Joined: Mon Nov 30, 2009 10:54 am
- Location: Dayton, OH
- Contact:
Google Remarketing
Hello All,
Any ideas on how to get this code on every page of the website, ideally right before the </body> tag?
<!-- 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">
/* <![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/1069551680/?value=0&guid=ON&script=0"/>
</div>
</noscript>
Any ideas on how to get this code on every page of the website, ideally right before the </body> tag?
<!-- 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">
/* <![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/1069551680/?value=0&guid=ON&script=0"/>
</div>
</noscript>
Thanks,
Mike
CheapBowlingBalls.com
3204 Woodman Drive
Kettering, OH 45420
937.559.1541
mikeh@cheapbowlingballs.com
www.cheapbowlingballs.com
Mike
CheapBowlingBalls.com
3204 Woodman Drive
Kettering, OH 45420
937.559.1541
mikeh@cheapbowlingballs.com
www.cheapbowlingballs.com
- Shopping Cart Admin
- AbleCommerce Admin
- Posts: 3055
- Joined: Mon Dec 01, 2003 8:41 pm
- Location: Vancouver, WA
- Contact:
Re: Google Remarketing
Hi Mike,
I put ours into the /conlib/StoreFooter.ascxpage, so it's included everywhere.
I put ours into the /conlib/StoreFooter.ascxpage, so it's included everywhere.
Re: Google Remarketing
Also works well in the /layouts/base.master and /layouts/fixed/base.master files.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: Google Remarketing
What about the custom parameters?
To get full advantage of remarketing, you really need to use the full code, but when I do, my site breaks.
Code: Select all
<script type="text/javascript">
var google_tag_params = {
ecomm_prodid: '<%=ProductId%>',
ecomm_pagetype: 'product',
ecomm_totalvalue: '<%=Price%>',
};
</script>
Contractor's Solutions
www. contractors-solutions.net
www. contractors-solutions.net
Re: Google Remarketing
The code you've shown (with custom parameters) will only work as long as those custom parameters are defined as public properties in the user control where you add that code. And then you need code in the code-behind file to populate those properties during page_load().
Keep in mind, google remarketing works with more than just the product page. So an accurate implementation of remarketing would require more than just populating product id and price on product pages.
I believe Web2Market sells a user control that handles the Google ReMarketing code injections for you for all the necessary pages. You might want to check with Judy @ Web2Market about implementing it on your website.
Keep in mind, google remarketing works with more than just the product page. So an accurate implementation of remarketing would require more than just populating product id and price on product pages.
I believe Web2Market sells a user control that handles the Google ReMarketing code injections for you for all the necessary pages. You might want to check with Judy @ Web2Market about implementing it on your website.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
- xplosi0n1
- Lieutenant, Jr. Grade (LT JG)
- Posts: 30
- Joined: Mon Nov 30, 2009 10:54 am
- Location: Dayton, OH
- Contact:
Re: Google Remarketing
I stuck the code last week in the storefooter.ascx all the way at the bottom. I didn't do anything special with it but paste it in their cause I'm not a coder. Google Tag Assistant is showing that the code is on every page but it is telling me that: Code should be placed directly above the closing <body> tag. The information is not being transmitted to our AdWords account. We are getting this error from AdWords: We haven't detected the AdWords tag on your website or in your app.
Can you take a look at the code below and let me know If I need to alter it anyway?
Thanks for the help!
<%@ Control Language="C#" AutoEventWireup="True" CodeFile="StoreFooter.ascx.cs" Inherits="AbleCommerce.ConLib.StoreFooter" %>
<%--
<conlib>
<summary>Displays the standard store footer.</summary>
</conlib>
--%>
<%@ Register src="~/ConLib/GoogleAnalyticsWidget.ascx" tagname="GoogleAnalyticsWidget" tagprefix="uc" %>
<%@ Register src="~/ConLib/Custom/CategoryDisplayFooter.ascx" tagname="FootMenu" tagprefix="uc" %>
<%@ Register src="~/ConLib/Custom/BottomFoot.ascx" tagname="BottomFoot" tagprefix="uc" %>
<div id="storeFooter">
<div id="footerTop">
<div class="content">
<div id="footermenu">
<uc:FootMenu ID="FootMenu" runat="server" />
</div>
</div>
</div>
<%-- <div id="footerMiddle">
<div class="content">
<div class="shortcuts">
<%-- <asp:HyperLink ID="AdminLink" runat="server" NavigateUrl="~/Admin/Default.aspx" CssClass="admin" Text="Admin" />
<asp:HyperLink ID="BasketLink" runat="server" NavigateUrl="~/Basket.aspx" class="basket" Text="Cart" />
<asp:HyperLink ID="WishlistLink" runat="server" NavigateUrl="~/Members/MyWishlist.aspx" class="wishlist" Text="Wishlist" />
<asp:HyperLink ID="AccountLink" runat="server" NavigateUrl="~/Members/MyAccount.aspx" class="acct" Text="Account" />
<asp:LoginView ID="HeadLoginView" runat="server" EnableViewState="false">
<AnonymousTemplate>
<asp:HyperLink ID="LoginLink" runat="server" NavigateUrl="~/Login.aspx" class="login" Text="Login" />
</AnonymousTemplate>
<LoggedInTemplate>
<asp:HyperLink ID="LogoutLink" runat="server" NavigateUrl="~/Logout.aspx" class="login" Text="Logout" />
</LoggedInTemplate>
</asp:LoginView>
</div>
</div>
</div>--%>
<div id="footerBottom">
<div class="content">
<uc:BottomFoot ID="bfoot" runat="server" />
<uc:GoogleAnalyticsWidget ID="GoogleAnalyticsWidget1" runat="server" />
</div>
</div>
<asp:Panel ID="MobileLinkPanel" runat="server" Visible="false" CssClass="mobileLinkPanel">
<asp:HyperLink ID="MobileStoreLink" runat="server" NavigateUrl="#" Text="Go to Mobile Store" />
</asp:Panel>
<!-- 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">
/* <![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/1069551680/?value=0&guid=ON&script=0"/>
</div>
</noscript>
</div>
Can you take a look at the code below and let me know If I need to alter it anyway?
Thanks for the help!
<%@ Control Language="C#" AutoEventWireup="True" CodeFile="StoreFooter.ascx.cs" Inherits="AbleCommerce.ConLib.StoreFooter" %>
<%--
<conlib>
<summary>Displays the standard store footer.</summary>
</conlib>
--%>
<%@ Register src="~/ConLib/GoogleAnalyticsWidget.ascx" tagname="GoogleAnalyticsWidget" tagprefix="uc" %>
<%@ Register src="~/ConLib/Custom/CategoryDisplayFooter.ascx" tagname="FootMenu" tagprefix="uc" %>
<%@ Register src="~/ConLib/Custom/BottomFoot.ascx" tagname="BottomFoot" tagprefix="uc" %>
<div id="storeFooter">
<div id="footerTop">
<div class="content">
<div id="footermenu">
<uc:FootMenu ID="FootMenu" runat="server" />
</div>
</div>
</div>
<%-- <div id="footerMiddle">
<div class="content">
<div class="shortcuts">
<%-- <asp:HyperLink ID="AdminLink" runat="server" NavigateUrl="~/Admin/Default.aspx" CssClass="admin" Text="Admin" />
<asp:HyperLink ID="BasketLink" runat="server" NavigateUrl="~/Basket.aspx" class="basket" Text="Cart" />
<asp:HyperLink ID="WishlistLink" runat="server" NavigateUrl="~/Members/MyWishlist.aspx" class="wishlist" Text="Wishlist" />
<asp:HyperLink ID="AccountLink" runat="server" NavigateUrl="~/Members/MyAccount.aspx" class="acct" Text="Account" />
<asp:LoginView ID="HeadLoginView" runat="server" EnableViewState="false">
<AnonymousTemplate>
<asp:HyperLink ID="LoginLink" runat="server" NavigateUrl="~/Login.aspx" class="login" Text="Login" />
</AnonymousTemplate>
<LoggedInTemplate>
<asp:HyperLink ID="LogoutLink" runat="server" NavigateUrl="~/Logout.aspx" class="login" Text="Logout" />
</LoggedInTemplate>
</asp:LoginView>
</div>
</div>
</div>--%>
<div id="footerBottom">
<div class="content">
<uc:BottomFoot ID="bfoot" runat="server" />
<uc:GoogleAnalyticsWidget ID="GoogleAnalyticsWidget1" runat="server" />
</div>
</div>
<asp:Panel ID="MobileLinkPanel" runat="server" Visible="false" CssClass="mobileLinkPanel">
<asp:HyperLink ID="MobileStoreLink" runat="server" NavigateUrl="#" Text="Go to Mobile Store" />
</asp:Panel>
<!-- 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">
/* <![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/1069551680/?value=0&guid=ON&script=0"/>
</div>
</noscript>
</div>
Thanks,
Mike
CheapBowlingBalls.com
3204 Woodman Drive
Kettering, OH 45420
937.559.1541
mikeh@cheapbowlingballs.com
www.cheapbowlingballs.com
Mike
CheapBowlingBalls.com
3204 Woodman Drive
Kettering, OH 45420
937.559.1541
mikeh@cheapbowlingballs.com
www.cheapbowlingballs.com
Re: Google Remarketing
AdWords code is different than the remarketing code, isn't it??
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
- xplosi0n1
- Lieutenant, Jr. Grade (LT JG)
- Posts: 30
- Joined: Mon Nov 30, 2009 10:54 am
- Location: Dayton, OH
- Contact:
Re: Google Remarketing
Can anyone help me to tell if im doing something wrong with this code?
I stuck the code last week in the storefooter.ascx all the way at the bottom. I didn't do anything special with it but paste it in their cause I'm not a coder. Google Tag Assistant is showing that the code is on every page but it is telling me that: Code should be placed directly above the closing <body> tag. The information is not being transmitted to our AdWords account. We are getting this error from AdWords: We haven't detected the AdWords tag on your website or in your app.
Can you take a look at the code below and let me know If I need to alter it anyway?
Thanks for the help!
<%@ Control Language="C#" AutoEventWireup="True" CodeFile="StoreFooter.ascx.cs" Inherits="AbleCommerce.ConLib.StoreFooter" %>
<%--
<conlib>
<summary>Displays the standard store footer.</summary>
</conlib>
--%>
<%@ Register src="~/ConLib/GoogleAnalyticsWidget.ascx" tagname="GoogleAnalyticsWidget" tagprefix="uc" %>
<%@ Register src="~/ConLib/Custom/CategoryDisplayFooter.ascx" tagname="FootMenu" tagprefix="uc" %>
<%@ Register src="~/ConLib/Custom/BottomFoot.ascx" tagname="BottomFoot" tagprefix="uc" %>
<div id="storeFooter">
<div id="footerTop">
<div class="content">
<div id="footermenu">
<uc:FootMenu ID="FootMenu" runat="server" />
</div>
</div>
</div>
<%-- <div id="footerMiddle">
<div class="content">
<div class="shortcuts">
<%-- <asp:HyperLink ID="AdminLink" runat="server" NavigateUrl="~/Admin/Default.aspx" CssClass="admin" Text="Admin" />
<asp:HyperLink ID="BasketLink" runat="server" NavigateUrl="~/Basket.aspx" class="basket" Text="Cart" />
<asp:HyperLink ID="WishlistLink" runat="server" NavigateUrl="~/Members/MyWishlist.aspx" class="wishlist" Text="Wishlist" />
<asp:HyperLink ID="AccountLink" runat="server" NavigateUrl="~/Members/MyAccount.aspx" class="acct" Text="Account" />
<asp:LoginView ID="HeadLoginView" runat="server" EnableViewState="false">
<AnonymousTemplate>
<asp:HyperLink ID="LoginLink" runat="server" NavigateUrl="~/Login.aspx" class="login" Text="Login" />
</AnonymousTemplate>
<LoggedInTemplate>
<asp:HyperLink ID="LogoutLink" runat="server" NavigateUrl="~/Logout.aspx" class="login" Text="Logout" />
</LoggedInTemplate>
</asp:LoginView>
</div>
</div>
</div>--%>
<div id="footerBottom">
<div class="content">
<uc:BottomFoot ID="bfoot" runat="server" />
<uc:GoogleAnalyticsWidget ID="GoogleAnalyticsWidget1" runat="server" />
</div>
</div>
<asp:Panel ID="MobileLinkPanel" runat="server" Visible="false" CssClass="mobileLinkPanel">
<asp:HyperLink ID="MobileStoreLink" runat="server" NavigateUrl="#" Text="Go to Mobile Store" />
</asp:Panel>
<!-- 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">
/* <![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/1069551680/?value=0&guid=ON&script=0"/>
</div>
</noscript>
</div>
I stuck the code last week in the storefooter.ascx all the way at the bottom. I didn't do anything special with it but paste it in their cause I'm not a coder. Google Tag Assistant is showing that the code is on every page but it is telling me that: Code should be placed directly above the closing <body> tag. The information is not being transmitted to our AdWords account. We are getting this error from AdWords: We haven't detected the AdWords tag on your website or in your app.
Can you take a look at the code below and let me know If I need to alter it anyway?
Thanks for the help!
<%@ Control Language="C#" AutoEventWireup="True" CodeFile="StoreFooter.ascx.cs" Inherits="AbleCommerce.ConLib.StoreFooter" %>
<%--
<conlib>
<summary>Displays the standard store footer.</summary>
</conlib>
--%>
<%@ Register src="~/ConLib/GoogleAnalyticsWidget.ascx" tagname="GoogleAnalyticsWidget" tagprefix="uc" %>
<%@ Register src="~/ConLib/Custom/CategoryDisplayFooter.ascx" tagname="FootMenu" tagprefix="uc" %>
<%@ Register src="~/ConLib/Custom/BottomFoot.ascx" tagname="BottomFoot" tagprefix="uc" %>
<div id="storeFooter">
<div id="footerTop">
<div class="content">
<div id="footermenu">
<uc:FootMenu ID="FootMenu" runat="server" />
</div>
</div>
</div>
<%-- <div id="footerMiddle">
<div class="content">
<div class="shortcuts">
<%-- <asp:HyperLink ID="AdminLink" runat="server" NavigateUrl="~/Admin/Default.aspx" CssClass="admin" Text="Admin" />
<asp:HyperLink ID="BasketLink" runat="server" NavigateUrl="~/Basket.aspx" class="basket" Text="Cart" />
<asp:HyperLink ID="WishlistLink" runat="server" NavigateUrl="~/Members/MyWishlist.aspx" class="wishlist" Text="Wishlist" />
<asp:HyperLink ID="AccountLink" runat="server" NavigateUrl="~/Members/MyAccount.aspx" class="acct" Text="Account" />
<asp:LoginView ID="HeadLoginView" runat="server" EnableViewState="false">
<AnonymousTemplate>
<asp:HyperLink ID="LoginLink" runat="server" NavigateUrl="~/Login.aspx" class="login" Text="Login" />
</AnonymousTemplate>
<LoggedInTemplate>
<asp:HyperLink ID="LogoutLink" runat="server" NavigateUrl="~/Logout.aspx" class="login" Text="Logout" />
</LoggedInTemplate>
</asp:LoginView>
</div>
</div>
</div>--%>
<div id="footerBottom">
<div class="content">
<uc:BottomFoot ID="bfoot" runat="server" />
<uc:GoogleAnalyticsWidget ID="GoogleAnalyticsWidget1" runat="server" />
</div>
</div>
<asp:Panel ID="MobileLinkPanel" runat="server" Visible="false" CssClass="mobileLinkPanel">
<asp:HyperLink ID="MobileStoreLink" runat="server" NavigateUrl="#" Text="Go to Mobile Store" />
</asp:Panel>
<!-- 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">
/* <![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/1069551680/?value=0&guid=ON&script=0"/>
</div>
</noscript>
</div>
Thanks,
Mike
CheapBowlingBalls.com
3204 Woodman Drive
Kettering, OH 45420
937.559.1541
mikeh@cheapbowlingballs.com
www.cheapbowlingballs.com
Mike
CheapBowlingBalls.com
3204 Woodman Drive
Kettering, OH 45420
937.559.1541
mikeh@cheapbowlingballs.com
www.cheapbowlingballs.com
Re: Google Remarketing
Did you ever get it working? If so, does it work for Dynamic Ads?
I checked out Web2Markets plug in and it doesn't do dynamic ads. I don't hat the point of it is then.
I checked out Web2Markets plug in and it doesn't do dynamic ads. I don't hat the point of it is then.
Contractor's Solutions
www. contractors-solutions.net
www. contractors-solutions.net