AdWords
4.1K members online now
4.1K members online now
Use AdWords conversion tracking and reporting to measure your results. Have a question about Google Analytics? Post it here, on the Google Analytics Community!
Guide Me
star_border
Reply

how to fill in the custom parameter values to aspx ?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

how to fill in the custom parameter values to aspx ? can help

 

<script type="text/javascript">

var google_tag_params = {
flight_originid: 'REPLACE_WITH_VALUE',
flight_destid: 'REPLACE_WITH_VALUE',
flight_startdate: 'REPLACE_WITH_VALUE',
flight_enddate: 'REPLACE_WITH_VALUE',
flight_pagetype: 'REPLACE_WITH_VALUE',
flight_totalvalue: 'REPLACE_WITH_VALUE',
};
</script>
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = xxxx;
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/xxxx/?value=0&amp;guid=ON&amp;script=0"/>
</div>
</noscript>

1 Expert replyverified_user

Re: how to fill in the custom parameter values to aspx ?

Top Contributor
# 2
Top Contributor
Hi Phuong
Welcome to the community.

The language your website is built using is a personal and business choice. Unfortunately, we don't offer programming walk throughs here. You'll have to consult your webmaster on the best way to dynamically insert the required values into the snippet. You might also want to consult stackoverflow or w3schools.com for tips on how to parse variables. Here's a good example of something similar in .net http://stackoverflow.com/questions/5085132/inserting-google-adwords-conversion-tracking-with-javascr...

Hope that helps somewhat.