fixed utm links
This commit is contained in:
parent
e6bb24bdca
commit
28385aee83
@ -91,7 +91,7 @@ abstract class Notification extends BaseNotification implements ShouldQueue
|
|||||||
|
|
||||||
public function getFooter()
|
public function getFooter()
|
||||||
{
|
{
|
||||||
$url = 'https://akaunting.com/lp/accounting-software?utm_source=email&utm_medium=software&utm_campaign=footer&utm_content=' . $this->template->alias;
|
$url = 'https://akaunting.com/lp/accounting-software?utm_source=email&utm_medium=footer&utm_campaign=plg&utm_content=' . $this->template->alias;
|
||||||
|
|
||||||
$get_started = '<a href="' . $url . '" style="color: #676ba2; text-decoration: none;">' . trans('footer.get_started') . '</a>';
|
$get_started = '<a href="' . $url . '" style="color: #676ba2; text-decoration: none;">' . trans('footer.get_started') . '</a>';
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ abstract class Widget
|
|||||||
'alias' => $alias,
|
'alias' => $alias,
|
||||||
'utm_source' => 'widget',
|
'utm_source' => 'widget',
|
||||||
'utm_medium' => 'app',
|
'utm_medium' => 'app',
|
||||||
'utm_campaign' => Str::snake(Str::camel($alias)),
|
'utm_campaign' => str_replace('-', '_', $alias),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,8 +62,8 @@ class ShowInNotifications
|
|||||||
$app_url = route('apps.app.show', [
|
$app_url = route('apps.app.show', [
|
||||||
'alias' => $new_app->alias,
|
'alias' => $new_app->alias,
|
||||||
'utm_source' => 'notification',
|
'utm_source' => 'notification',
|
||||||
'utm_medium' => 'software',
|
'utm_medium' => 'app',
|
||||||
'utm_campaign' => str_replace('-', '', $new_app->alias),
|
'utm_campaign' => str_replace('-', '_', $new_app->alias),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$new = new DatabaseNotification();
|
$new = new DatabaseNotification();
|
||||||
|
@ -15,10 +15,10 @@ trait Cloud
|
|||||||
return request()->getHost() == $this->cloud_host;
|
return request()->getHost() == $this->cloud_host;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCloudRolesPageUrl()
|
public function getCloudRolesPageUrl($location = 'user')
|
||||||
{
|
{
|
||||||
if (! $this->isCloud()) {
|
if (! $this->isCloud()) {
|
||||||
return 'https://akaunting.com/plans?utm_source=user_role&utm_medium=software&utm_campaign=plg';
|
return 'https://akaunting.com/apps/roles?utm_source=software&utm_medium=' . $location . '&utm_campaign=roles';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->moduleIsEnabled('roles')) {
|
if ($this->moduleIsEnabled('roles')) {
|
||||||
@ -26,20 +26,20 @@ trait Cloud
|
|||||||
}
|
}
|
||||||
|
|
||||||
return route('cloud.plans.index', [
|
return route('cloud.plans.index', [
|
||||||
'utm_source' => 'user',
|
'utm_source' => $location,
|
||||||
'utm_medium' => 'app',
|
'utm_medium' => 'app',
|
||||||
'utm_campaign' => 'roles',
|
'utm_campaign' => 'roles',
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCloudBankFeedsUrl()
|
public function getCloudBankFeedsUrl($location = 'widget')
|
||||||
{
|
{
|
||||||
if (! $this->isCloud()) {
|
if (! $this->isCloud()) {
|
||||||
return 'https://akaunting.com/features/connect-your-bank?utm_source=bank_feeds_widget&utm_medium=software&utm_campaign=plg';
|
return 'https://akaunting.com/apps/bank-feeds?utm_source=software&utm_medium=' . $location . '&utm_campaign=bank_feeds';
|
||||||
}
|
}
|
||||||
|
|
||||||
return route('cloud.plans.index', [
|
return route('cloud.plans.index', [
|
||||||
'utm_source' => 'widget',
|
'utm_source' => $location,
|
||||||
'utm_medium' => 'app',
|
'utm_medium' => 'app',
|
||||||
'utm_campaign' => 'bank_feeds',
|
'utm_campaign' => 'bank_feeds',
|
||||||
]);
|
]);
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
<div x-show="price_type == false" class="text-center text-sm mt-3 mb--2">
|
<div x-show="price_type == false" class="text-center text-sm mt-3 mb--2">
|
||||||
<span style="font-size: 12px;">
|
<span style="font-size: 12px;">
|
||||||
<span class="text-red">*</span> <a href="https://akaunting.com/features/why-akaunting-cloud?utm_source=app_show&utm_medium=software&utm_campaign={{ str_replace('-', '', $module->slug) }}" target="_blank">{!! trans('modules.information_monthly') !!}</a>
|
<span class="text-red">*</span> <a href="https://akaunting.com/features/why-akaunting-cloud?utm_source=software&utm_medium=app_show&utm_campaign={{ str_replace('-', '_', $module->slug) }}" target="_blank">{!! trans('modules.information_monthly') !!}</a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@else
|
@else
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="my-10">
|
<div class="my-10">
|
||||||
<a href="https://akaunting.com/lp/accounting-software?utm_source=invoice_payment&utm_medium=software&utm_campaign=plg" class="bg-purple text-white px-3 py-1.5 mb-3 sm:mb-0 rounded-xl text-sm font-medium leading-6 hover:bg-purple-700">
|
<a href="https://akaunting.com/lp/accounting-software?utm_source=software&utm_medium=invoice_payment&utm_campaign=plg" class="bg-purple text-white px-3 py-1.5 mb-3 sm:mb-0 rounded-xl text-sm font-medium leading-6 hover:bg-purple-700">
|
||||||
{{ trans('portal.get_started') }}
|
{{ trans('portal.get_started') }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -158,7 +158,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="my-10">
|
<div class="my-10">
|
||||||
<a href="https://akaunting.com/lp/accounting-software?utm_source=invoice_index&utm_medium=software&utm_campaign=plg" class="bg-purple text-white px-3 py-1.5 mb-3 sm:mb-0 rounded-xl text-sm font-medium leading-6 hover:bg-purple-700">
|
<a href="https://akaunting.com/lp/accounting-software?utm_source=software&utm_medium=invoice_index&utm_campaign=plg" class="bg-purple text-white px-3 py-1.5 mb-3 sm:mb-0 rounded-xl text-sm font-medium leading-6 hover:bg-purple-700">
|
||||||
{{ trans('portal.get_started') }}
|
{{ trans('portal.get_started') }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -66,7 +66,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="my-10">
|
<div class="my-10">
|
||||||
<a href="https://akaunting.com/lp/accounting-software?utm_source=payment_index&utm_medium=software&utm_campaign=plg" class="bg-purple text-white px-3 py-1.5 mb-3 sm:mb-0 rounded-xl text-sm font-medium leading-6 hover:bg-purple-700">
|
<a href="https://akaunting.com/lp/accounting-software?utm_source=software&utm_medium=payment_index&utm_campaign=plg" class="bg-purple text-white px-3 py-1.5 mb-3 sm:mb-0 rounded-xl text-sm font-medium leading-6 hover:bg-purple-700">
|
||||||
{{ trans('portal.get_started') }}
|
{{ trans('portal.get_started') }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user