Template:2011FR/Form-section-processing: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Cbarr (talk | contribs)
No edit summary
Line 37: Line 37:
document.paypalcontribution.action = action_url;
document.paypalcontribution.action = action_url;


//document.paypalcontribution.utm_source.value = getQuerystring( 'utm_source' ) + '.' + getLandingPage() + '.' + paymentType;
document.paypalcontribution.utm_source.value = getQuerystring( 'utm_source' ) + '.'
+ getQuerystring( 'template' ) + '~'
document.paypalcontribution.utm_source.value = getQuerystring( 'utm_source' ) + '.' + getQuerystring( 'form-countryspecific' ) + '_' + getQuerystring( 'appeal' ) + '.' + paymentType;
+ getQuerystring( 'appeal-template' ) + '~'
//document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' ) + '_' + getQuerystring( 'country' );
+ getQuerystring( 'appeal' ) + '~'
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' ) + '_</html>{{2011FR/core-country-region|{{{country}}}}}<html>';
+ getQuerystring( 'form-template' ) + '~'
+ getQuerystring( 'form-countryspecific' ) + '.'
+ paymentType;

document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' ) + '_' + getQuerystring( 'country' );


if (validateForm(document.paypalcontribution)) {
if (validateForm(document.paypalcontribution)) {
Line 76: Line 81:
document.paypalcontribution.action = action_url;
document.paypalcontribution.action = action_url;


//document.paypalcontribution.utm_source.value = getQuerystring( 'utm_source' ) + '.' + getLandingPage() + '.' + '</html>{{{form-countryspecific}}}<html>' + '_' + '</html>{{{appeal}}}<html>' + '.' + paymentType;
document.paypalcontribution.utm_source.value = getQuerystring( 'utm_source' ) + '.'
+ getQuerystring( 'template' ) + '~'
document.paypalcontribution.utm_source.value = getQuerystring( 'utm_source' ) + '.' + getQuerystring( 'form-countryspecific' ) + '_' + getQuerystring( 'appeal' ) + '.' + paymentType;
+ getQuerystring( 'appeal-template' ) + '~'
//document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' ) + '_' + getQuerystring( 'country' );
+ getQuerystring( 'appeal' ) + '~'
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' ) + '_</html>{{2011FR/core-country-region|{{{country}}}}}<html>';
+ getQuerystring( 'form-template' ) + '~'
+ getQuerystring( 'form-countryspecific' ) + '.'
+ paymentType;

document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' ) + '_' + getQuerystring( 'country' );


if (validateForm(document.paypalcontribution)) {
if (validateForm(document.paypalcontribution)) {

Revision as of 20:59, 10 November 2011