Closed basz closed 12 years ago
Can you add unit tests for the output? I want to make sure that if you set the domain name or allow linker, it output is correctly set. As an example, you can look how the output of an event is tested.
Also, it looks to me if you set a domain name, you want to set the linker. If you unset the domain name, you want to unset the linker again. Is that correct? If so, you might want to remove the allowLinder setters and just render the line "_gaq.push(['_setAllowLinker'], true);\n"
inside your $tracker->getDomainName()
check.
enables support for _setDomainName and _setAllowLinker properties