Build with IDX Broker › Forums › IDX Broker Control Panel › Javascript in Control Panel › Google Dynamic Remarketing Tag- Needs to pull Listing ID, Price.
Tagged: google, javascript, Remarketing
-
AuthorPosts
-
-
So I have spent the better part of 3 hours on the phone with Google, trying to figure out why the Google Dynamic remarketing tag is not working. I have placed it everywhere and no luck. With a simple call to IDX Broker, I have been informed the Tag I am using will not work as written. I need the tag to pull the Listing ID out of IDX broker when placed in the sub header of IDX broker. And Help would be appreciated. Thanks
<!– 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 = {
listing_id: ‘REPLACE_WITH_VALUE’,
listing_pagetype: ‘REPLACE_WITH_VALUE’,
listing_totalvalue: ‘REPLACE_WITH_VALUE’,
};
</script>
<script type=”text/javascript”>
/* <![CDATA[ */
var google_conversion_id = 963674163;
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;”>
</div>
</noscript>(0 rating, 0 votes, rated)
You need to be a registered member to rate this post.Loading... -
This will get it from the DOM:
var targetDiv = document.getElementById(“IDX-detailsField-listingID”).getElementsByClassName(“IDX-fieldData”)[0];
This will work for your existing template but may not work if you switch templates depending on the HTML structure.
(0 rating, 0 votes, rated)
You need to be a registered member to rate this post.Loading...-
Nick, Id love some help with this. And am willing to pay to get it to all work. Please let me know if you would be willing to help. I just cant seem to get these Tags to work like they should. Thanks a ton. Steve-701-400-8287
(0 rating, 0 votes, rated)
You need to be a registered member to rate this post.Loading...
-
-
Ok so not to sound dumb, but where should that Java Scrip be placed, or how should it be inserted in the tag? I really do appreciate the help.
(0 rating, 0 votes, rated)
You need to be a registered member to rate this post.Loading...
-
-
AuthorPosts
- You must be logged in to reply to this topic.