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
Seddon (WMF) (talk | contribs)
attempting to add utm campaign fix
Line 19: Line 19:
//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' ) + '.' + getLandingPage() + '.' + '</html>{{{form-countryspecific}}}<html>' + '_' + '</html>{{{appeal}}}<html>' + '.' + paymentType;
document.paypalcontribution.utm_source.value = getQuerystring( 'utm_source' ) + '.' + getQuerystring( 'form-countryspecific' ) + '_' + getQuerystring( 'appeal' ) + '.' + paymentType;
document.paypalcontribution.utm_source.value = getQuerystring( 'utm_source' ) + '.' + getQuerystring( 'form-countryspecific' ) + '_' + getQuerystring( 'appeal' ) + '.' + paymentType;
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' ) + '_' + getQuerystring( 'country' );


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

Revision as of 00:06, 8 November 2011