Created
November 3, 2017 07:42
-
-
Save njncalub/57a24c03002161889f8468a9bb78edb6 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/tibafaz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> | |
var google_tag_params = { | |
// parameters needed for remarketing | |
hrental_id: null, | |
hrental_pagetype: null, | |
hrental_startdate: null, | |
hrental_enddate: null, | |
hrental_totalvalue: null, | |
// additional parameters | |
vertical: null, // mandatory | |
locale: null, // optional | |
currency: null, // optional | |
feed_category: null, // optional | |
// parameters needed for AutoFeed construction | |
property_id: null, // mandatory; this must have the same value as hrental_id | |
property_name: null, // mandatory | |
final_url: null, // mandatory; URL of the page | |
image_url: null, // mandatory; URL of the image | |
destination_name: null, | |
description: null, | |
price: null, | |
sale_price: null, | |
formatted_price: null, | |
formatted_sale_price: null, | |
star_rating: null, | |
category: null, | |
contextual_keywords: null, | |
address: null, | |
tracking_template: null, | |
custom_parameter: null, | |
final_mobile_url: null // if mobile site is on a separate domain | |
}; | |
function displayData (data) { for (var key in data) { console.log(key + ":"); console.log(data[key]); console.log(" "); }} | |
displayData(google_tag_params); | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">var google_tag_params = { | |
// parameters needed for remarketing | |
hrental_id: null, | |
hrental_pagetype: null, | |
hrental_startdate: null, | |
hrental_enddate: null, | |
hrental_totalvalue: null, | |
// additional parameters | |
vertical: null, // mandatory | |
locale: null, // optional | |
currency: null, // optional | |
feed_category: null, // optional | |
// parameters needed for AutoFeed construction | |
property_id: null, // mandatory; this must have the same value as hrental_id | |
property_name: null, // mandatory | |
final_url: null, // mandatory; URL of the page | |
image_url: null, // mandatory; URL of the image | |
destination_name: null, | |
description: null, | |
price: null, | |
sale_price: null, | |
formatted_price: null, | |
formatted_sale_price: null, | |
star_rating: null, | |
category: null, | |
contextual_keywords: null, | |
address: null, | |
tracking_template: null, | |
custom_parameter: null, | |
final_mobile_url: null // if mobile site is on a separate domain | |
}; | |
function displayData (data) { for (var key in data) { console.log(key + ":"); console.log(data[key]); console.log(" "); }} | |
displayData(google_tag_params);</script></body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var google_tag_params = { | |
// parameters needed for remarketing | |
hrental_id: null, | |
hrental_pagetype: null, | |
hrental_startdate: null, | |
hrental_enddate: null, | |
hrental_totalvalue: null, | |
// additional parameters | |
vertical: null, // mandatory | |
locale: null, // optional | |
currency: null, // optional | |
feed_category: null, // optional | |
// parameters needed for AutoFeed construction | |
property_id: null, // mandatory; this must have the same value as hrental_id | |
property_name: null, // mandatory | |
final_url: null, // mandatory; URL of the page | |
image_url: null, // mandatory; URL of the image | |
destination_name: null, | |
description: null, | |
price: null, | |
sale_price: null, | |
formatted_price: null, | |
formatted_sale_price: null, | |
star_rating: null, | |
category: null, | |
contextual_keywords: null, | |
address: null, | |
tracking_template: null, | |
custom_parameter: null, | |
final_mobile_url: null // if mobile site is on a separate domain | |
}; | |
function displayData (data) { for (var key in data) { console.log(key + ":"); console.log(data[key]); console.log(" "); }} | |
displayData(google_tag_params); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment