Active
Project:
Account reminder
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
17 Oct 2011 at 09:48 UTC
Updated:
12 Apr 2012 at 19:26 UTC
I'd like to track users that clicks the "returning link" using google analytics.
I thought it should be enough to add the campaign' string ?utm_source=account_remainder&utm_medium=email&utm_campaign=account_remainder to the !login_url variable in the email body. Is this correct? Will it be rendered in a right way? I'm not sure how to test this.
Thanks.
Comments
Comment #1
jaydub commentedI'm not sure that will work for the Drupal 6 version. Right now I am getting the Drupal 7 version ready and your suggested method works fine there since the patterns in the email have changed in Drupal7 from the form !login_url to the form [user:site-login] which is a result of token support getting into Drupal core.
Let me get back to this after the drupal 7 work is done.
Comment #2
jaydub commentedComment #3
jaydub commentedI verified that adding the query string to the d7 version of the token replacement pattern (in this case [user:site-login]) works as intended. Setting issue back to drupal 6 to test there later.