howdy!
i have a client that wants multiple conversion codes on a page, using the "Label | Paths:" form to set multiple labels with the same path.
i'll post a small patch that supports this feature.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | multiple_labels-1420060-1.patch | 3.45 KB | firebus |
Comments
Comment #1
firebus commentedpatch!
Comment #2
Preston McMurry commentedI applied this patch on top of the conversion value ( http://drupal.org/node/1219344#comment-5862220 ), color field ( http://drupal.org/node/1135348 ) and conversion code on non-node page patches ( http://drupal.org/node/1219306 ).
Note that this patch cannot be taken verbatim: You must wrap the foreach around the $output lines in google_adwords.module, rather than simply pasting over them (which would wipe out elements of the previous patches).
Having un-installed the module, applied this patch, re-enabled the module, then stepped through the config, I have arrived at the node edit page I wish to have multiple conversion labels. (The contact page, depending on the value passed to the comment textarea should have a different conversion.) However, I do not see any means in the node edit to enter those different values, like a bunch of extra conversion label text inputs.
If the task of entering multiple labels for a page is to be accomplished instead via the https://{my url}/admin/settings/google_adwords config page, it is not immediately obvious how to do so. (Plus, this patch did not modify the google_adwords.admin.inc to add anything to it.)
So ...
What is the technique for a single page having multiple conversion codes / multiple google_conversion_label values?
Comment #3
perignon commentedThis has been done for the 7.x version.
Comment #4
perignon commented