Hi, Would it be possible to have the ability to set the [site_name] to be used when generating a GA Login?
My actual site name is rather larger, therefore I'd like to use a shorter name. (such as my domain name)
I realize this would break any old codes already setup. This is a for a new setup, therefore it's not an issue.
Even having the ability to set this is in the settings.php file like the ga_login_textid would work for me!

Thanks

Files: 

Comments

see #1649128-2: add custom account name text-tag to differentiate GA accounts across staging sites, but there's no UI for it.

You can use drush vset ga_login_textid 'MyTeXtId' or change your settings.php file

<?php
$conf
['ga_login_textid'] = 'MyTeXtId';
?>

Version:7.x-1.3» 7.x-1.x-dev
Status:Active» Needs review
StatusFileSize
new1014 bytes

A patch to add a separate variable for the site name which defaults to the current site_name (for backwards-compatibility).

This is useful if you've got a long site name (that can't be changed, as it is used elsewhere) which makes GA Login usernames unwieldy. For example, your site name is University of Ontario Institute of Technology, which can be nicely represented as devin@uoit instead of devin@University of Ontario Institute of Technology.

Using something other than the site name can also be helpful if you're using the Variable module which allows the site name to be translated. It prevents users who are using different languages from having different logins.

@Devin Carlson #2 looks good, but it would be better if we had an admin form to handle those two variables, can you build one?

Status:Needs review» Fixed

Admin UI added as well

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.