Quote Originally Posted by cotsweb View Post
Hi Eric,
The following sort of works;

I can use CustomVar 1 in an advance segment but it shows the values as 'shopLevel' rather than 'Production' which is what I hoped for, still it is usable.

But to save time I have decided just to create an advanced segment on Host Name which gives me a similar result but without messing with custom variables. Nice of you to include it in the module though, I may need it in the future.

Regards
Mark
Ok. I thought it might be in the way the code was used (possibly missing one item.) Glad that worked. However, I am going to send you a file (PM me with your email) that I want you to try on your site. This is the revised file with the code moved to a different location so it might work with your original lines (not needing the second push command.)