{**
* plugins/generic/googleAnalytics/settingsForm.tpl
*
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* Google Analytics plugin settings
*
*}
<script>
$(function() {ldelim}
// Attach the form handler.
$('#gaSettingsForm').pkpHandler('$.pkp.controllers.form.AjaxFormHandler');
{rdelim});
</script>
<form class="pkp_form" id="gaSettingsForm" method="post" action="{url router=\PKP\core\PKPApplication::ROUTE_COMPONENT op="manage" category="generic" plugin=$pluginName verb="settings" save=true}">
{csrf}
{include file="controllers/notification/inPlaceNotification.tpl" notificationId="gaSettingsFormNotification"}
<div id="description">{translate key="plugins.generic.googleAnalytics.manager.settings.description"}</div>
{fbvFormArea id="webFeedSettingsFormArea"}
{fbvElement type="text" id="googleAnalyticsSiteId" value=$googleAnalyticsSiteId label="plugins.generic.googleAnalytics.manager.settings.googleAnalyticsSiteId"}
{/fbvFormArea}
{fbvFormButtons}
<p><span class="formRequired">{translate key="common.requiredField"}</span></p>
</form>
|