Don't fire conversion tracking for the sourcefabric_admin user
This commit is contained in:
parent
084c6dd662
commit
bc2acaea51
2 changed files with 12 additions and 1 deletions
|
@ -77,7 +77,9 @@ class Application_Common_GoogleAnalytics
|
|||
|
||||
$oldPlan = Application_Model_Preference::GetOldPlanLevel();
|
||||
|
||||
if ($user->isSuperAdmin() && $request->getControllerKey() !== "thank-you")
|
||||
if ($user->isSuperAdmin() &&
|
||||
!$user->isSourcefabricAdmin() &&
|
||||
$request->getControllerKey() !== "thank-you")
|
||||
{
|
||||
//Only tracking trial->paid conversions for now.
|
||||
if ($oldPlan == "trial")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue